Re: [asterisk-users] Setting CDR variables for all linked channels
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 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 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 > -- _ -- 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
Re: [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 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
[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! -- _ -- 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