[asterisk-commits] mattf: branch mattf/bug13495 r235655 - /team/mattf/bug13495/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 18 16:40:02 CST 2009


Author: mattf
Date: Fri Dec 18 16:40:00 2009
New Revision: 235655

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=235655
Log:
Make BRI work for my test setup

Modified:
    team/mattf/bug13495/channels/chan_dahdi.c

Modified: team/mattf/bug13495/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/mattf/bug13495/channels/chan_dahdi.c?view=diff&rev=235655&r1=235654&r2=235655
==============================================================================
--- team/mattf/bug13495/channels/chan_dahdi.c (original)
+++ team/mattf/bug13495/channels/chan_dahdi.c Fri Dec 18 16:40:00 2009
@@ -10972,6 +10972,7 @@
 						ast_verbose("Loop turned off on CIC: %d PC: %d\n",  (e->cot.cic - 1), e->cot.opc);
 					}
 				}
+#endif
 
 				chanpos = ss7_find_cic(linkset, e->cot.cic, e->cot.opc);
 				if (chanpos < 0) { /* Never will be true */
@@ -16308,6 +16309,8 @@
 					confp->pri.nodetype = PRI_CPE;
 				} else if (!strcasecmp(v->value, "bri_net_ptmp")) {
 					ast_log(LOG_WARNING, "How cool would it be if someone implemented this mode!  For now, sucks for you. (line %d)\n", v->lineno);
+					confp->chan.sig = SIG_BRI_PTMP;
+					confp->pri.nodetype = PRI_NETWORK;
 				} else if (!strcasecmp(v->value, "gr303fxoks_net")) {
 					confp->chan.sig = SIG_GR303FXOKS;
 					confp->pri.nodetype = PRI_NETWORK;




More information about the asterisk-commits mailing list