Posted: Thu May 07, 2009 12:03 pm Post subject: [asterisk-dev] [patch] NT over PtMP for BRI with vzaphfc, za
--- chan_dahdi.c (revision 192353)
+++ chan_dahdi.c (working copy)
@@ -16403,7 +16403,9 @@
confp->chan.sig = SIG_BRI_PTMP;
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);
+ ast_log(LOG_WARNING, "bri_net_ptmp!!! Let's see what happen... (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;
Ok, this is a naive test i made, but very very limited a bit is allready working. You can call from one connected ISDN device (i used a ISDN/analog adapter DeTeWe TA33)
into chan_dadhi. That's all, nothing more. You can't call from chan_dadi to the ISDN device or connect multiple isdn devices.
Also chan_dadi jumps directly to the s-Extension when you lift up the phone. And dont give you dial tone or wait for digits. But i was pleasantly surprised that NT-ptmp
is working anyway.
My first goal i want to achieve, is to make calls from chan_dahdi to the isdn device. The feature to connect multiple isdn devices i less important at the first stage,
because in real world setups you mostly need the NT over PtMP only to connect one device, like a ISDN/analog adapter to link one or two analog fax machines, or to link an existing small
PBX that has door opener features or so. The case that users really need to link multiple isdn device to one isdn port is rare.
Let's start to work on this, to finally ditch bristuff and chan_misdn
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum