[asterisk-commits] branch mattf/asterisk-ss7 r37806 - /team/mattf/asterisk-ss7/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jul 17 12:44:17 MST 2006


Author: mattf
Date: Mon Jul 17 14:44:16 2006
New Revision: 37806

URL: http://svn.digium.com/view/asterisk?rev=37806&view=rev
Log:
Updates to make sure that it's safe to build w/o libss7

Modified:
    team/mattf/asterisk-ss7/channels/chan_zap.c

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=37806&r1=37805&r2=37806&view=diff
==============================================================================
--- team/mattf/asterisk-ss7/channels/chan_zap.c (original)
+++ team/mattf/asterisk-ss7/channels/chan_zap.c Mon Jul 17 14:44:16 2006
@@ -11289,6 +11289,7 @@
 				facilityenable = ast_true(v->value);
 #endif /* PRI_GETSET_TIMERS */
 #endif /* HAVE_PRI */
+#ifdef HAVE_SS7
 			} else if (!strcasecmp(v->name, "ss7type")) {
 				if (!strcasecmp(v->value, "itu")) {
 					cur_ss7type = SS7_ITU;
@@ -11315,6 +11316,7 @@
 				res = linkset_addsigchan(sigchan);
 				if (res < 0)
 					return -1;
+#endif /* HAVE_SS7 */
 			} else if (!strcasecmp(v->name, "cadence")) {
 				/* setup to scan our argument */
 				int element_count, c[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};



More information about the asterisk-commits mailing list