9 Feb
2007
9 Feb
'07
9:32 p.m.
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"))