[asterisk-users] Setting CDR variables for all linked channels
Tiago Geada
tiago.geada at gmail.com
Wed Jan 8 16:35:25 CST 2014
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>
More information about the asterisk-users
mailing list