Brian Capouch wrote:
> Olle E. Johansson wrote:
> 
>>
>> Try setting _ALERT_INFO
>>
> 
The reason for this is that if you set *any* variable with one
underscore prefixing the name, that variable will be copied to the new
channel created by dial() - without the underscore. If you create a
variable called ALERT_INFO in the current channel, where the dial plan
is executed, it will not be reachable from the new channel.

This is the function used by the function that adds new SIP headers.
Basically, chan_sip creates a variable called _SIPADDHEADER01 in the
current channel and reads that later on in the new channel.

Regards,
/Olle

---
Astricon - where you will learn more about channel variables!
...and much more
http://www.astricon.net/2005/ - October 12-14, Anaheim, CA
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to