I do it by calling my own extension. If it's me calling me, it passes me direct to VoicemailMain. If it's someone else calling me, it rings my phone as normal:

exten => 202,1,GotoIf($["${CALLERIDNUM}" = "202"] ? 5 : 2)
exten => 202,2,Dial(SIP/jay,10,tT)
exten => 202,3,VoiceMail([EMAIL PROTECTED]|u)
exten => 202,4,HangUp()
exten => 202,5,VoicemailMain([EMAIL PROTECTED])

HTH,
Jay

Lutgring, Sam wrote:
Does anyone know how to configure a SIP phone to pass the mailbox number
to the voicemail service when dialing?  I would like to press the
message waiting lamp and be prompted for my password instead of "mailbox
number".  Can this be passed in the set-up call or based on caller-id?
Thanks



------------------------------------------------------------------------

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