Darrick Hartman (lists) wrote:
> Philip Prindeville wrote:
>   
>> I'm trying to do something like:
>>
>> [macro-stdexten];
>> exten => s,1,Dial(${ARG2},20)
>> exten => s,2,Goto(s-${DIALSTATUS},1)
>>
>> exten => s-NOANSWER,1,Voicemail(u${ARG1}$["${ARG3}" != ""[EMAIL PROTECTED])
>> ...
>>
>>
>> but I'm seeing messages like:
>>
>> Feb 10 19:13:52 pbx local0.warn asterisk[19311]: WARNING[19311]: 
>> app_voicemail.c:2461 in leave_voicemail: No entry in voicemail config file 
>> for '1121?' 
>>
>>
>> If I change it to:
>>
>> exten => s-NOANSWER,1,Voicemail(u${ARG1}$["${ARG3}" != ""]?"@${ARG3}")
>>
>> then I get:
>>
>> Feb 10 19:29:17 pbx local0.warn asterisk[19347]: WARNING[19347]: 
>> app_voicemail.c:2461 in leave_voicemail: No entry in voicemail config file 
>> for '1121?"'
>>
>>
>> I'm a bit flummoxed.
>>
>> What am I doing wrong?  I'm hoping that if ${ARG3} is set, it will be 
>> appended (with a '@' before it).
>>     
>
> Silly question, but does 1121 exist in your voicemail.conf file?
>
>
>   

No.  But [EMAIL PROTECTED] does, and ${ARG3} = redfish





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to