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

Álvaro Palma apalma at opschile.cl
Fri May 12 15:18:44 MST 2006


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

-- 
Atly.
Alvaro Palma




More information about the asterisk-users mailing list