use ${CALLERIDNUM} instead of [mailbox]


> I have a extension 981 setup for entering VoiceMailMain:
>
> exten => 981,1,VoiceMailMain,([EMAIL PROTECTED])
> 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", "[EMAIL PROTECTED]") 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
>


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