[asterisk-users] How to exchange/get $variables from/to each channel on cmd Dial

Olle E. Johansson oej at edvina.net
Sat Dec 26 03:18:44 CST 2009


23 dec 2009 kl. 16.00 skrev didier.cuffaut:

> I apologize for my poor English.....
> So, i don't really understand 'how to' realize thus....
>  
> When you use the cmd Dial and want to get $ from caller channel to callee (or callee channel from caller), which way is the right way ?
>  
If you prefix a variable with an underscore, it will be copied to the outbound channel without the underscore.
If you prefix with two underscores, it will be copied to the outbound channel with two underscores, thus will be inherited once again if that channel opens another (which happens if you're using chan_local).

Regards,
/olle


---
oej at edvina.net - http://edvina.net 
Open Unified Communication - building platforms with SIP and XMPP
From PBX to large scale implementations for carriers. Contact us today!






More information about the asterisk-users mailing list