I want all calls to a conference call center to go out over a SIP trunk instead of over the analog card.
I thought I just needed to add a new Outbound route, with the destination number (listed in the matching section under two lines with and without a leading 1), but when I test it goes out over the existing outbound route (which is listed below-the conference route is at the top). I even tried to assign it to a particular CID so just the conference room extension would use that. But no luck.
Is there something else that I’m missing? Not feeling too SMRT today so looking for some insight.
I’ve no idea what may be wrong. If your system requires e.g. dialing 9 before an outside call, adjust your new route accordingly. Confirm that you did Apply Configuration. Try restarting Asterisk.
If no luck, examine /etc/asterisk/extensions_additional.conf. Look at the [outbound-allroutes] context, confirm that your new route is listed and note which outrt- number is assigned. Then, on a failing (incorrectly routed) call, look at the Asterisk log and see why your outrt wasn’t executed correctly (or at all).
It sounds correct.
- Look in the logs to see what the number is dialing out as, make sure it matches your route.
- Make sure there are no route conflicts between the two.
- Apply config?
The log is authoritive. If you can trace a call, you will see each step. Hopefully its just a quick miss key.
Apply config is done.
I removed the extension filter, so it should just be any call dialed (to my phone number) that should be going over the SIP trunk.
Here’s the conf file and the log for the call (which shows it going out over DAHDI/g0).
The log doesn’t contain outrt-5; is it not even seeing these
From /etc/asterisk/extensions_additional.conf:
[outbound-allroutes]
include => outrt-5 ; Conference call
include => outrt-3 ; Outgoing over POTS then SIP
include => outrt-1 ; Outbound
exten => foo,1,Noop(bar)
;--== end of [outbound-allroutes] ==--;
[outrt-5] ; Conference call
exten => 13334441011,1,Macro(user-callerid,LIMIT,EXTERNAL,)
exten => 13334441011,n,Gosub(sub-record-check,s,1(out,${EXTEN},dontcare))
exten => 13334441011,n,ExecIf($[ "${CALLEE_ACCOUNCODE}" != "" ] ?Set(CDR(accountcode)=${CALLEE_ACC$
exten => 13472181011,n,Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})})
exten => 13334441011,n,Set(_NODEST=)
exten => 13334441011,n,Macro(dialout-trunk,2,${EXTEN},,off)
exten => 13334441011,n,Macro(dialout-trunk,1,${EXTEN},,off)
exten => 13334441011,n,Macro(outisbusy,)
;--== end of [outrt-5] ==--;
[outrt-3] ; Outgoing over POTS then SIP
exten => _011.,1,Macro(user-callerid,LIMIT,EXTERNAL,)
log file for the call:
[2018-05-22 15:31:12] VERBOSE[3059][C-0000007f] netsock2.c: Using SIP RTP TOS bits 184
[2018-05-22 15:31:12] VERBOSE[3059][C-0000007f] netsock2.c: Using SIP RTP CoS mark 5
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] Macro("SIP/9410-00000095", "user-callerid,LIMIT") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] Set("SIP/9410-00000095", "TOUCH_MONITOR=1527017472.1912") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] Set("SIP/9410-00000095", "AMPUSER=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] GotoIf("SIP/9410-00000095", "0?report") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] ExecIf("SIP/9410-00000095", "1?Set(REALCALLERIDNUM=9410)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:5] Set("SIP/9410-00000095", "AMPUSER=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:6] GotoIf("SIP/9410-00000095", "0?limit") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] Set("SIP/9410-00000095", "AMPUSERCIDNAME=Saiya x9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:8] GotoIf("SIP/9410-00000095", "0?report") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:9] Set("SIP/9410-00000095", "AMPUSERCID=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:10] Set("SIP/9410-00000095", "__DIAL_OPTIONS=Ttr") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:11] Set("SIP/9410-00000095", "CALLERID(all)="Saiya x9410" <9410>") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:12] GotoIf("SIP/9410-00000095", "0?limit") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:13] ExecIf("SIP/9410-00000095", "1?Set(GROUP(concurrency_limit)=9410)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:14] ExecIf("SIP/9410-00000095", "0?Set(CHANNEL(language)=)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:15] NoOp("SIP/9410-00000095", "Macro Depth is 1") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:16] GotoIf("SIP/9410-00000095", "1?report2:macroerror") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:18] GotoIf("SIP/9410-00000095", "1?continue") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (macro-user-callerid,s,36)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:36] Set("SIP/9410-00000095", "CALLERID(number)=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:37] Set("SIP/9410-00000095", "CALLERID(name)=Saiya x9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:38] GotoIf("SIP/9410-00000095", "0?cnum") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:39] Set("SIP/9410-00000095", "CDR(cnam)=Saiya x9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:40] Set("SIP/9410-00000095", "CDR(cnum)=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:41] Set("SIP/9410-00000095", "CHANNEL(language)=en") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:42] GosubIf("SIP/9410-00000095", "0?app-check-classofservce,s,1()") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] Set("SIP/9410-00000095", "ROUTEUSER=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] Set("SIP/9410-00000095", "ROUTEUSER=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] GotoIf("SIP/9410-00000095", "1?notblind") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (from-internal,13334441011,7)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] GotoIf("SIP/9410-00000095", "1?restrictedroute-13cee27a2bd93915479f049378cffdd3,13334441011,2:outbound-allroutes,13334441011,2") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (restrictedroute-13cee27a2bd93915479f049378cffdd3,13334441011,2)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] Gosub("SIP/9410-00000095", "sub-record-check,s,1(out,13334441011,dontcare)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] GotoIf("SIP/9410-00000095", "0?initialized") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] Set("SIP/9410-00000095", "__REC_STATUS=INITIALIZED") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] Set("SIP/9410-00000095", "NOW=1527017473") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] Set("SIP/9410-00000095", "__DAY=22") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:5] Set("SIP/9410-00000095", "__MONTH=05") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:6] Set("SIP/9410-00000095", "__YEAR=2018") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] Set("SIP/9410-00000095", "__TIMESTR=20180522-153113") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:8] Set("SIP/9410-00000095", "__FROMEXTEN=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:9] Set("SIP/9410-00000095", "__MON_FMT=wav") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:10] NoOp("SIP/9410-00000095", "Recordings initialized") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:11] ExecIf("SIP/9410-00000095", "0?Set(ARG3=dontcare)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:12] Set("SIP/9410-00000095", "REC_POLICY_MODE_SAVE=") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:13] ExecIf("SIP/9410-00000095", "0?Set(REC_STATUS=NO)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:14] GotoIf("SIP/9410-00000095", "3?checkaction") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (sub-record-check,s,17)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:17] GotoIf("SIP/9410-00000095", "1?sub-record-check,out,1") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (sub-record-check,out,1)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] NoOp("SIP/9410-00000095", "Outbound Recording Check from 9410 to 13334441011") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] Set("SIP/9410-00000095", "RECMODE=dontcare") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] ExecIf("SIP/9410-00000095", "1?Goto(routewins)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (sub-record-check,out,7)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] Gosub("SIP/9410-00000095", "recordcheck,1(dontcare,out,13334441011)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] NoOp("SIP/9410-00000095", "Starting recording check against dontcare") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] Goto("SIP/9410-00000095", "dontcare") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] Return("SIP/9410-00000095", "") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:8] Return("SIP/9410-00000095", "") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] ExecIf("SIP/9410-00000095", "0 ?Set(CDR(accountcode)=)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] Set("SIP/9410-00000095", "MOHCLASS=none") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:5] Set("SIP/9410-00000095", "_NODEST=") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:6] Macro("SIP/9410-00000095", "dialout-trunk,1,13334441011,,off") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] Set("SIP/9410-00000095", "DIAL_TRUNK=1") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] GosubIf("SIP/9410-00000095", "0?sub-pincheck,s,1()") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] GotoIf("SIP/9410-00000095", "0?disabletrunk,1") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] Set("SIP/9410-00000095", "DIAL_NUMBER=13334441011") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:5] Set("SIP/9410-00000095", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:6] Set("SIP/9410-00000095", "OUTBOUND_GROUP=OUT_1") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] Set("SIP/9410-00000095", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:8] GotoIf("SIP/9410-00000095", "1?nomax") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (macro-dialout-trunk,s,10)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:10] GotoIf("SIP/9410-00000095", "0?skipoutcid") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:11] Macro("SIP/9410-00000095", "outbound-callerid,1") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] ExecIf("SIP/9410-00000095", "0?Set(CALLERPRES(name-pres)=)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] ExecIf("SIP/9410-00000095", "0?Set(CALLERPRES(num-pres)=)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] ExecIf("SIP/9410-00000095", "0?Set(REALCALLERIDNUM=9410)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] GotoIf("SIP/9410-00000095", "1?normcid") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (macro-outbound-callerid,s,7)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] Set("SIP/9410-00000095", "USEROUTCID= <9992229410>") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:8] Set("SIP/9410-00000095", "EMERGENCYCID=") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:9] Set("SIP/9410-00000095", "TRUNKOUTCID=<9992229409>") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:10] GotoIf("SIP/9410-00000095", "1?trunkcid") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx_builtins.c: Goto (macro-outbound-callerid,s,15)
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:15] ExecIf("SIP/9410-00000095", "1?Set(CALLERID(all)=<9992229409>)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:16] ExecIf("SIP/9410-00000095", "1?Set(CALLERID(all)= <9992229410>)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:17] ExecIf("SIP/9410-00000095", "0?Set(CALLERID(all)=)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:18] ExecIf("SIP/9410-00000095", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:19] ExecIf("SIP/9410-00000095", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:20] Set("SIP/9410-00000095", "CDR(outbound_cnum)=9992229410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:21] Set("SIP/9410-00000095", "CDR(outbound_cnam)=") in new stack
[2018-05-22 15:31:13] WARNING[2878] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:12] GosubIf("SIP/9410-00000095", "0?sub-flp-1,s,1()") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:13] Set("SIP/9410-00000095", "OUTNUM=13334441011") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:14] Set("SIP/9410-00000095", "custom=DAHDI/g0") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:15] ExecIf("SIP/9410-00000095", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)Tt)") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:16] ExecIf("SIP/9410-00000095", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)TtM(confirm))") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:17] Macro("SIP/9410-00000095", "dialout-trunk-predial-hook,") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] MacroExit("SIP/9410-00000095", "") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:18] GotoIf("SIP/9410-00000095", "0?skipcrm") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:19] Set("SIP/9410-00000095", "__CRM_DIRECTION=OUTBOUND") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:20] Set("SIP/9410-00000095", "__CRM_DESTINATION=13334441011") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:21] Set("SIP/9410-00000095", "__CRM_SOURCE=9410") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:22] AGI("SIP/9410-00000095", "sangomacrm.agi") in new stack
[2018-05-22 15:31:13] VERBOSE[29438][C-0000007f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] res_agi.c: <SIP/9410-00000095>AGI Script sangomacrm.agi completed, returning 0
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:23] Set("SIP/9410-00000095", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:24] NoOp("SIP/9410-00000095", "CRM Finished") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:25] GotoIf("SIP/9410-00000095", "0?bypass,1") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:26] ExecIf("SIP/9410-00000095", "1?Set(CONNECTEDLINE(num,i)=13334441011)") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:27] ExecIf("SIP/9410-00000095", "1?Set(CONNECTEDLINE(name,i)=CID:9992229410)") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:28] ExecIf("SIP/9410-00000095", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)9992229410)") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:29] GotoIf("SIP/9410-00000095", "0?customtrunk") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:30] Dial("SIP/9410-00000095", "DAHDI/g0/13334441011,300,M(setmusic^none)Tt") in new stack
[2018-05-22 15:31:14] VERBOSE[29438][C-0000007f] app_dial.c: Called DAHDI/g0/13334441011
[2018-05-22 15:31:18] VERBOSE[29438][C-0000007f] app_dial.c: DAHDI/2-1 answered SIP/9410-00000095
[2018-05-22 15:31:18] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] Set("DAHDI/2-1", "CHANNEL(musicclass)=none") in new stack
[2018-05-22 15:31:18] VERBOSE[29469][C-0000007f] bridge_channel.c: Channel DAHDI/2-1 joined 'simple_bridge' basic-bridge <4c3b2846-9e23-44ad-b8ee-c3b056ef26cc>
[2018-05-22 15:31:18] VERBOSE[29438][C-0000007f] bridge_channel.c: Channel SIP/9410-00000095 joined 'simple_bridge' basic-bridge <4c3b2846-9e23-44ad-b8ee-c3b056ef26cc>
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] bridge_channel.c: Channel SIP/9410-00000095 left 'simple_bridge' basic-bridge <4c3b2846-9e23-44ad-b8ee-c3b056ef26cc>
[2018-05-22 15:31:42] VERBOSE[29469][C-0000007f] bridge_channel.c: Channel DAHDI/2-1 left 'simple_bridge' basic-bridge <4c3b2846-9e23-44ad-b8ee-c3b056ef26cc>
[2018-05-22 15:31:42] VERBOSE[29469][C-0000007f] sig_analog.c: Hanging up on 'DAHDI/2-1'
[2018-05-22 15:31:42] VERBOSE[29469][C-0000007f] chan_dahdi.c: Hungup 'DAHDI/2-1'
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] app_macro.c: Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'SIP/9410-00000095' in macro 'dialout-trunk'
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Spawn extension (restrictedroute-13cee27a2bd93915479f049378cffdd3, 13334441011, 6) exited non-zero on 'SIP/9410-00000095'
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] Hangup("SIP/9410-00000095", "") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Spawn extension (restrictedroute-13cee27a2bd93915479f049378cffdd3, h, 1) exited non-zero on 'SIP/9410-00000095'
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] app_stack.c: SIP/9410-00000095 Internal Gosub(crm-hangup,s,1) start
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:1] NoOp("SIP/9410-00000095", "Sending Hangup to CRM") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:2] NoOp("SIP/9410-00000095", "HANGUP CAUSE: 16") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:3] ExecIf("SIP/9410-00000095", "0?Set(__CRM_VOICEMAIL=)") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:4] NoOp("SIP/9410-00000095", "MASTER CHANNEL: 1527017472.1912 = 1527017472.1912") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:5] GotoIf("SIP/9410-00000095", "0?return") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:6] Set("SIP/9410-00000095", "__CRM_HANGUP=1") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:7] AGI("SIP/9410-00000095", "sangomacrm.agi") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] res_agi.c: <SIP/9410-00000095>AGI Script sangomacrm.agi completed, returning 0
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] pbx.c: Executing [[email protected]:8] Return("SIP/9410-00000095", "") in new stack
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] app_stack.c: Spawn extension (restrictedroute-13cee27a2bd93915479f049378cffdd3, h, 1) exited non-zero on 'SIP/9410-00000095'
[2018-05-22 15:31:42] VERBOSE[29438][C-0000007f] app_stack.c: SIP/9410-00000095 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
I assume that the restrictedroute stuff means that you are using a Class of Service or Extension Routes module that is denying access to the new route. Have you installed or configured such a module?
A-HA! yes it looks like CoS is in play here. Now, I’m trying to make changes to that but after making adjustments the Submit button isn’t doing anything, and the system isn’t registering any changes. So I may need to just delete the CoS options and see if that works (or uninstall it altogether if it doesn’t).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.