On Apr 5, 2005 12:26 PM, Tim Connolly <[EMAIL PROTECTED]> 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([EMAIL PROTECTED])
exten => _14XXX,2,Here goes the stuff if there's no mailbox
exten => _14XXX,102,Voicemail(u${EXTEN})
-Shaun
_______________________________________________
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