What Module manages outbound routes?


(Ariel Pena) #1

What Module manages outbound routes. I am getting the error below and I want to see if uninstalling an re-installing the module will help. This started happening after a restore.

PDOException thrown with message “SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘notification_on’ in ‘field list’”

Stacktrace:
#5 PDOException in /var/www/html/admin/modules/core/functions.inc.php:5295
#4 PDOStatement:execute in /var/www/html/admin/modules/core/functions.inc.php:5295
#3 core_routing_editbyid in /var/www/html/admin/modules/core/Core.class.php:1114
#2 FreePBX\modules\Core:doConfigPageInit in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:290
#1 FreePBX\GuiHooks:doBMOConfigPage in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:252
#0 FreePBX\GuiHooks:doConfigPageInits in /var/www/html/admin/config.php:445


(Kapil Gupta) #2

Hi @Zirwo01 Please update your core module to the latest version. Or you could simply try to install the core module again by fwconsole ma install core


(Ariel Pena) #3

Thanks this fixed the issue. For future reference, what module just handles outboud route?


(Kapil Gupta) #4

@Zirwo01 Core module manages the outbound routes.


(Ariel Pena) #5

Thanks!


(Ariel Pena) #6

One more I was able to create the outbound route. but I am getting 'All circuits are busy now when I perform an outbound call" logs shows the error below

[2021-02-22 04:24:00] VERBOSE[949][C-0000008c] netsock2.c: Using SIP RTP TOS bits 184
[2021-02-22 04:24:00] VERBOSE[949][C-0000008c] netsock2.c: Using SIP RTP CoS mark 5
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:1] Macro(“SIP/6000-0000000f”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/6000-0000000f”, “TOUCH_MONITOR=1613967840.15”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/6000-0000000f”, “AMPUSER=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:3] Set(“SIP/6000-0000000f”, “HOTDESCKCHAN=6000-0000000f”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:4] Set(“SIP/6000-0000000f”, “HOTDESKEXTEN=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/6000-0000000f”, “HOTDESKCALL=0”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“SIP/6000-0000000f”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(name)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/6000-0000000f”, “0?report”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“SIP/6000-0000000f”, “1?Set(REALCALLERIDNUM=6000)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/6000-0000000f”, “AMPUSER=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“SIP/6000-0000000f”, “0?limit”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/6000-0000000f”, “AMPUSERCIDNAME=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“SIP/6000-0000000f”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“SIP/6000-0000000f”, “0?report”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:15] Set(“SIP/6000-0000000f”, “AMPUSERCID=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:16] Set(“SIP/6000-0000000f”, “__DIAL_OPTIONS=Ttr”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:17] Set(“SIP/6000-0000000f”, “CALLERID(all)=“6000” <6000>”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:18] Set(“SIP/6000-0000000f”, “HOTDESCKCHAN=6000-0000000f”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:19] Set(“SIP/6000-0000000f”, “HOTDESKEXTEN=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:20] Set(“SIP/6000-0000000f”, “HOTDESKCALL=0”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:21] ExecIf(“SIP/6000-0000000f”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:22] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(name)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:23] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(all)=”" < >)") in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:24] ExecIf(“SIP/6000-0000000f”, “0?Set(CUSDIAL=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:25] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(all)=“6000” <6000>)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:26] GotoIf(“SIP/6000-0000000f”, “0?limit”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:27] ExecIf(“SIP/6000-0000000f”, “1?Set(GROUP(concurrency_limit)=6000)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:28] ExecIf(“SIP/6000-0000000f”, “0?Set(CHANNEL(language)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:29] NoOp(“SIP/6000-0000000f”, “Macro Depth is 1”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:30] GotoIf(“SIP/6000-0000000f”, “1?report2:macroerror”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-user-callerid,s,31)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“SIP/6000-0000000f”, “1?continue”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-user-callerid,s,50)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:50] Set(“SIP/6000-0000000f”, “CALLERID(number)=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:51] Set(“SIP/6000-0000000f”, “CALLERID(name)=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:52] GotoIf(“SIP/6000-0000000f”, “0?cnum”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:53] Set(“SIP/6000-0000000f”, “CDR(cnam)=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:54] Set(“SIP/6000-0000000f”, “CDR(cnum)=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-user-callerid:55] Set(“SIP/6000-0000000f”, “CHANNEL(language)=en”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:2] Gosub(“SIP/6000-0000000f”, “sub-record-check,s,1(out,4808622782,dontcare)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/6000-0000000f”, “0?initialized”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/6000-0000000f”, “__REC_STATUS=INITIALIZED”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/6000-0000000f”, “NOW=1613967840”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/6000-0000000f”, “__DAY=22”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/6000-0000000f”, “__MONTH=02”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/6000-0000000f”, “__YEAR=2021”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/6000-0000000f”, “__TIMESTR=20210222-042400”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/6000-0000000f”, “__FROMEXTEN=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/6000-0000000f”, “__MON_FMT=wav”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/6000-0000000f”, “Recordings initialized”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/6000-0000000f”, “0?Set(ARG3=dontcare)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/6000-0000000f”, “REC_POLICY_MODE_SAVE=”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/6000-0000000f”, “0?Set(REC_STATUS=NO)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/6000-0000000f”, “3?checkaction”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (sub-record-check,s,17)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/6000-0000000f”, “1?sub-record-check,out,1”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (sub-record-check,out,1)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/6000-0000000f”, “Outbound Recording Check from 6000 to 4808622782”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/6000-0000000f”, “RECMODE=dontcare”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/6000-0000000f”, “1?Goto(routewins)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (sub-record-check,out,7)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/6000-0000000f”, “recordcheck,1(dontcare,out,4808622782)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/6000-0000000f”, “Starting recording check against dontcare”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/6000-0000000f”, “dontcare”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:3] ExecIf(“SIP/6000-0000000f”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:4] Set(“SIP/6000-0000000f”, “_ROUTEID=8”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:5] Set(“SIP/6000-0000000f”, “_ROUTENAME=Trunk2”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:6] Set(“SIP/6000-0000000f”, “MOHCLASS=default”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:7] ExecIf(“SIP/6000-0000000f”, “1?Set(TRUNKCIDOVERRIDE=+14806139911)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:8] Set(“SIP/6000-0000000f”, “_CALLERIDNAMEINTERNAL=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:9] Set(“SIP/6000-0000000f”, “_CALLERIDNUMINTERNAL=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:10] Set(“SIP/6000-0000000f”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:11] Set(“SIP/6000-0000000f”, “_NODEST=”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:12] Macro(“SIP/6000-0000000f”, “dialout-trunk,3,+14808622782,off”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/6000-0000000f”, “DIAL_TRUNK=3”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/6000-0000000f”, “0?Set(DIAL_OPTIONS=tr)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/6000-0000000f”, “0?sub-pincheck,s,1()”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(num)=6000)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/6000-0000000f”, “0?disabletrunk,1”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/6000-0000000f”, “DIAL_NUMBER=+14808622782”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“SIP/6000-0000000f”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“SIP/6000-0000000f”, “OUTBOUND_GROUP=OUT_3”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“SIP/6000-0000000f”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/6000-0000000f”, “1?nomax”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/6000-0000000f”, “0?skipoutcid”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“SIP/6000-0000000f”, “outbound-callerid,3”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“SIP/6000-0000000f”, “6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“SIP/6000-0000000f”, “cnum”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“SIP/6000-0000000f”, “HOTDESCKCHAN=6000-0000000f”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“SIP/6000-0000000f”, “HOTDESKEXTEN=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“SIP/6000-0000000f”, “HOTDESKCALL=0”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“SIP/6000-0000000f”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(name)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“SIP/6000-0000000f”, “ALLOWTHISROUTE=NO”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/6000-0000000f”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/6000-0000000f”, “0?Hangup()”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/6000-0000000f”, “0?Set(REALCALLERIDNUM=6000)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/6000-0000000f”, “0?Set(AMPUSER=6000)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“SIP/6000-0000000f”, “1?normcid”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“SIP/6000-0000000f”, “USEROUTCID=”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“SIP/6000-0000000f”, “EMERGENCYCID=”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/6000-0000000f”, “0?Set(EMERGENCYCID=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:23] Set(“SIP/6000-0000000f”, “TRUNKOUTCID=”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf(“SIP/6000-0000000f”, “1?trunkcid”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(all)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(all)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf(“SIP/6000-0000000f”, “1?Set(CALLERID(all)=+14806139911)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERID(all)=6000)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:34] Set(“SIP/6000-0000000f”, “TIOHIDE=no”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf(“SIP/6000-0000000f”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf(“SIP/6000-0000000f”, “1?Set(CALLERID(name)=)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:40] Set(“SIP/6000-0000000f”, “CDR(outbound_cnum)=+14806139911”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outbound-callerid:41] Set(“SIP/6000-0000000f”, “CDR(outbound_cnam)=”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/6000-0000000f”, “0?sub-flp-3,s,1()”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/6000-0000000f”, “OUTNUM=+14808622782”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“SIP/6000-0000000f”, “custom=SIP/Trunk to cucm”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/6000-0000000f”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/6000-0000000f”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“SIP/6000-0000000f”, “dialout-trunk-predial-hook,”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/6000-0000000f”, “0?skipcrm”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“SIP/6000-0000000f”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/6000-0000000f”, “__CRM_DESTINATION=+14808622782”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“SIP/6000-0000000f”, “__CRM_SOURCE=6000”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:24] AGI(“SIP/6000-0000000f”, “sangomacrm.agi”) in new stack
[2021-02-22 04:24:00] VERBOSE[13541][C-0000008c] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] res_agi.c: <SIP/6000-0000000f>AGI Script sangomacrm.agi completed, returning 0
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“SIP/6000-0000000f”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“SIP/6000-0000000f”, “CRM Finished”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/6000-0000000f”, “0?bypass,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/6000-0000000f”, “1?Set(CONNECTEDLINE(num,i)=+14808622782)”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“SIP/6000-0000000f”, “1?Set(CONNECTEDLINE(name,i)=CID:+14806139911)”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“SIP/6000-0000000f”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)+14806139911)”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“SIP/6000-0000000f”, “0?customtrunk”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf(“SIP/6000-0000000f”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:33] Set(“SIP/6000-0000000f”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/6000-0000000f”, “SIP/Trunk to cucm/+14808622782,300,Tb(func-apply-sipheaders^s^1,(3))U(sub-send-obroute-email^+14808622782^4808622782^3^1613967840^^+14806139911)”) in new stack
[2021-02-22 04:24:01] WARNING[13541][C-0000008c] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] app_dial.c: No devices or endpoints to dial (technology/resource)
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp(“SIP/6000-0000000f”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-dialout-trunk:36] GotoIf(“SIP/6000-0000000f”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/6000-0000000f”, “RC=20”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/6000-0000000f”, “20,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-dialout-trunk,20,1)
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [20@macro-dialout-trunk:1] Goto(“SIP/6000-0000000f”, “continue,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/6000-0000000f”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf(“SIP/6000-0000000f”, “1?Set(CALLERID(number)=6000)”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [4808622782@from-internal:13] Macro(“SIP/6000-0000000f”, “outisbusy,”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outisbusy:1] Progress(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outisbusy:2] GotoIf(“SIP/6000-0000000f”, “0?emergency,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outisbusy:3] GotoIf(“SIP/6000-0000000f”, “0?intracompany,1”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outisbusy:4] Playback(“SIP/6000-0000000f”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
[2021-02-22 04:24:01] VERBOSE[13541][C-0000008c] file.c: <SIP/6000-0000000f> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2021-02-22 04:24:03] VERBOSE[13541][C-0000008c] file.c: <SIP/6000-0000000f> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-outisbusy:5] Congestion(“SIP/6000-0000000f”, “20”) in new stack
[2021-02-22 04:24:05] WARNING[13541][C-0000008c] channel.c: Prodding channel ‘SIP/6000-0000000f’ failed
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] app_macro.c: Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/6000-0000000f’ in macro ‘outisbusy’
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Spawn extension (from-internal, 4808622782, 13) exited non-zero on ‘SIP/6000-0000000f’
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [h@from-internal:1] Macro(“SIP/6000-0000000f”, “hangupcall”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/6000-0000000f”, “1?theend”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/6000-0000000f”, “0?Set(CDR(recordingfile)=)”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“SIP/6000-0000000f”, " montior file= ") in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“SIP/6000-0000000f”, “1?skipagi”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/6000-0000000f’ in macro ‘hangupcall’
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/6000-0000000f’
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] app_stack.c: SIP/6000-0000000f Internal Gosub(crm-hangup,s,1) start
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:1] NoOp(“SIP/6000-0000000f”, “Sending Hangup to CRM”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/6000-0000000f”, “HANGUP CAUSE: 34”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/6000-0000000f”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/6000-0000000f”, “MASTER CHANNEL: 1613967840.15 = 1613967840.15”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/6000-0000000f”, “0?return”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/6000-0000000f”, “__CRM_HANGUP=1”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/6000-0000000f”, “sangomacrm.agi”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] res_agi.c: <SIP/6000-0000000f>AGI Script sangomacrm.agi completed, returning 0
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] pbx.c: Executing [s@crm-hangup:8] Return(“SIP/6000-0000000f”, “”) in new stack
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/6000-0000000f’
[2021-02-22 04:24:05] VERBOSE[13541][C-0000008c] app_stack.c: SIP/6000-0000000f Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=


#7

So Asterisk thinks the trunk is offline, before even attempting the call. Is the trunk using registration? If so, what does Reports -> Asterisk Info show under Registries?

Is the trunk using qualify? If so, what does Asterisk Info show under Peers?

If neither of the above are a problem, try renaming your trunk to TrunkToCUCM (or something else without spaces or special characters).


(Ariel Pena) #8

thanks, I end up deleting and recreating the route