cannot leave a voicemail

christian0206

Joined
Dec 1, 2010
Messages
2
Likes
0
Points
0
#1
I am running a single server install of Elastix 2.02 on xeon quad processor, 1 TB with 6 gigs of ram.

My issue is being able to leave a voicemail. I have setup extensions and enabled the voicemail option. The agent can call *97 and enter their password and get to the mailbox options to record their greetings for unavailable, busy, etc. All of that is working fine. Both an outside caller and an internal agent will call and think they are leaving a message because it sounds as if everything worked correctly on the originators end. When the agent checks the voicemail, the mailbox is empty. I can look in the mailbox folder and there isnt a message file in the mailbox extension folder (/var/spool/asterisk/voicemail/default/9998).

I havent changed any of the /voicemail/* owner, group or permissions. I have also deleted the extensions rebooted the server and then added the extensions back. It seems like it might be a permissions issue, but I can figure this one out.



Here is the cli of extension 2126 trying to leave 9998 a message:


Connected to Asterisk 1.6.2.10 currently running on pbx (pid = 6026)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [9998@from-internal:1] Macro("SIP/2126-00000014", "exten-vm,9998,9998") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/2126-00000014", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/2126-00000014", "AMPUSER=2126") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/2126-00000014", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/2126-00000014", "1?Set(REALCALLERIDNUM=2126)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/2126-00000014", "AMPUSER=2126") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/2126-00000014", "AMPUSERCIDNAME=2126") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/2126-00000014", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2126-00000014", "AMPUSERCID=2126") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/2126-00000014", "CALLERID(all)="2126" <2126>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/2126-00000014", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/2126-00000014", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2126-00000014", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/2126-00000014", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/2126-00000014", "Using CallerID "2126" <2126>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/2126-00000014", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/2126-00000014", "VMBOX=9998") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/2126-00000014", "EXTTOCALL=9998") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/2126-00000014", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/2126-00000014", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/2126-00000014", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/2126-00000014", "record-enable,9998,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2126-00000014", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/2126-00000014", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/2126-00000014", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/2126-00000014", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/2126-00000014", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/2126-00000014", "dial,15,tr,9998") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/2126-00000014", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/2126-00000014", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '2126' number is '2126'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 9998 to extension map
-- dialparties.agi: Extension 9998 cf is disabled
-- dialparties.agi: Extension 9998 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 9998 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 9998
-- dialparties.agi: dbset CALLTRACE/9998 to 2126
-- dialparties.agi: Filtered ARG3: 9998
-- <SIP/2126-00000014>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/2126-00000014", "SIP/9998,15,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial:8] Set("SIP/2126-00000014", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/2126-00000014", "0?CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/2126-00000014", "0?exit,return") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/2126-00000014", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/2126-00000014", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/2126-00000014", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/2126-00000014", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/2126-00000014", "Voicemail is '9998'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/2126-00000014", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("SIP/2126-00000014", "Sending to Voicemail box 9998") in new stack
-- Executing [s@macro-exten-vm:18] Macro("SIP/2126-00000014", "vm,9998,CHANUNAVAIL,") in new stack
-- Executing [s@macro-vm:1] Macro("SIP/2126-00000014", "user-callerid,SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/2126-00000014", "AMPUSER=2126") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/2126-00000014", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/2126-00000014", "0?Set(REALCALLERIDNUM=2126)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/2126-00000014", "AMPUSER=2126") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/2126-00000014", "AMPUSERCIDNAME=2126") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/2126-00000014", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2126-00000014", "AMPUSERCID=2126") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/2126-00000014", "CALLERID(all)="2126" <2126>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/2126-00000014", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/2126-00000014", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/2126-00000014", "Using CallerID "2126" <2126>") in new stack
-- Executing [s@macro-vm:2] Set("SIP/2126-00000014", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/2126-00000014", "1?vmx,1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] Set("SIP/2126-00000014", "MEXTEN=9998") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/2126-00000014", "MMODE=CHANUNAVAIL") in new stack
-- Executing [vmx@macro-vm:3] Set("SIP/2126-00000014", "RETVM=") in new stack
-- Executing [vmx@macro-vm:4] Set("SIP/2126-00000014", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:5] GotoIf("SIP/2126-00000014", "1?chknomsg") in new stack
-- Goto (macro-vm,vmx,7)
-- Executing [vmx@macro-vm:7] GotoIf("SIP/2126-00000014", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [vmx@macro-vm:8] GotoIf("SIP/2126-00000014", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,10)
-- Executing [vmx@macro-vm:10] NoOp("SIP/2126-00000014", "Checking if ext 9998 is enabled: ") in new stack
-- Executing [vmx@macro-vm:11] GotoIf("SIP/2126-00000014", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("SIP/2126-00000014", "get-vmcontext,9998") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/2126-00000014", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/2126-00000014", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/2126-00000014", "") in new stack
-- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("SIP/2126-00000014", "9998@default,u") in new stack
-- <SIP/2126-00000014> Playing '/var/spool/asterisk/voicemail/default/9998/unavail.slin' (language 'en')
-- <SIP/2126-00000014> Playing 'vm-intro.gsm' (language 'en')
-- <SIP/2126-00000014> Playing 'beep.gsm' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/9998/tmp/wRQRvy format: wav49, 0x92c70d8
-- x=1, open writing: /var/spool/asterisk/voicemail/default/9998/tmp/wRQRvy format: wav, 0x916d768
-- User hung up
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'SIP/2126-00000014' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/2126-00000014' in macro 'exten-vm'
== Spawn extension (from-internal, 9998, 1) exited non-zero on 'SIP/2126-00000014'
-- Executing [h@from-internal:1] Macro("SIP/2126-00000014", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/2126-00000014", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/2126-00000014", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/2126-00000014", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/2126-00000014", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2126-00000014' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2126-00000014'
pbx*CLI> exit
[root@pbx ~]#




I would greatly appreciate any suggestions or help.


Thanks,
Christian
 

christian0206

Joined
Dec 1, 2010
Messages
2
Likes
0
Points
0
#2
I fixed the issue for anyone who might have the same problem.

Under Extensions in device options, change mailbox from 9998@default to 9998@Mailbox
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,898
Messages
130,879
Members
17,560
Latest member
manuelc
Top