On Fri, 11 Jun 2004, Michael George wrote:

> I would like to be able to send calls to voicemail() but then catch the 
> case where this is no VM configured on the extension and then go back 
> to another menu.  However, VoiceMail() will return a -1 and then 
> hangup.  I would like to trap it somehow.
> 
> Is that possible?

You can call the MailboxExists application before hand to check to see if
the box exists.

  -= Info about application 'MailboxExists' =-

[Synopsis]:
Check if vmbox exists

[Description]:
  MailboxExists([EMAIL PROTECTED]): Conditionally branches to priority
n+101
if the specified voice mailbox exists.


James

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to