[Asterisk-Users] Voicemailbox detection:
Shaun Ewing
sewing at gmail.com
Tue Apr 5 07:57:09 MST 2005
On Apr 5, 2005 12:26 PM, Tim Connolly <tim at timsnet.com> wrote:
>
>
> Is there any way to detect if a user has a mailbox? I want to
> send all call which match _14XXX to voicemail except if the user doesn't
> have a voicemail box…
Have you looked at the MailboxExists app?
What you want could be done quite easily. The following is from
memory, but it should be close enough:
exten => _14XXX,1,MailboxExists(${EXTEN}@default)
exten => _14XXX,2,Here goes the stuff if there's no mailbox
exten => _14XXX,102,Voicemail(u${EXTEN})
-Shaun
More information about the asterisk-users
mailing list