[Asterisk-Users] anyone use mailboxexists?

Michael George george at auroravideosys.com
Wed Jun 16 05:15:08 MST 2004


On Jun 15, 2004, at 9:45 PM, Billy Huddleston wrote:
> Yes, I use it. Here's a sample extension of how to use it.
>
> exten => 1234,1,Answer()
> exten => 1234,2,MailboxExists(1234)
> exten => 1234,3,Dial(SIP/1234,20) ; Try to ring for 20 seconds, no 
> answer
> goto voicemail
> exten => 1234,4,Voicemail(b1234) ; send to voicemail if busy
> exten => 1234,103,Dial(SIP/1234) ; Try to ring till answered
> exten => 1234,104,Busy() ; Give busy tone if busy.
> exten => 1234,204,Voicemail(u1234) ; send to voicemail if no answer

Hmm, I'll have to try that when I'm back at my * box...  I have the 
following:

exten => 8,1,MailboxExists(201)	; 201 does exist
exten => 8,2,NoOp(itDoesNot)
exten => 8,102,NoOp(itDoes);

Which works fine for box 201 (which exists), but when I put 202 there 
and reload, I will get the message that MailboxExists(202) is called, 
but then it hangs.

I enter this context on a Zap line, so I don't think I have to call 
Answer() and other than that it seems that my example is more simple 
than yours.  I'll have to try some things...

But at least I know that it is working for someone.  Thanks!

-Michael




More information about the asterisk-users mailing list