rob at hillis.dyndns.org Guest
|
Posted: Sun Feb 10, 2008 1:52 am Post subject: [asterisk-users] voicemail to non-default context user does |
|
|
According to voip-info, the syntax for the VoiceMail command is as
follows...
VoiceMail([/flags/]/boxnumber[@context][&boxnumber2[@context]][&boxnumber3]/)
If you check the syntax for the VoiceMail command, it indicates that the
mailbox parameter is /not/ optional, so I'm surprised this works at
all. Asterisk will default to the @default context if the context isn't
specified, so you /might/ try Voicemail(@03) otherwise I suspect you're
going to need an IVR to achieve what you want.
Zen Kato wrote:
Quote: | Hi,
I input "0203#" after "mailbox?" voice prompt from Voicemail cmd
on extensions.conf such as
exten => 0021,1,Ringing
exten => 0021,2,Wait(1)
exten => 0021,3,Voicemail
exten => 0021,4,Hangup
*CLI> -- Executing [0021 at sip:1] Ringing("SIP/0103-09a308b0", "") in new stack
-- Executing [0021 at sip:2] Wait("SIP/0103-09a308b0", "1") in new stack
-- Executing [0021 at sip:3] VoiceMail("SIP/0103-09a308b0", "") in new stack
-- <SIP/0103-09a308b0> Playing 'vm-whichbox' (language 'en')
[Feb 9 17:11:54] WARNING[3574]: app_voicemail.c:2850 leave_voicemail: No entry in voicemail config file for '0203'
-- Executing [0021 at sip:4] Hangup("SIP/0103-09a308b0", "") in new stack
== Spawn extension (sip, 0021, 4) exited non-zero on 'SIP/0103-09a308b0'
-- Executing [h at sip:1] Hangup("SIP/0103-09a308b0", "") in new stack
== Spawn extension (sip, h, 1) exited non-zero on 'SIP/0103-09a308b0'
I have an entry of 0203 at Context 03 on voicemail.conf as follows;
*CLI> voicemail show users
Context Mbox User Zone NewMsg
default general New User 0
03 0103 0
03 0203 0
03 0303 0
But, I could not enter into "0203 at 03" mailbox.
Any idea?
asterisk-1.4.18
--
Zen
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
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/20080210/c2469d93/attachment.htm |
|