[asterisk-dev] [patch] NT over PtMP for BRI with vzaphfc, zaphfc or wcb4xxp

Kristijan Vrban vrban.lkml at googlemail.com
Thu May 7 07:49:29 CDT 2009


--- 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

For that i opened: http://bugs.digium.com/view.php?id=15048

Kristijan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090507/3d940955/attachment.htm 


More information about the asterisk-dev mailing list