Hi,
 
Please take a look at the following extensions.conf:-
 
exten => _11XXXX,1,NoCDR()
exten => _11XXXX,2,Dial(SIP/${EXTEN},10)
exten => _11XXXX,3,VoiceMail()
 
I'm already using realtime for some extensions/users/voicemail. 
 
Is there any way to do the following at point 3?:-
 
Lookup the realtime users db and read the MailBox column for that buddy.
If the mailbox column is empty, play a message saying "Sorry, no one is available."
If the column has data in it, do the following:-
 
exten => _11XXXX,3,VoiceMail(MailBoxID)
 
Many thanks
 
Dan Journo
http://www.TextOver.com
 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to