From: Anthony Minessale Date: Fri, 9 Feb 2007 21:32:12 +0000 (+0000) Subject: add option to wanpipe X-Git-Tag: v1.0-beta1~1184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a1cbdf81d7274da6e22fdeb027d4ed053f81b27;p=thirdparty%2Ffreeswitch.git add option to wanpipe git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4183 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index 493b1c8b20..0dd353b0ca 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -245,6 +245,8 @@ static int str2node(char *node) 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"))