From a36186ce490a165ccf1d4b45bf996d2213cc8e5c Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Fri, 5 Dec 2003 23:10:33 +0000 Subject: [PATCH] Don't reject SETUP without missing channel information IE if we're network. git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@69 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/q931.c b/q931.c index 3ae1c18..3df8baf 100755 --- a/q931.c +++ b/q931.c @@ -2091,6 +2091,15 @@ int q931_receive(struct pri *pri, q931_h *h, int len) missingmand++; } } + /* check if there is no channel identyfication when we're configured as network -> that's not an error */ + if (missingmand && pri->localtype == PRI_NETWORK && mh->msg == Q931_SETUP) { + for (x=0;xmsg) {