]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add option to wanpipe
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 9 Feb 2007 21:32:12 +0000 (21:32 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 9 Feb 2007 21:32:12 +0000 (21:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4183 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

index 493b1c8b20b6caf1e849af443b4e58706ff6100c..0dd353b0cab5b852211e1d428a2042c948fd6da1 100644 (file)
@@ -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"))