[svn-commits] rmudgett: mISDN/trunk r129 - /mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 14 10:26:55 CDT 2009


Author: rmudgett
Date: Fri Aug 14 10:26:51 2009
New Revision: 129

URL: http://svn.asterisk.org/svn-view/thirdparty?view=rev&rev=129
Log:
mISDN/mISDNuser must allow called party number and subaddress ies in FACILITY messages.

Several supplementary service FACILITY messages need the called party
number and called party subaddress ies to be present (e.g., AOC and
StatusRequest).  Some network switches choke when these messages get a
STATUS message as a response.

JIRA ABE-1941

Modified:
    mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c

Modified: mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c
URL: http://svn.asterisk.org/svn-view/thirdparty/mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c?view=diff&rev=129&r1=128&r2=129
==============================================================================
--- mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c (original)
+++ mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c Fri Aug 14 10:26:51 2009
@@ -463,7 +463,8 @@
 static int ie_RESTART[] = {IE_CHANNEL_ID, IE_DISPLAY, IE_RESTART_IND |
 	IE_MANDATORY, -1};
 #endif	/* NOT_USED */
-static int ie_FACILITY[] = {IE_FACILITY | IE_MANDATORY, IE_DISPLAY, -1};
+static int ie_FACILITY[] = {IE_FACILITY | IE_MANDATORY, IE_DISPLAY, IE_CALLED_PN,
+	IE_CALLED_SUB, -1};
 static int ie_REGISTER[] = {IE_FACILITY, IE_DISPLAY, -1};
 
 static int l3_valid_states[] = {0,1,2,3,4,6,7,8,9,10,11,12,15,17,19,25,31,-1};
@@ -567,7 +568,7 @@
 					printk(KERN_NOTICE "ie_in_set returned <0  [%d] ie:[%x]\n",newpos,ie);
 				}
 			} else {
-				if (debug) printk(KERN_NOTICE "Found ie in set which we do not support ie [%x]\n",ie);
+				if (debug) printk(KERN_NOTICE "Found ie not in set of supported ies [%x]\n",ie);
 				if (ie_in_set(pc, ie, comp_required))
 					err_compr++;
 				else




More information about the svn-commits mailing list