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