[asterisk-users] asterisk login to voicemail

Danny Nicholas danny at debsinc.com
Thu Apr 7 14:47:41 CDT 2011


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

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


More information about the asterisk-users mailing list