[asterisk-commits] mattf: branch mattf/asterisk-ss7 r42738 - in /team/mattf/asterisk-ss7: channe...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Sep 11 10:38:09 MST 2006


Author: mattf
Date: Mon Sep 11 12:38:08 2006
New Revision: 42738

URL: http://svn.digium.com/view/asterisk?rev=42738&view=rev
Log:
Adding more options for the network indicators

Modified:
    team/mattf/asterisk-ss7/channels/chan_zap.c
    team/mattf/asterisk-ss7/configs/zapata.conf.sample

Modified: team/mattf/asterisk-ss7/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/mattf/asterisk-ss7/channels/chan_zap.c?rev=42738&r1=42737&r2=42738&view=diff
==============================================================================
--- team/mattf/asterisk-ss7/channels/chan_zap.c (original)
+++ team/mattf/asterisk-ss7/channels/chan_zap.c Mon Sep 11 12:38:08 2006
@@ -11884,8 +11884,12 @@
 			} else if (!strcasecmp(v->name, "networkindicator")) {
 				if (!strcasecmp(v->value, "national"))
 					cur_networkindicator = SS7_NI_NAT;
+				else if (!strcasecmp(v->value, "national_spare"))
+					cur_networkindicator = SS7_NI_NAT_SPARE;
 				else if (!strcasecmp(v->value, "international"))
 					cur_networkindicator = SS7_NI_INT;
+				else if (!strcasecmp(v->value, "international_spare"))
+					cur_networkindicator = SS7_NI_INT_SPARE;
 				else
 					cur_networkindicator = -1;
 			} else if (!strcasecmp(v->name, "sigchan")) {

Modified: team/mattf/asterisk-ss7/configs/zapata.conf.sample
URL: http://svn.digium.com/view/asterisk/team/mattf/asterisk-ss7/configs/zapata.conf.sample?rev=42738&r1=42737&r2=42738&view=diff
==============================================================================
--- team/mattf/asterisk-ss7/configs/zapata.conf.sample (original)
+++ team/mattf/asterisk-ss7/configs/zapata.conf.sample Mon Sep 11 12:38:08 2006
@@ -677,7 +677,8 @@
 ; Begin CIC (Circuit indication codes) count with this number
 cicbeginswith = 1
 
-; What the MTP3 network indicator bits should be set to
+; What the MTP3 network indicator bits should be set to.  Choices are
+; national, national_spare, international, international_spare
 networkindicator=international
 
 ; First signaling channel



More information about the asterisk-commits mailing list