[asterisk-users] AppDial in CEL Data

Nic Colledge nic at njcolledge.net
Thu Jul 1 08:02:45 CDT 2010


Hi,

I am using CEL to more accurate billing information with some success. However there is an ambiguity in the CEL data when multiple destinations are specified in the DIAL command.

For example, if I have Dial(SIP/outboundA/100&SIP/outboundA/101&SIP/outboundB/200&SIP/outboundB/201) this is reflected in the dial command data that shows up in CEL.

The problem is in some situations it is difficult to tell which one of these destinations answered the call because the CEL_Answer event does not store the destination number anywhere. It would be nice if the appdata of the CEL_Answer  event were the part of the dial command which was used to create that channel so say "SIP/outboundA/101" rather than "(Outgoing Line)".

I am currently assuming the order in which the channels were created corresponds to the order in which the destinations appear in the dial command to find the answered destination. This works fine most of the time, it only fails when one of more of the outgoing channels could not be created.

Would it be possible to change this?

Thanks,
Nic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100701/299e3028/attachment.htm 


More information about the asterisk-users mailing list