[asterisk-users] MailboxExists not branching to n+101

Ryan Hayward hunterotd at gmail.com
Fri Aug 11 08:54:03 MST 2006


Here's the relevent section of my extensions.conf:

### Handle voicemail
exten => _1XX,1,SayDigits(${EXTEN})
exten => _1XX,2,MailboxExists(${EXTEN})
exten => _1XX,3,Playback(vm-nobox)
exten => _1XX,4,Goto(teliax,5013584196,3)
exten => _1XX,103,VoiceMail(b${EXTEN})
exten => _1XX,104,Goto(teliax,5013584196,3)

>From what I understands 2,MailboxExits() should branch to 103 if the
box exists, and 3 if the box doesn't.  However, no matter if the box
exists or not, it always goes to 3.

If instead of MailboxExists(), I just do VoiceMail(), I get similar
results:  The Voicemail() call works if there's a box present, but
whether the mailbox exists or not, it branches to the n+1, instead of
n+101.

Is there something I'm not understanding about priorites, or
extensions that's keeping this from working?  I understand what
everything else is doing, and am developing a fairly complicated
extensions.conf, but the branching doesn't seem to work right for me.



More information about the asterisk-users mailing list