i have a dial plan set for that outbound route with callerid of 5XX that should match NXXXXXX (and prepend my area code)
my business extension is 500, so it should use the trunk?
i tried to dial 6132407353 - here is the log
[2020-02-02 08:50:42] VERBOSE[32627] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5060’ to AOR ‘500’ with expiration of 3600 seconds
[2020-02-02 08:50:42] VERBOSE[32627] res_pjsip_registrar.c: Removed contact ‘sip:[email protected]:5064’ from AOR ‘500’ due to remove existing
[2020-02-02 08:50:42] VERBOSE[6328] res_pjsip/pjsip_options.c: Contact 500/sip:[email protected]:5064 has been deleted
[2020-02-02 08:50:42] VERBOSE[6328] res_pjsip/pjsip_configuration.c: Endpoint 500 is now Unreachable
[2020-02-02 08:50:42] VERBOSE[32627] res_pjsip/pjsip_configuration.c: Endpoint 500 is now Reachable
[2020-02-02 08:50:42] VERBOSE[32627] res_pjsip/pjsip_options.c: Contact 500/sip:[email protected]:5060 is now Reachable. RTT: 25.553 msec
[2020-02-02 08:51:54] VERBOSE[32627] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘192.168.13.186’
[2020-02-02 08:51:54] VERBOSE[32627] netsock2.c: Using SIP RTP Audio TOS bits 184
[2020-02-02 08:51:54] VERBOSE[32627] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2020-02-02 08:51:54] VERBOSE[32627] netsock2.c: Using SIP RTP Audio CoS mark 5
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [6132407353@from-internal:1] Macro(“PJSIP/500-00000001”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/500-00000001”, “TOUCH_MONITOR=1580651514.1”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/500-00000001”, “AMPUSER=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“PJSIP/500-00000001”, “0?report”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“PJSIP/500-00000001”, “1?Set(REALCALLERIDNUM=500)”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/500-00000001”, “AMPUSER=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“PJSIP/500-00000001”, “0?limit”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/500-00000001”, “AMPUSERCIDNAME=AVFusion”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“PJSIP/500-00000001”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“PJSIP/500-00000001”, “0?report”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/500-00000001”, “AMPUSERCID=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/500-00000001”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/500-00000001”, “CALLERID(all)=“AVFusion” <500>”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/500-00000001”, “0?Set(CALLERID(all)=EXTERNAL)”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/500-00000001”, “0?limit”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/500-00000001”, “1?Set(GROUP(concurrency_limit)=500)”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“PJSIP/500-00000001”, “Macro Depth is 1”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/500-00000001”, “1?report2:macroerror”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“PJSIP/500-00000001”, “1?continue”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,36)
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:36] Set(“PJSIP/500-00000001”, “CALLERID(number)=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:37] Set(“PJSIP/500-00000001”, “CALLERID(name)=AVFusion”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:38] GotoIf(“PJSIP/500-00000001”, “0?cnum”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:39] Set(“PJSIP/500-00000001”, “CDR(cnam)=AVFusion”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:40] Set(“PJSIP/500-00000001”, “CDR(cnum)=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-user-callerid:41] Set(“PJSIP/500-00000001”, “CHANNEL(language)=en”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [6132407353@from-internal:2] NoCDR(“PJSIP/500-00000001”, “”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [6132407353@from-internal:3] Progress(“PJSIP/500-00000001”, “”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [6132407353@from-internal:4] Wait(“PJSIP/500-00000001”, “1”) in new stack
[2020-02-02 08:51:55] VERBOSE[6576][C-00000002] pbx.c: Executing [6132407353@from-internal:5] Playback(“PJSIP/500-00000001”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2020-02-02 08:51:55] VERBOSE[6576][C-00000002] file.c: <PJSIP/500-00000001> Playing ‘silence/1.ulaw’ (language ‘en’)
[2020-02-02 08:51:56] VERBOSE[6576][C-00000002] file.c: <PJSIP/500-00000001> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] file.c: <PJSIP/500-00000001> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/500-00000001”, “hangupcall”) in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/500-00000001”, “1?theend”) in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/500-00000001”, “0?Set(CDR(recordingfile)=)”) in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/500-00000001”, " montior file= ") in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/500-00000001”, “1?skipagi”) in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/500-00000001”, “”) in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/500-00000001’ in macro ‘hangupcall’
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/500-00000001’
i think the ‘silence’ is that the trunk isn’t online