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 <[email protected]> wrote:

>
>
>
> On Fri, Jun 27, 2014 at 1:30 PM, Tiago Geada <[email protected]>
> 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
>
-- 
_____________________________________________________________________
-- 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

Reply via email to