VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
igor.katson at gmail.com Guest
|
Posted: Mon Dec 30, 2013 7:01 pm Post subject: [asterisk-users] Setting CDR variables for all linked channe |
|
|
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! |
|
Back to top |
|
|
tiago.geada at gmail.com Guest
|
Posted: Wed Jan 08, 2014 5:35 pm Post subject: [asterisk-users] Setting CDR variables for all linked channe |
|
|
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@gmail.com (igor.katson@gmail.com)> wrote:
Quote: | 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
|
|
|
Back to top |
|
|
igor.katson at gmail.com Guest
|
Posted: Wed Jan 08, 2014 10:29 pm Post subject: [asterisk-users] Setting CDR variables for all linked channe |
|
|
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@gmail.com (tiago.geada@gmail.com)> wrote:
Quote: | 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@gmail.com (igor.katson@gmail.com)> wrote:
Quote: | 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
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|