I am finally getting around to setting up my commercial module. I have several trunks and dial plans. If there is no extension then there is no default trunk to dial out. My appointment reminder does not dial out on the callerid listed in the settings. If I set the reminder to dial an internal extension instead of a 10 digit phone number then it works but the callerid says “unknown” If I set it to a remind a 10 digit phone number the logs say this:
[2020-08-20 21:15:01] VERBOSE[11944] pbx_spool.c: Attempting call on Local/1235551234@areminder-out for 1*18@areminder-main:1 (Retry 1)
[2020-08-20 21:15:01] VERBOSE[11944] dial.c: Called 1235551234@areminder-out
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [1235551234@areminder-out:1] Macro("Local/1235551234@areminder-out-00000019;2", "blkvm-set,") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [s@macro-blkvm-set:1] ExecIf("Local/1235551234@areminder-out-00000019;2", "1?Set(__BLKVM_CHANNEL=Local/1235551234@areminder-out-00000019;2)") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [s@macro-blkvm-set:2] Set("Local/1235551234@areminder-out-00000019;2", "SHARED(BLKVM,Local/1235551234@areminder-out-00000019;2)=TRUE") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [s@macro-blkvm-set:3] Set("Local/1235551234@areminder-out-00000019;2", "GOSUB_RETVAL=TRUE") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [s@macro-blkvm-set:4] MacroExit("Local/1235551234@areminder-out-00000019;2", "") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [1235551234@areminder-out:2] Dial("Local/1235551234@areminder-out-00000019;2", "Local/1235551234@from-internal,45,M(auto-blkvm)") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] app_dial.c: Called Local/1235551234@from-internal
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [1235551234@from-internal:1] Macro("Local/1235551234@from-internal-0000001a;2", "user-callerid,LIMIT") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:1] Set("Local/1235551234@from-internal-0000001a;2", "TOUCH_MONITOR=1597972501.7792") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:2] Set("Local/1235551234@from-internal-0000001a;2", "AMPUSER=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:3] Set("Local/1235551234@from-internal-0000001a;2", "HOTDESCKCHAN=1235551234@from-internal-0000001a;2") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:4] Set("Local/1235551234@from-internal-0000001a;2", "HOTDESKEXTEN=1235551234@from") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:5] Set("Local/1235551234@from-internal-0000001a;2", "HOTDESKCALL=0") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:6] ExecIf("Local/1235551234@from-internal-0000001a;2", "0?Set(HOTDESKCALL=1)") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:7] ExecIf("Local/1235551234@from-internal-0000001a;2", "0?Set(CALLERID(name)=)") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("Local/1235551234@from-internal-0000001a;2", "0?report") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:9] ExecIf("Local/1235551234@from-internal-0000001a;2", "1?Set(REALCALLERIDNUM=)") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:10] Set("Local/1235551234@from-internal-0000001a;2", "AMPUSER=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:11] GotoIf("Local/1235551234@from-internal-0000001a;2", "0?limit") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:12] Set("Local/1235551234@from-internal-0000001a;2", "AMPUSERCIDNAME=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("Local/1235551234@from-internal-0000001a;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("Local/1235551234@from-internal-0000001a;2", "1?report") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx_builtins.c: Goto (macro-user-callerid,s,28)
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:28] NoOp("Local/1235551234@from-internal-0000001a;2", "Macro Depth is 1") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:29] GotoIf("Local/1235551234@from-internal-0000001a;2", "1?report2:macroerror") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx_builtins.c: Goto (macro-user-callerid,s,30)
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("Local/1235551234@from-internal-0000001a;2", "1?continue") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx_builtins.c: Goto (macro-user-callerid,s,49)
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:49] Set("Local/1235551234@from-internal-0000001a;2", "CALLERID(number)=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:50] Set("Local/1235551234@from-internal-0000001a;2", "CALLERID(name)=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:51] GotoIf("Local/1235551234@from-internal-0000001a;2", "1?cnum") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx_builtins.c: Goto (macro-user-callerid,s,53)
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:53] Set("Local/1235551234@from-internal-0000001a;2", "CDR(cnum)=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:54] Set("Local/1235551234@from-internal-0000001a;2", "CHANNEL(language)=en") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [s@macro-user-callerid:55] GosubIf("Local/1235551234@from-internal-0000001a;2", "0?app-check-classofservce,s,1()") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [1235551234@from-internal:2] Set("Local/1235551234@from-internal-0000001a;2", "ROUTEUSER=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [1235551234@from-internal:3] Set("Local/1235551234@from-internal-0000001a;2", "ROUTEUSER=") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [1235551234@from-internal:4] GotoIf("Local/1235551234@from-internal-0000001a;2", "1?notblind") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx_builtins.c: Goto (from-internal,1235551234,7)
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Executing [1235551234@from-internal:7] GotoIf("Local/1235551234@from-internal-0000001a;2", "0?,1235551234,2:outbound-allroutes,1235551234,2") in new stack
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx_builtins.c: Goto (outbound-allroutes,1235551234,2)
[2020-08-20 21:15:01] VERBOSE[11946][C-0000069e] pbx.c: Auto fallthrough, channel 'Local/1235551234@from-internal-0000001a;2' status is 'UNKNOWN'
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Executing [1235551234@areminder-out:3] Hangup("Local/1235551234@areminder-out-00000019;2", "") in new stack
[2020-08-20 21:15:01] VERBOSE[11945][C-0000069e] pbx.c: Spawn extension (areminder-out, 1235551234, 3) exited non-zero on 'Local/1235551234@areminder-out-00000019;2'
[2020-08-20 21:15:01] NOTICE[11944] pbx_spool.c: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[2020-08-20 21:15:01] NOTICE[11944] pbx_spool.c: Queued call to Local/1235551234@areminder-out expired without completion after 0 attempts
I’m sure this is a dial plan issue but I don’t know what I am missing.