[Asterisk-Users] Voicemailbox detection:

Nabeel Jafferali nabeel at jafferali.net
Mon Apr 4 19:40:08 MST 2005


>             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...

This is what I have:

_3XXX,1,Dial(SIP/${EXTEN})
_3XXX,2,Voicemail(${EXTEN})
_3XXX,3,Hangup
_3XXX,102,Voicemail(${EXTEN})
_3XXX,103,Playback(invalid)
_3XXX,104,Hangup

SIP client is called. If it is not logged in, calls it's voicemail. If
voicemail doesn't exist, plays back invalid.

If SIP client is busy, goes to voicemail as well.

Nabeel



More information about the asterisk-users mailing list