[libss7-commits] mattf: branch mattf/bug13495 r238 - /team/mattf/bug13495/isup.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Mon Dec 8 14:40:31 CST 2008


Author: mattf
Date: Mon Dec  8 14:40:30 2008
New Revision: 238

URL: http://svn.digium.com/view/libss7?view=rev&rev=238
Log:
Make sure we send GRS twice on ANSI links. Why, oh why, oh why?

Modified:
    team/mattf/bug13495/isup.c

Modified: team/mattf/bug13495/isup.c
URL: http://svn.digium.com/view/libss7/team/mattf/bug13495/isup.c?view=diff&rev=238&r1=237&r2=238
==============================================================================
--- team/mattf/bug13495/isup.c (original)
+++ team/mattf/bug13495/isup.c Mon Dec  8 14:40:30 2008
@@ -4005,6 +4005,12 @@
 
 	res = isup_send_message(ss7, c, ISUP_GRS, greset_params);
 
+	if (ss7->switchtype == SS7_ANSI) {
+		/* ANSI require that we send it twice.  Don't think I understand completely why.
+		 * T1.113 in 2.9.3.2 */
+		res = isup_send_message(ss7, c, ISUP_GRS, greset_params);
+	}
+
 	if (res > -1) {
 		c->got_sent_msg |= ISUP_SENT_GRS;
 		c->sent_grs_endcic = endcic;




More information about the libss7-commits mailing list