[Freeswitch-svn] [commit] r4183 - freeswitch/trunk/src/mod/endpoints/mod_wanpipe

Freeswitch SVN anthm at freeswitch.org
Fri Feb 9 16:32:13 EST 2007


Author: anthm
Date: Fri Feb  9 16:32:12 2007
New Revision: 4183

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

Log:
add option to wanpipe

Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c	Fri Feb  9 16:32:12 2007
@@ -245,6 +245,8 @@
 
 static int str2switch(char *swtype)
 {
+	if (!strcasecmp(swtype, "ni1"))
+		return PRI_SWITCH_NI1;
 	if (!strcasecmp(swtype, "ni2"))
 		return PRI_SWITCH_NI2;
 	if (!strcasecmp(swtype, "dms100"))



More information about the Freeswitch-svn mailing list