[asterisk-users] asterisk login to voicemail

vip killa vipkilla at gmail.com
Thu Apr 7 14:52:04 CDT 2011


Actually the mailbox is 7167435000...
in this case the two variables are the same and the mailbox 7167435000 does
exist....
I want someone to call 7167435000 reach mailbox 7167435000 (VoiceMail), if
they push * during greeting, then i went them to prompted for a PIN for that
mailbox (VoiceMailMain)
I'm totally lost as to how to get this done... any suggestions?


On Thu, Apr 7, 2011 at 3:47 PM, Danny Nicholas <danny at debsinc.com> wrote:

>  As I see it, callednum and vmbox should not be the same.  Vmbox is a
> “good” mailbox you’re going to reach if the user doesn’t hit #, callednum is
> the “fallback” number that you are going to use and should be an established
> mailbox (3-4 digits) not a full number (10 digits you have indicated).
>
>
>   ------------------------------
>
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *vip killa
> *Sent:* Thursday, April 07, 2011 2:41 PM
>
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [asterisk-users] asterisk login to voicemail
>
>
>
> Ok, i have this now...
>
>
>
> [voicemail]
>
> exten => s,1,VoiceMail(${vmbox},su)
>
> exten => *,1,VoiceMailMain(${callednum})
>
>
>
> in AGI i have:
>         $AGI->set_variable("callednum", $options);
>
>         $AGI->set_variable("vmbox", $options);
>
>         $AGI->set_context("voicemail");
>
>
>
> I'm getting a busy signal and this error....
>
>  pbx.c:4413 __ast_pbx_run: Channel 'SIP/8.224.32.3-00000002' sent into
> invalid extension 'XXXXXXXXXX' in context 'voicemail', but no invalid
> handler
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110407/b66d0ce2/attachment.htm>


More information about the asterisk-users mailing list