[asterisk-users] CDR custom variable on second call leg - via originate or .call file

Tiago Geada tiago.geada at gmail.com
Tue Jun 10 09:39:24 CDT 2014


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 at 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 at outbound,,gT);
                Hangup();
        }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140610/363428c5/attachment.html>


More information about the asterisk-users mailing list