I’m having problems with a few extensions…
These extension go directly to voicemail, and do not ring the telephone through a DID call, or from an IVR, or direct dial from another extension.
The telephones themselve work perfectly otherwise… they can call other extensions, dial outside lines, etc…
Any ideas would be appreciated… if there is any additional details that would help, please let me know
what to provide.
All extensions are configured the same, with the obvious exceptions (userid, password)
The telephones are SNOM370 Firmware 7.1.33
FreePBX 2.4.1.2
Asterisk 1.4.19 built by root @ centos5-rpmbuilder.palosanto.com on a i686 running Linux on 2008-04-02 16:56:34 UTC
Here’s the dialog from an inbound DID call
freepbxCLI>
– Accepting call from ‘8585587100’ to ‘8116’ on channel 0/22, span 1
– Executing [8116@from-pstn:1] Set(“Zap/22-1”, “__FROM_DID=8116”) in new stack
– Executing [8116@from-pstn:2] GotoIf(“Zap/22-1”, “0 ?cidok”) in new stack
– Executing [8116@from-pstn:3] Set(“Zap/22-1”, “CALLERID(name)=8585587100”) in new stack
– Executing [8116@from-pstn:4] NoOp(“Zap/22-1”, “CallerID is “8585587100” <8585587100>”) in new stack
– Executing [8116@from-pstn:5] SetMusicOnHold(“Zap/22-1”, “acc_1”) in new stack
– Executing [8116@from-pstn:6] Set(“Zap/22-1”, “__MOHCLASS=acc_1”) in new stack
– Executing [8116@from-pstn:7] Goto(“Zap/22-1”, “from-did-direct|8116|1”) in new stack
– Goto (from-did-direct,8116,1)
– Executing [8116@from-did-direct:1] Macro(“Zap/22-1”, “exten-vm|8116|8116”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“Zap/22-1”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“Zap/22-1”, “user-callerid: 8585587100 8585587100”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Zap/22-1”, “AMPUSER=8585587100”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Zap/22-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“Zap/22-1”, “1|Set|REALCALLERIDNUM=8585587100”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“Zap/22-1”, “REALCALLERIDNUM is 8585587100”) in new stack
– Executing [s@macro-user-callerid:6] Set(“Zap/22-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Zap/22-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“Zap/22-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“Zap/22-1”, “TTL: ARG1: 8116”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“Zap/22-1”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:15] Set(“Zap/22-1”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“Zap/22-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“Zap/22-1”, “Using CallerID “8585587100” <8585587100>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“Zap/22-1”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“Zap/22-1”, “VMBOX=8116”) in new stack
– Executing [s@macro-exten-vm:4] Set(“Zap/22-1”, “EXTTOCALL=8116”) in new stack
– Executing [s@macro-exten-vm:5] Set(“Zap/22-1”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“Zap/22-1”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“Zap/22-1”, “RT=15”) in new stack
– Executing [s@macro-exten-vm:8] Macro(“Zap/22-1”, “record-enable|8116|IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“Zap/22-1”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“Zap/22-1”, “recordingcheck|20081021-151703|1224627423.1017”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20081021-151703|1224627423.1017: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“Zap/22-1”, “No recording needed”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“Zap/22-1”, “dial|15|tr|8116”) in new stack
– Executing [s@macro-dial:1] GotoIf(“Zap/22-1”, “0?dial”) in new stack
– Executing [s@macro-dial:2] SetMusicOnHold(“Zap/22-1”, “acc_1”) in new stack
– Executing [s@macro-dial:3] AGI(“Zap/22-1”, “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 ‘8585587100’ number is '8585587100’
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 8116 to extension map
– dialparties.agi: Extension 8116 cf is disabled
– dialparties.agi: Extension 8116 do not disturb is disabled
> dialparties.agi: extnum 8116 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 1
dialparties.agi: Extension 8116 has ExtensionState: 1
– dialparties.agi: Checking CW and CFB status for extension 8116
dialparties.agi: Extension 8116 is not available to be called
dialparties.agi: Extension 8116 has call waiting disabled
– dialparties.agi: Filtered ARG3:
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:4] NoOp(“Zap/22-1”, “Returned from dialparties with no extensions to call and DIALSTATUS: BUSY”) in new stack
– Executing [s@macro-exten-vm:10] Set(“Zap/22-1”, “SV_DIALSTATUS=BUSY”) in new stack
– Executing [s@macro-exten-vm:11] GosubIf(“Zap/22-1”, “0?docfu|1”) in new stack
– Executing [s@macro-exten-vm:12] GosubIf(“Zap/22-1”, “0?docfb|1”) in new stack
– Executing [s@macro-exten-vm:13] Set(“Zap/22-1”, “DIALSTATUS=BUSY”) in new stack
– Executing [s@macro-exten-vm:14] NoOp(“Zap/22-1”, “Voicemail is 8116”) in new stack
– Executing [s@macro-exten-vm:15] GotoIf(“Zap/22-1”, “0?s-BUSY|1”) in new stack
– Executing [s@macro-exten-vm:16] NoOp(“Zap/22-1”, “Sending to Voicemail box 8116”) in new stack
– Executing [s@macro-exten-vm:17] Macro(“Zap/22-1”, “vm|8116|BUSY”) in new stack
– Executing [s@macro-vm:1] Macro(“Zap/22-1”, “user-callerid|SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“Zap/22-1”, “user-callerid: 8585587100 8585587100”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Zap/22-1”, “AMPUSER=8585587100”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Zap/22-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“Zap/22-1”, “0|Set|REALCALLERIDNUM=8585587100”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“Zap/22-1”, “REALCALLERIDNUM is 8585587100”) in new stack
– Executing [s@macro-user-callerid:6] Set(“Zap/22-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Zap/22-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“Zap/22-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“Zap/22-1”, “TTL: 64 ARG1: SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“Zap/22-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“Zap/22-1”, “Using CallerID “8585587100” <8585587100>”) in new stack
– Executing [s@macro-vm:2] Set(“Zap/22-1”, “VMGAIN=”"") in new stack
– Executing [s@macro-vm:3] GotoIf(“Zap/22-1”, “1?vmx|1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] GotoIf(“Zap/22-1”, “0?s-BUSY|1”) in new stack
– Executing [vmx@macro-vm:2] Set(“Zap/22-1”, “MODE=busy”) in new stack
– Executing [vmx@macro-vm:3] GotoIf(“Zap/22-1”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [vmx@macro-vm:5] NoOp(“Zap/22-1”, "Checking if ext 8116 is enabled: ") in new stack
– Executing [vmx@macro-vm:6] GotoIf(“Zap/22-1”, “1?s-BUSY|1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing [s-BUSY@macro-vm:1] NoOp(“Zap/22-1”, “BUSY voicemail”) in new stack
– Executing [s-BUSY@macro-vm:2] Macro(“Zap/22-1”, “get-vmcontext|8116”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“Zap/22-1”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“Zap/22-1”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“Zap/22-1”, “”) in new stack
– Executing [s-BUSY@macro-vm:3] VoiceMail(“Zap/22-1”, “8116@default|b”) in new stack
– Zap/1-1 answered SIP/8134-088ed7b0
– <Zap/22-1> Playing ‘/var/spool/asterisk/voicemail/default/8116/busy’ (language ‘en’)
– Channel 0/22, span 1 got hangup request, cause 16
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘Zap/22-1’ in macro ‘vm’
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘Zap/22-1’ in macro ‘exten-vm’
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘Zap/22-1’
– Hungup 'Zap/22-1’
freepbxCLI>