[Asterisk-Users] CDR data parsing

Steve Davies davies147 at gmail.com
Thu Oct 6 05:56:21 MST 2005


Hi,

I am currently writing a script to parse CDR data stored to a
database. The majority of cases are covered, but there is one notable
exception.

If a call is made using:
  exten=> 123,1,Dial(SIP/100&SIP/101&Zap/g1/0123456&Zap/g1/0654321)
then the CDR will record the fact that the dialled number was 123, and
it will record that the "dstchannel" was one of:
  SIP/100-xxxx
  SIP/101-xxxx
  Zap/x-1
based on who actually answers the call.

In the first 2 cases, it is possible to tell which SIP phone answered
the call. If the 3rd case is reported, is it possible to discover
which Zap destination answered the call?

Many thanks for any pointers.

Regards,
Steve



More information about the asterisk-users mailing list