[Asterisk-Users] VoiceMail application: "j" option not working as I supposed

Eric "ManxPower" Wieling eric at fnords.org
Fri May 12 16:00:05 MST 2006


Try:
   exten => _XX,2,VoiceMail(u${EXTEN}@default,j)
and
   exten => _XX,110,VoiceMail(b${EXTEN}@default,j)


Álvaro Palma wrote:
> I've the following dialplan.
> 
> exten => _XX,hint,SIP/${EXTEN}
> exten => _XX,1,Dial(SIP/${EXTEN},10,j)
> exten => _XX,2,VoiceMail(${EXTEN}@default,u|j)
> exten => _XX,3,Hangup()
> exten => _XX,102,Goto(110)
> exten => _XX,103,Playback(pbx-invalid)
> exten => _XX,104,Hangup()
> exten => _XX,110,VoiceMail(${EXTEN}@default,b|j)
> exten => _XX,111,Hangup()
> exten => _XX,211,Playback(pbx-invalid)
> exten => _XX,212,Hangup()
> 
> As far as I know, according to my dialplan, if the SIP user doesn't 
> exist, the application jumps from priority 1 to priority 102 and from 
> there to priority 110. Here, if the VoiceMail application fails (what 
> will happen, since if the user is wrong, he obviously doesn't have a 
> mailbox), the application should jump to priority 211 (according to the 
> "j" option in the VoiceMail command). However, I always see that my 
> application jumps to 111 instead (and no "Invalid extension" sound is 
> played). In fact, if I move my Playback(invalid) to 111, then I can hear 
> the sound.
> 
> Can anybody tell me what am I doing wrong? Or simply "j" VoiceMail 
> option doesn't work the way I think it should work?
> 
> Thanks a lot for your help
> 


-- 
Now accepting new clients in Birmingham, Atlanta, Huntsville, 
Chattanooga, and Montgomery.



More information about the asterisk-users mailing list