[Asterisk-Users] VoiceMailMain(s<exten>@<context>) doesn't

Peter Svensson psvasterisk at psv.nu
Fri Nov 5 13:20:27 MST 2004


On Fri, 5 Nov 2004, Matthew Marlowe wrote:

> This seem to be fixed in CVS 11/05 - Altho ALERT_INFO is still broken
> in CVS 11/05

Isn't this an effect of the new automatic variable inheritance? Since 
ALERT_INFO is used in the called channel you would have to set _ALERT_INFO 
instead of ALERT_INFO?

As Michalis Manousos wrote in an email to asterisk-dev earlier today:

>The new dial app does not copy to the new channel created by it just 
>some special variables (like the ALERT_INFO). It copies channel
>variables based on their name. If the first character of the variable's
>name is '_' then the variable is copied to the channel and the initial
>underscore is removed (so, a second dial won't pass the variable). If
>the variable's name start with '__' (two underscores) then the variable
>is copied to the new channel without removing the underscores (so,
>additional dial()s will always copy this variable. If the variable's name
>doesn't start with underscore, the variable is not copied.
>
>For your case, set an _ALERT_INFO variable and it will work.


Peter





More information about the asterisk-users mailing list