Igor Katson
2013-Dec-31 00:00 UTC
[asterisk-users] Setting CDR variables for all linked channels
Hi, when one does "Set(CDR(var)=value)" in dialplan, the value is only set for one record in the cdr table, but not the linked ones (the ones with the same linkedid). E.g. if you do something like same => n, Set(CDR(var)=value) same => n,Dial(Local/something&Local/something2) like only the original CDR record with have "var" set to "value", but the ones created from "Dial" won't. Is it possible to set the CDR variables in all the linked channels? P.S. And is it possible to find out by the CDR logs, if the originating call is in progress? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131230/71f4a976/attachment.html>
Tiago Geada
2014-Jan-08 22:35 UTC
[asterisk-users] Setting CDR variables for all linked channels
not sure about dial, but I Set(__var=value); and in each piece of dialplan I set CDR(var=value); On 31 December 2013 00:00, Igor Katson <igor.katson at gmail.com> wrote:> Hi, > > when one does "Set(CDR(var)=value)" in dialplan, the value is only set for > one record in the cdr table, but not the linked ones (the ones with the > same linkedid). > E.g. if you do something like > same => n, Set(CDR(var)=value) > same => n,Dial(Local/something&Local/something2) > > like only the original CDR record with have "var" set to "value", but the > ones created from "Dial" won't. > > Is it possible to set the CDR variables in all the linked channels? > > P.S. And is it possible to find out by the CDR logs, if the originating > call is in progress? > > Thanks! > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140108/70e76882/attachment.html>