[asterisk-users] asterisk login to voicemail

Dan Journo dan at keshercommunications.com
Fri Apr 8 07:45:08 CDT 2011


> <SIP/8.224.32.2-00000000>AGI Rx << SET VARIABLE MAILBOXID "7167435000"
> <SIP/8.224.32.2-00000000>AGI Tx >> 200 result=1
> <SIP/8.224.32.2-00000000>AGI Rx << SET VARIABLE MAILBOXCONTEXT "4"
> <SIP/8.224.32.2-00000000>AGI Tx >> 200 result=1
> <SIP/8.224.32.2-00000000>AGI Rx << SET CONTEXT voicemail

> And the mailbox 7167435000 does exist....

If the mailbox exists, then check the context. One of them isnt correct. Also check what the CLI says when you press 'a'.
You may need to change MAILBOXID and MAILBOXCONTEXT to __MAILBOXID and __MAILBOXCONTEXT if you are transferring the calls before you get to the Voicemail app.
__ causes asterisk to pass variables along with the call. Otherwise, if you transfer the calls within the dialplan, the variables you set get left behind.

Hope that helps

Dan Journo
Kesher Communications (UK)
Business Phone Systems<http://www.keshercommunications.com/> | Hosted PBX<http://www.keshercommunications.com/hostedpbx.html>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110408/f8048f72/attachment.htm>


More information about the asterisk-users mailing list