RasPBX - trunk registered, but not online

fresh current install (v15)
i have FreePBX(15) running in a VM on my server - no issues
i duplicated all the settings and tested it out by disabling my 2 trunks in FreePBX and enabling them in RasPBX - everything worked a couple of weeks ago
did a raspbx-update (trunks disabled at this point)
i had to reboot my server to apply updates Thursday, so i enabled the 2 trunks in RaspBX - neither was online, but they were registered
1 of these is my business line with voip.ms, which allowed me to create a sub-account and i could register the trunk from RasPBX and keep both trunks to voip.ms active so failover should be automatic
this new sub-account also shows registered on voip.ms and in local status, but not online
where can i check to see what it might be upset about
i see other threads that claim that updating RasPBX has resulted in trunk failures recently

mark

i just did 1 more check - i disabled both trunks (freephoneline-SIP, voip.ms - IAX) in FreePBX
enabled freephoneline in RasPBX - OK
changed voip.ms trunk in RasPBX to main registration, not sub-account - shows registered, but not online
looks like a problem with just IAX

from log:
[2020-02-01 11:45:57] NOTICE[29084] iax2/provision.c: No IAX provisioning configuration found, IAX provisioning disabled.
significant?

Not significanrl
Set in the trunk"qualify=yes" to see “online status”

my IAX trunk now says online vs unmonitored
still not showing as online in dashboard

Sorry, don’t ever look at the Dashboard so I have no idea where they get that figure from, ( How can you believe graphs without necessary labels and scales :slight_smile: )

But if it works, what’s the problem? If it doesn’t you will need more than the dashboard to fix it .

no, it doesn’t work - so i have to assume that the dashboard is getting it’s info from some other place

You would have to post a log of it “not working” to get any useful reply.

[2020-02-01 15:41:20] VERBOSE[32627] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5060’ to AOR ‘500’ with expiration of 3600 seconds
[2020-02-01 15:41:20] VERBOSE[32627] res_pjsip_registrar.c: Removed contact ‘sip:[email protected]:5064’ from AOR ‘500’ due to remove existing
[2020-02-01 15:41:20] VERBOSE[18366] res_pjsip/pjsip_options.c: Contact 500/sip:[email protected]:5060 is now Reachable. RTT: 15.510 msec
[2020-02-01 15:41:20] VERBOSE[32627] res_pjsip/pjsip_options.c: Contact 500/sip:[email protected]:5064 has been deleted
[2020-02-01 15:42:00] VERBOSE[32627] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘192.168.13.186’
[2020-02-01 15:42:00] VERBOSE[32627] netsock2.c: Using SIP RTP Audio TOS bits 184
[2020-02-01 15:42:00] VERBOSE[32627] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2020-02-01 15:42:00] VERBOSE[32627] netsock2.c: Using SIP RTP Audio CoS mark 5
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/500-00000000”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2020-02-01 15:42:00] WARNING[18376][C-00000001] app_macro.c: Macro() is deprecated and will be removed from a future version of Asterisk.
[2020-02-01 15:42:00] WARNING[18376][C-00000001] app_macro.c: Dialplan should be updated to use Gosub instead.
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:1] Set(“PJSIP/500-00000000”, “TOUCH_MONITOR=1580589720.0”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:2] Set(“PJSIP/500-00000000”, “AMPUSER=500”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:3] GotoIf(“PJSIP/500-00000000”, “0?report”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:4] ExecIf(“PJSIP/500-00000000”, “1?Set(REALCALLERIDNUM=500)”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:5] Set(“PJSIP/500-00000000”, “AMPUSER=500”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:6] GotoIf(“PJSIP/500-00000000”, “0?limit”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:7] Set(“PJSIP/500-00000000”, “AMPUSERCIDNAME=AVFusion”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:8] ExecIf(“PJSIP/500-00000000”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:9] GotoIf(“PJSIP/500-00000000”, “0?report”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:10] Set(“PJSIP/500-00000000”, “AMPUSERCID=500”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:11] Set(“PJSIP/500-00000000”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:12] Set(“PJSIP/500-00000000”, “CALLERID(all)=“AVFusion” <500>”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:13] ExecIf(“PJSIP/500-00000000”, “0?Set(CALLERID(all)=EXTERNAL)”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:14] GotoIf(“PJSIP/500-00000000”, “0?limit”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:15] ExecIf(“PJSIP/500-00000000”, “1?Set(GROUP(concurrency_limit)=500)”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:16] NoOp(“PJSIP/500-00000000”, “Macro Depth is 1”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:17] GotoIf(“PJSIP/500-00000000”, “1?report2:macroerror”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:18] GotoIf(“PJSIP/500-00000000”, “1?continue”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,36)
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:36] Set(“PJSIP/500-00000000”, “CALLERID(number)=500”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:37] Set(“PJSIP/500-00000000”, “CALLERID(name)=AVFusion”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:38] GotoIf(“PJSIP/500-00000000”, “0?cnum”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:39] Set(“PJSIP/500-00000000”, “CDR(cnam)=AVFusion”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:40] Set(“PJSIP/500-00000000”, “CDR(cnum)=500”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:41] Set(“PJSIP/500-00000000”, “CHANNEL(language)=en”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:2] NoCDR(“PJSIP/500-00000000”, “”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:3] Progress(“PJSIP/500-00000000”, “”) in new stack
[2020-02-01 15:42:00] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:4] Wait(“PJSIP/500-00000000”, “1”) in new stack
[2020-02-01 15:42:01] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:5] Playback(“PJSIP/500-00000000”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2020-02-01 15:42:01] VERBOSE[18376][C-00000001] file.c: <PJSIP/500-00000000> Playing ‘silence/1.ulaw’ (language ‘en’)
[2020-02-01 15:42:02] VERBOSE[18376][C-00000001] file.c: <PJSIP/500-00000000> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] file.c: <PJSIP/500-00000000> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/500-00000000”, “hangupcall”) in new stack
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/500-00000000”, “1?theend”) in new stack
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/500-00000000”, “0?Set(CDR(recordingfile)=)”) in new stack
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:4] NoOp(“PJSIP/500-00000000”, " montior file= ") in new stack
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:5] GotoIf(“PJSIP/500-00000000”, “1?skipagi”) in new stack
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Executing [[email protected]:7] Hangup(“PJSIP/500-00000000”, “”) in new stack
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/500-00000000’ in macro ‘hangupcall’
[2020-02-01 15:42:05] VERBOSE[18376][C-00000001] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/500-00000000’
[2020-02-01 15:43:34] VERBOSE[32627] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5064’ to AOR ‘500’ with expiration of 3600 seconds
[2020-02-01 15:43:34] VERBOSE[18518] res_pjsip/pjsip_options.c: Contact 500/sip:[email protected]:5064 is now Reachable. RTT: 16.464 msec
[2020-02-01 15:43:34] VERBOSE[32627] res_pjsip_registrar.c: Removed contact ‘sip:[email protected]:5060’ from AOR ‘500’ due to remove existing
[2020-02-01 15:43:34] VERBOSE[32627] res_pjsip/pjsip_options.c: Contact 500/sip:[email protected]:5060 has been deleted
[2020-02-01 15:43:34] VERBOSE[32627] res_pjsip_registrar.c: Attempted to remove non-existent contact ‘sip:[email protected]:5060’ from AOR ‘500’ by request

You will need an outbound route that matched 2407353 and sends it in an acceptable format to a trunk that can route it correctly.

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 [[email protected]: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 [[email protected]: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 [[email protected]:2] Set(“PJSIP/500-00000001”, “AMPUSER=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:3] GotoIf(“PJSIP/500-00000001”, “0?report”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]:5] Set(“PJSIP/500-00000001”, “AMPUSER=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:6] GotoIf(“PJSIP/500-00000001”, “0?limit”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:7] Set(“PJSIP/500-00000001”, “AMPUSERCIDNAME=AVFusion”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]:9] GotoIf(“PJSIP/500-00000001”, “0?report”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:10] Set(“PJSIP/500-00000001”, “AMPUSERCID=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:11] Set(“PJSIP/500-00000001”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]:14] GotoIf(“PJSIP/500-00000001”, “0?limit”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:36] Set(“PJSIP/500-00000001”, “CALLERID(number)=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:37] Set(“PJSIP/500-00000001”, “CALLERID(name)=AVFusion”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:38] GotoIf(“PJSIP/500-00000001”, “0?cnum”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:39] Set(“PJSIP/500-00000001”, “CDR(cnam)=AVFusion”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:40] Set(“PJSIP/500-00000001”, “CDR(cnum)=500”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:41] Set(“PJSIP/500-00000001”, “CHANNEL(language)=en”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:2] NoCDR(“PJSIP/500-00000001”, “”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:3] Progress(“PJSIP/500-00000001”, “”) in new stack
[2020-02-02 08:51:54] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:4] Wait(“PJSIP/500-00000001”, “1”) in new stack
[2020-02-02 08:51:55] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]:1] Macro(“PJSIP/500-00000001”, “hangupcall”) in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]:4] NoOp(“PJSIP/500-00000001”, " montior file= ") in new stack
[2020-02-02 08:51:59] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]: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 [[email protected]: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

You prob want a cid of _5xx

i changed the registration to SIP (not IAX)
trunk registered and shows online
still can’t dial out, tried _5xx
can’t call in either

2020-02-02 08:51:55] VERBOSE[6576][C-00000002] pbx.c: Executing [[email protected]:5] Playback(“PJSIP/500-00000001”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack

First remove the restriction for 500, if that doesnt wirk setup a catchall outbound rout,

didn’t work
how do i set up a catchall route?

https://wiki.freepbx.org/display/FPG/Outbound+Routes+Configuration+Examples

Is just one of many useful pages in the wiki, have you been there yet?

yes, i have been there
i have all this working on FreePBX - same settings
seems to be some sort of RasPBX issue

I think your wasting your time following that line of thinking :wink: .

Just try a catchall route.

not sure i can use a catchall route
i have 2 trunks, business & home
i use the callid to route my extensions to the correct trunk

you are calling out, Baby steps, match _. and prioritize your trunking,

For inbound set a catchall , again _. (DID = any/callerID = any) to an extension you know works.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.