[asterisk-dev] Collecting and reporting bridged dialling information

Nic Colledge nic at njcolledge.net
Tue Nov 10 08:59:11 CST 2009


Hi,

Have you looked into the CEL (Call Event Logging) stuff which is (I think) in trunk.
It gives a more accurate record of what happened during a call so you can better handle transfers and such like in your billing logic. It may already do what you want.

Regards,
Nic.

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Pavel Troller
Sent: 10 November 2009 10:15
To: asterisk-dev at lists.digium.com
Subject: [asterisk-dev] Collecting and reporting bridged dialling information

Hi!
  In my typical asterisk usage model, there is a lot of cases, where an
overlap dialling takes place. Such a typical scenario involves bridging
a call to a channel (for example, DAHDI/PRI or similar) as soon as its
access code is dialled (in overlap mode) by the calling subscriber. In
this case, further dialling events are bridged by the asterisk core from
the calling channel to the called one, obviously in AST_FRAME_DTMF frames.
  The calls can be perfectly set up this way, however, the dialling info
transmitted over the bridge is not stored at any place, especially in the
CDR. There is also, AFAIK, not possible to retrieve this information in
the dialplan (for example, by setting a variable by the Dial() command
with the "g" (proceed in the dialplan) flag), which could be retrieved and
stored in the custom CDR record. Please note, that this functionality is
a "must" for any "classic" PBX.
  I would like to attempt to write a patch, implementing this functionality.
Because I'm still not an "established" Asterisk developer yet, I'm kindly
asking the more experienced ones to give me some hints, where to start. I've
studied the sources and I've got an approximate knowledge about the path of
the frames over the core, but I'm still not decided, in which exact place
it would be best to insert the new code.
  With regards,
    Pavel Troller

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list