[asterisk-users] outbound call leg CALLID

Borin katerin.borin at gmail.com
Tue Feb 15 08:15:57 CST 2011


Hello everyone
Is there a possibility to catch an outbound callleg ID for the follovong
scenario: some carrier -----> ------(asterisk1) --->-----asterisk2 ?
I can get inbound callid for asterisk1 with a ${SIPCALLID} in
extensions.conf or to look it up in cdrs field (are the same). But how about
outbound? I have all calls just forwarded through asterisk1, not answered
and for every call I have 1 cdr record with only inbound call leg callid.
I can see all the call legs with  rasterisk -x "sip show channels", but I
would like to get the data in cdrs as well. Does anyone have any idea? I
have asterisk 1.6.2 and I don't want to fork cdrs, just another field for
the came call.

Regards, Kate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110215/69e17655/attachment.htm>


More information about the asterisk-users mailing list