[asterisk-users] asterisk login to voicemail
vip killa
vipkilla at gmail.com
Thu Apr 7 14:25:27 CDT 2011
I'm sorry I'm new to AGI programming but i did this:
$AGI->set_variable("vmbox", $options);
$AGI->set_context("voicemail");
and in extensions.conf i have:
[voicemail]
exten => s,1,VoiceMail(${vmbox},su)
exten => #,n,VoiceMailMain(${EXTEN}@4)
I keep getting 603 declined when i call the number...
On Thu, Apr 7, 2011 at 3:09 PM, Danny Nicholas <danny at debsinc.com> wrote:
> If you add the exten => #,1 line to the end of the inbound context, that
> should do it for you. If not, change $AGI->exec(“VoiceMail”,$options) to go
> to a context instead of running Voicemail directly.
>
>
> ------------------------------
>
> *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:04 PM
>
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [asterisk-users] asterisk login to voicemail
>
>
>
> i'm afraid my setup is more complex than that....
>
> [inbound]
>
> exten => _X.,1,agi(route.pl)
>
>
>
> after some logic using mysql, route.pl then does:
> $AGI->exec("VoiceMail", $options);
>
>
>
> at that point, I would like the caller to be able to push '#' and be
> prompted for Password for that particular mailbox
>
>
>
>
>
> On Thu, Apr 7, 2011 at 2:58 PM, Danny Nicholas <danny at debsinc.com> wrote:
> ------------------------------
>
> *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 1:56 PM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* [asterisk-users] asterisk login to voicemail
>
>
>
> Is there a way to login to a voicemail box when someone pushes '#' during
> greeting?
>
> *[Danny Nicholas] *
>
> *Here is one way:*
>
> *[greeting]*
>
> *Exten => s,1,background(greeting)*
>
> *Exten =>s,n,hangup*
>
> *Exten => #,1,voicemailmain(100 at default)*
>
>
> --
> _____________________________________________________________________
> -- 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
>
>
>
> --
> _____________________________________________________________________
> -- 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/c7746c8a/attachment.htm>
More information about the asterisk-users
mailing list