[asterisk-users] Setting CDR variables for all linked channels

Igor Katson igor.katson at gmail.com
Wed Jan 8 21:29:32 CST 2014


Thanks, Tiago! By the way that's exactly the workaround I came to myself.


On Wed, Jan 8, 2014 at 2:35 PM, Tiago Geada <tiago.geada at gmail.com> wrote:

> 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
>>
>
>
> --
> _____________________________________________________________________
> -- 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/27677ce6/attachment.html>


More information about the asterisk-users mailing list