I have a extension 981 setup for entering VoiceMailMain:
exten => 981,1,VoiceMailMain,([mailbox]@usvm)
exten => 981,2,HangUp()
I want to pass the calling extension to the context (extension and mailbox
numbers are the same).
This dosen't seem to work. I get this in the console:
Asterisk Ready.
*CLI> -- Executing VoiceMailMain("SIP/2504-ba66",
"[mailbox]@usvm") in
new stack
-- Playing 'vm-login' (language 'en')
Any ideas?
Thanks!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060104/7417f273/attachment.htm
use ${CALLERIDNUM} instead of [mailbox]
> I have a extension 981 setup for entering VoiceMailMain:
>
> exten => 981,1,VoiceMailMain,([mailbox]@usvm)
> exten => 981,2,HangUp()
>
> I want to pass the calling extension to the context (extension and mailbox
> numbers are the same).
>
> This dosen't seem to work. I get this in the console:
>
> Asterisk Ready.
> *CLI> -- Executing VoiceMailMain("SIP/2504-ba66",
"[mailbox]@usvm") in
> new stack
> -- Playing 'vm-login' (language 'en')
>
> Any ideas?
>
> 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
>
[mailbox] does not exist....
use
exten => 981,1,VoiceMailMain,(${CALLERID(num)}@usvm)
this is provided that your callerid settings in your sip, iax, and zap
configs are correct and relect the extension calling.
________________________________
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Forrest
Beck
Sent: Wednesday, January 04, 2006 11:43 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] VoiceMailMain Pass Mailbox
I have a extension 981 setup for entering VoiceMailMain:
exten => 981,1,VoiceMailMain,([mailbox]@usvm)
exten => 981,2,HangUp()
I want to pass the calling extension to the context (extension
and mailbox numbers are the same).
This dosen't seem to work. I get this in the console:
Asterisk Ready.
*CLI> -- Executing VoiceMailMain("SIP/2504-ba66",
"[mailbox]@usvm") in new stack
-- Playing 'vm-login' (language 'en')
Any ideas?
Thanks!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060104/b91a7496/attachment.htm