[asterisk-users] CDR custom variable on second call leg - via originate or .call file
Tiago Geada
tiago.geada at gmail.com
Sun Jul 6 13:13:09 CDT 2014
Hi Richard.
I looked at both pages, yes.
My goal is to have a flag on the cdr database records when the call is not
yet connected to the second leg.
So, the "Channel" argument takes a call to a portion of dialplan that will
try several steps. And at those steps the custom variable will be set to
'foo'
When answered, the "Context" and "Extension" argument take the call trough
another piece of dialplan that will have that its CDR entries with the
custom variable set to 'bar'
Just like on the example stated!
However, only 'foo' gets written!
On 27 June 2014 21:16, Richard Mudgett <rmudgett at digium.com> wrote:
>
>
>
> On Fri, Jun 27, 2014 at 1:30 PM, Tiago Geada <tiago.geada at gmail.com>
> wrote:
>
>> Is there something I can do regarding this issue?
>>
>
> Have you looked at these wiki pages?
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files
> The setvar parameter may help here.
>
> https://wiki.asterisk.org/wiki/display/AST/Variable+Inheritance
>
> Richard
>
>
> --
> _____________________________________________________________________
> -- 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/20140706/113ab187/attachment.html>
More information about the asterisk-users
mailing list