Hi,
I have an odd problem that has shown up. I have several extensions setup where an internal user can dial an extension and it calls an external number such as a cell phone. When internal users use these extensions they work fine, but when someone from outside dials into an IVR and the IVR tries to use that extension they get a busy signal. I must have misconfigured something but I am not sure what… Inside the extensions I have the following format under the dial setup:
Local/9XXXXXXX@outbound-allroutes
where XXXXXXX is the local number to be dialed. I have three outbound routes two local and one long distance. One of the local outbound routes is just for restricting long distance on a pool phone (single extension). User have to dial 9 to dial out.
Using:
FreePBX 2.10
Asterisk 1.8.13.0
Centos 5.8
Kernel 2.6
Log file tail:
…
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:25] GotoIf(“DAHDI/6-1”, “0?nodial”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:26] GosubIf(“DAHDI/6-1”, “1?dstring,1():dlocal,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:1] Set(“DAHDI/6-1”, “DSTRING=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:2] Set(“DAHDI/6-1”, “DEVICES=450”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:3] ExecIf(“DAHDI/6-1”, “0?Return()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:4] ExecIf(“DAHDI/6-1”, “0?Set(DEVICES=50)”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:5] Set(“DAHDI/6-1”, “LOOPCNT=1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:6] Set(“DAHDI/6-1”, “ITER=1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:7] Set(“DAHDI/6-1”, “THISDIAL=Local/92491682@outbound-allroutes”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:8] GosubIf(“DAHDI/6-1”, “1?zap2dahdi,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:1] ExecIf(“DAHDI/6-1”, “0?Return()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:2] Set(“DAHDI/6-1”, “NEWDIAL=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:3] Set(“DAHDI/6-1”, “LOOPCNT2=1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:4] Set(“DAHDI/6-1”, “ITER2=1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:5] Set(“DAHDI/6-1”, “THISPART2=Local/92491682@outbound-allroutes”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:6] ExecIf(“DAHDI/6-1”, “0?Set(THISPART2=DAHDIal/92491682@outbound-allroutes)”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:7] Set(“DAHDI/6-1”, “NEWDIAL=Local/92491682@outbound-allroutes&”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:8] Set(“DAHDI/6-1”, “ITER2=2”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:9] GotoIf(“DAHDI/6-1”, “0?begin2”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:10] Set(“DAHDI/6-1”, “THISDIAL=Local/92491682@outbound-allroutes”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [zap2dahdi@macro-dial-one:11] Return(“DAHDI/6-1”, “”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:9] Set(“DAHDI/6-1”, “DSTRING=Local/92491682@outbound-allroutes&”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:10] Set(“DAHDI/6-1”, “ITER=2”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:11] GotoIf(“DAHDI/6-1”, “0?begin”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:12] Set(“DAHDI/6-1”, “DSTRING=Local/92491682@outbound-allroutes”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [dstring@macro-dial-one:13] Return(“DAHDI/6-1”, “”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:27] GotoIf(“DAHDI/6-1”, “0?nodial”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:28] GotoIf(“DAHDI/6-1”, “0?skiptrace”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:29] GosubIf(“DAHDI/6-1”, “0?ctset,1():ctclear,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [ctclear@macro-dial-one:1] NoOp(“DAHDI/6-1”, “Deleting: CALLTRACE/450 9107917246”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [ctclear@macro-dial-one:2] Return(“DAHDI/6-1”, “”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:30] Set(“DAHDI/6-1”, “D_OPTIONS=twr”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:31] ExecIf(“DAHDI/6-1”, “0?SIPAddHeader(Alert-Info: )”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:32] ExecIf(“DAHDI/6-1”, “0?SIPAddHeader()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:33] ExecIf(“DAHDI/6-1”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:34] GosubIf(“DAHDI/6-1”, “0?qwait,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:35] Set(“DAHDI/6-1”, “__CWIGNORE=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:36] Set(“DAHDI/6-1”, “__KEEPCID=TRUE”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:37] GotoIf(“DAHDI/6-1”, “0?usegoto,1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:38] GotoIf(“DAHDI/6-1”, “1?godial”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Goto (macro-dial-one,s,42)
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:42] Dial(“DAHDI/6-1”, “Local/92491682@outbound-allroutes,twr”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] app_dial.c: – Called Local/92491682@outbound-allroutes
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [92491682@outbound-allroutes:1] Macro(“Local/92491682@outbound-allroutes-e5a0;2”, “user-callerid,LIMIT,”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:1] Set(“Local/92491682@outbound-allroutes-e5a0;2”, “AMPUSER=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:2] GotoIf(“Local/92491682@outbound-allroutes-e5a0;2”, “0?report”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:3] ExecIf(“Local/92491682@outbound-allroutes-e5a0;2”, “1?Set(REALCALLERIDNUM=)”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:4] Set(“Local/92491682@outbound-allroutes-e5a0;2”, “AMPUSER=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:5] Set(“Local/92491682@outbound-allroutes-e5a0;2”, “AMPUSERCIDNAME=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“Local/92491682@outbound-allroutes-e5a0;2”, “1?report”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Goto (macro-user-callerid,s,12)
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“Local/92491682@outbound-allroutes-e5a0;2”, “1?continue”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Goto (macro-user-callerid,s,25)
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:25] Set(“Local/92491682@outbound-allroutes-e5a0;2”, “CALLERID(number)=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:26] Set(“Local/92491682@outbound-allroutes-e5a0;2”, “CALLERID(name)=”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Executing [s@macro-user-callerid:27] Set(“Local/92491682@outbound-allroutes-e5a0;2”, “CHANNEL(language)=en”) in new stack
[2012-07-02 13:40:03] VERBOSE[7349] pbx.c: – Auto fallthrough, channel ‘Local/92491682@outbound-allroutes-e5a0;2’ status is ‘UNKNOWN’
[2012-07-02 13:40:03] VERBOSE[7346] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:43] ExecIf(“DAHDI/6-1”, “0?Set(DIALSTATUS=)”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:44] GosubIf(“DAHDI/6-1”, “0?s-CHANUNAVAIL,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-dial-one:45] MacroExit(“DAHDI/6-1”, “”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-exten-vm:8] Set(“DAHDI/6-1”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-exten-vm:9] GosubIf(“DAHDI/6-1”, “0?docfu,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-exten-vm:10] GosubIf(“DAHDI/6-1”, “0?docfb,1()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-exten-vm:11] Set(“DAHDI/6-1”, “DIALSTATUS=CHANUNAVAIL”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-exten-vm:12] ExecIf(“DAHDI/6-1”, “0?MacroExit()”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s@macro-exten-vm:13] GotoIf(“DAHDI/6-1”, “1?s-CHANUNAVAIL,1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Goto (macro-exten-vm,s-CHANUNAVAIL,1)
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf(“DAHDI/6-1”, “0?exit,1”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones(“DAHDI/6-1”, “congestion”) in new stack
[2012-07-02 13:40:03] VERBOSE[7346] pbx.c: – Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion(“DAHDI/6-1”, “10”) in new stack