[Asterisk-Users] catch when no voicemail configured
James Golovich
james at wwnet.net
Fri Jun 11 14:01:52 MST 2004
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(mailbox[@context]): Conditionally branches to priority
n+101
if the specified voice mailbox exists.
James
More information about the asterisk-users
mailing list