As far as I know, only way to set variables on another channel would be:
asterisk -rx "core show help dialplan set chanvar"
Usage: dialplan set chanvar <channel> <varname> <value>
Set channel variable <varname> to <value>
On 10 June 2014 16:39, Tiago Geada <[email protected]> wrote:
> Hi
>
>
> We have the following test .call file and test dialplan:
>
> I can't set a custom CDR var to a value on one channel leg, and another
> value on the connected channel leg?
>
>
> Is there a way I can woraround this issue?
>
>
>
> ## test call file
>
> Channel: Local/queue@TiagoGeada
> CallerID: teste-geada:0:210332450:
> MaxRetries: 0
> RetryTime: 1
> WaitTime: 8640
> Account: teste-geada
> Context: TiagoGeada
> Extension: outbound
> Archive: Yes
>
>
>
>
> ## dialplan
>
> queue => {
> Set(CDR(remoteUid)=foo);
> Queue(TiagoGeada,t,,,100);
> Hangup();
> }
>
> outbound => {
> //NoCDR();
> //ForkCDR(vdD);
> //ResetCDR(v);
> Set(CDR(remoteUid,r)=bar);
> Dial(Local/932485457@outbound,,gT);
> Hangup();
> }
>
> --
> _____________________________________________________________________
> -- 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