Hello all,
I am pretty new to trixbox. I have followed the trixbox without tears manual and I have successfully installed trixbox and the necessary modules. I have enabled an extension for voicemail but when that extension is called, after a few rings, I get "I am sorry an error has occurred" and the call is dropped.
Can you please help me resolve this issue as soon as possible. Thanks.
Error with Voice mail
Try chmod –R 720 /var/spool/asterisk/voicemail to recursively fix the voicemail permissions.
Hello,
I still have the same error after executing the command. I connected to asterisk and monitored the call progress. Please find below the logs
#############################################
[trixbox1.localdomain ~]# asterisk -r
Asterisk 1.4.21.2-2 RPM by vc-rpms@voipconsulting.nl, Copyright (C) 1999 - 2008 Digium, Inc.
and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.21.2-2 RPM by vc-rpms@voipconsulting.nl currently running on
trixbox1 (pid = 3253)
Verbosity is at least 3
Extension Changed 5555[ext-local] new state InUse for Notify User 1000
-- Executing [1000@from-internal:1] Macro("SIP/5555-08c04538", "exten-vm|1000|1000") in
new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/5555-08c04538", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/5555-08c04538", "AMPUSER=5555") in new
stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/5555-08c04538", "0?report") in new
stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/5555-08c04538",
"1|Set|REALCALLERIDNUM=5555") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/5555-08c04538", "AMPUSER=5555") in new
stack
-- Executing [s@macro-user-callerid:5] Set("SIP/5555-08c04538", "AMPUSERCIDNAME=Test
User") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/5555-08c04538", "0?report") in new
stack
-- Executing [s@macro-user-callerid:7] Set("SIP/5555-08c04538", "AMPUSERCID=5555") in new
stack
-- Executing [s@macro-user-callerid:8] Set("SIP/5555-08c04538", "CALLERID(all)="Test User"
") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/5555-08c04538", "REALCALLERIDNUM=5555") in
new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/5555-08c04538", "0?continue") in new
stack
-- Executing [s@macro-user-callerid:11] Set("SIP/5555-08c04538", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/5555-08c04538", "1?continue") in new
stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/5555-08c04538", "Using CallerID "Test
User" ") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/5555-08c04538", "RingGroupMethod=none") in new
stack
-- Executing [s@macro-exten-vm:3] Set("SIP/5555-08c04538", "VMBOX=1000") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/5555-08c04538", "EXTTOCALL=1000") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/5555-08c04538", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/5555-08c04538", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/5555-08c04538", "RT=20") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/5555-08c04538", "record-enable|1000|IN") in
new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/5555-08c04538", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/5555-08c04538",
"recordingcheck|20010628-062208|993709328.27") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20010628-062208|993709328.27: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/5555-08c04538", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/5555-08c04538", "dial|20|tr|1000") in new
stack
-- Executing [s@macro-dial:1] GotoIf("SIP/5555-08c04538", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/5555-08c04538", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Test User' number is '5555'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 1000 to extension map
-- dialparties.agi: Extension 1000 cf is disabled
-- dialparties.agi: Extension 1000 do not disturb is disabled
-- dialparties.agi: dbset CALLTRACE/1000 to 5555
-- dialparties.agi: Filtered ARG3: 1000
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/5555-08c04538", "SIP/1000|20|tr") in new stack
-- Called 1000
-- SIP/1000-08c0f590 is ringing
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
-- Nobody picked up in 20000 ms
-- Executing [s@macro-dial:8] Set("SIP/5555-08c04538", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/5555-08c04538", "0?NOANSWER|1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/5555-08c04538", "0?exit|return") in new
stack
-- Executing [s@macro-exten-vm:11] Set("SIP/5555-08c04538", "SV_DIALSTATUS=NOANSWER") in
new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/5555-08c04538", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/5555-08c04538", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/5555-08c04538", "DIALSTATUS=NOANSWER") in new
stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/5555-08c04538", "Voicemail is 1000") in new
stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/5555-08c04538", "0?s-NOANSWER|1") in new
stack
-- Executing [s@macro-exten-vm:17] NoOp("SIP/5555-08c04538", "Sending to Voicemail box
1000") in new stack
-- Executing [s@macro-exten-vm:18] Macro("SIP/5555-08c04538", "vm|1000|NOANSWER|") in new
stack
-- Executing [s@macro-vm:1] Macro("SIP/5555-08c04538", "user-callerid|SKIPTTL") in new
stack
-- Executing [s@macro-user-callerid:1] Set("SIP/5555-08c04538", "AMPUSER=5555") in new
stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/5555-08c04538", "0?report") in new
stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/5555-08c04538",
"0|Set|REALCALLERIDNUM=5555") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/5555-08c04538", "AMPUSER=5555") in new
stack
-- Executing [s@macro-user-callerid:5] Set("SIP/5555-08c04538", "AMPUSERCIDNAME=Test
User") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/5555-08c04538", "0?report") in new
stack
-- Executing [s@macro-user-callerid:7] Set("SIP/5555-08c04538", "AMPUSERCID=5555") in new
stack
-- Executing [s@macro-user-callerid:8] Set("SIP/5555-08c04538", "CALLERID(all)="Test User"
") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/5555-08c04538", "REALCALLERIDNUM=5555") in
new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/5555-08c04538", "1?continue") in new
stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/5555-08c04538", "Using CallerID "Test
User" ") in new stack
-- Executing [s@macro-vm:2] Set("SIP/5555-08c04538", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/5555-08c04538", "1?vmx|1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] GotoIf("SIP/5555-08c04538", "0?s-NOANSWER|1") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/5555-08c04538", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:3] GotoIf("SIP/5555-08c04538", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,5)
-- Executing [vmx@macro-vm:5] NoOp("SIP/5555-08c04538", "Checking if ext 1000 is enabled:
") in new stack
-- Executing [vmx@macro-vm:6] GotoIf("SIP/5555-08c04538", "1?s-NOANSWER|1") in new stack
-- Goto (macro-vm,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/5555-08c04538", "get-vmcontext|1000") in
new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/5555-08c04538", "VMCONTEXT=default") in
new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/5555-08c04538", "0?200:300") in new
stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/5555-08c04538", "") in new stack
-- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/5555-08c04538", "1000@default|u") in
new stack
-- Executing [s-NOANSWER@macro-vm:3] Goto("SIP/5555-08c04538", "exit-FAILED|1") in new
stack
-- Goto (macro-vm,exit-FAILED,1)
-- Executing [exit-FAILED@macro-vm:1] Playback("SIP/5555-08c04538",
"im-sorry&an-error-has-occured") in new stack
--
--
-- Executing [exit-FAILED@macro-vm:2] GotoIf("SIP/5555-08c04538", "0?exit-RETURN|1") in
new stack
-- Executing [exit-FAILED@macro-vm:3] Hangup("SIP/5555-08c04538", "") in new stack
== Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on 'SIP/5555-08c04538' in
macro 'vm'
== Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on 'SIP/5555-08c04538' in
macro 'exten-vm'
== Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on 'SIP/5555-08c04538'
Extension Changed 5555[ext-local] new state Idle for Notify User 1000
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
trixbox1*CLI>
###################################################################
I had the directory /var/spool/asterisk/voicemail but the two subdirectories (default and device) were missing. I created them and set the permissions and everything worked.
Member Since:
2008-09-23