Trunk issues?

I have been trying to get FreePBX to work for me on my PC. I have installed distro FreePBX 14.0.1rc1.7. I am able to make calls from extension to extension but calls to did get “The number you have dialed is not in service” out going calls get the message "All circuits are busy, please try your call again later. Below are the log files taken after attempting an outgoing call. If you can help me figure out what I am doing wrong this time, thanks.

[2018-03-27 22:46:31] VERBOSE[11210][C-000004d9] netsock2.c: Using SIP RTP TOS bits 184
[2018-03-27 22:46:31] VERBOSE[11210][C-000004d9] netsock2.c: Using SIP RTP CoS mark 5
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] Macro(“SIP/100-000004b9”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] Set(“SIP/100-000004b9”, “TOUCH_MONITOR=1522190791.1209”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:2] Set(“SIP/100-000004b9”, “AMPUSER=100”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] GotoIf(“SIP/100-000004b9”, “0?report”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:4] ExecIf(“SIP/100-000004b9”, “1?Set(__REALCALLERIDNUM=100)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:5] Set(“SIP/100-000004b9”, “AMPUSER=100”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:6] GotoIf(“SIP/100-000004b9”, “0?limit”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:7] Set(“SIP/100-000004b9”, “AMPUSERCIDNAME=user”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:8] GotoIf(“SIP/100-000004b9”, “0?report”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:9] Set(“SIP/100-000004b9”, “AMPUSERCID=100”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:10] Set(“SIP/100-000004b9”, “__DIAL_OPTIONS=Ttr”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:11] Set(“SIP/100-000004b9”, “CALLERID(all)=“user” <100>”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:12] GotoIf(“SIP/100-000004b9”, “0?limit”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:13] ExecIf(“SIP/100-000004b9”, “1?Set(GROUP(concurrency_limit)=100)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:14] ExecIf(“SIP/100-000004b9”, “0?Set(CHANNEL(language)=)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:15] GotoIf(“SIP/100-000004b9”, “1?continue”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:29] Set(“SIP/100-000004b9”, “CALLERID(number)=100”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:30] Set(“SIP/100-000004b9”, “CALLERID(name)=user”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:31] GotoIf(“SIP/100-000004b9”, “0?cnum”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:32] Set(“SIP/100-000004b9”, “CDR(cnam)=user”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:33] Set(“SIP/100-000004b9”, “CDR(cnum)=100”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:34] Set(“SIP/100-000004b9”, “CHANNEL(language)=en”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:2] Gosub(“SIP/100-000004b9”, “sub-record-check,s,1(out,1XXXXXXXXXX,dontcare)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/100-000004b9”, “0?initialized”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:2] Set(“SIP/100-000004b9”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] Set(“SIP/100-000004b9”, “NOW=1522190791”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:4] Set(“SIP/100-000004b9”, “__DAY=27”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:5] Set(“SIP/100-000004b9”, “__MONTH=03”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [s[email protected]:6] Set(“SIP/100-000004b9”, “__YEAR=2018”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:7] Set(“SIP/100-000004b9”, “__TIMESTR=20180327-224631”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:8] Set(“SIP/100-000004b9”, “__FROMEXTEN=100”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:9] Set(“SIP/100-000004b9”, “__MON_FMT=wav”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:10] NoOp(“SIP/100-000004b9”, “Recordings initialized”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:11] ExecIf(“SIP/100-000004b9”, “0?Set(ARG3=dontcare)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:12] Set(“SIP/100-000004b9”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:13] ExecIf(“SIP/100-000004b9”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:14] GotoIf(“SIP/100-000004b9”, “3?checkaction”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx_builtins.c: Goto (sub-record-check,s,17)
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:17] GotoIf(“SIP/100-000004b9”, “1?sub-record-check,out,1”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx_builtins.c: Goto (sub-record-check,out,1)
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] NoOp(“SIP/100-000004b9”, “Outbound Recording Check from 100 to 1XXXXXXXXXX”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:2] Set(“SIP/100-000004b9”, “RECMODE=dontcare”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/100-000004b9”, “1?Goto(routewins)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx_builtins.c: Goto (sub-record-check,out,7)
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:7] Gosub(“SIP/100-000004b9”, “recordcheck,1(dontcare,out,1XXXXXXXXXX)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] NoOp(“SIP/100-000004b9”, “Starting recording check against dontcare”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:2] Goto(“SIP/100-000004b9”, “dontcare”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] Return(“SIP/100-000004b9”, “”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:8] Return(“SIP/100-000004b9”, “”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/100-000004b9”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:4] Set(“SIP/100-000004b9”, “MOHCLASS=default”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:5] Set(“SIP/100-000004b9”, “_NODEST=”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:6] Macro(“SIP/100-000004b9”, “outisbusy,”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] Progress(“SIP/100-000004b9”, “”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:2] GotoIf(“SIP/100-000004b9”, “0?emergency,1”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] GotoIf(“SIP/100-000004b9”, “0?intracompany,1”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:4] Playback(“SIP/100-000004b9”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
[2018-03-27 22:46:31] VERBOSE[25316][C-000004d9] file.c: <SIP/100-000004b9> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2018-03-27 22:46:33] VERBOSE[25316][C-000004d9] file.c: <SIP/100-000004b9> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:5] Congestion(“SIP/100-000004b9”, “20”) in new stack
[2018-03-27 22:46:35] WARNING[25316][C-000004d9] channel.c: Prodding channel ‘SIP/100-000004b9’ failed
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] app_macro.c: Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/100-000004b9’ in macro ‘outisbusy’
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Spawn extension (from-internal, 18435823051, 6) exited non-zero on ‘SIP/100-000004b9’
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] Macro(“SIP/100-000004b9”, “hangupcall”) in new stack
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/100-000004b9”, “1?theend”) in new stack
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/100-000004b9”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Executing [[email protected]:4] Hangup(“SIP/100-000004b9”, “”) in new stack
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/100-000004b9’ in macro ‘hangupcall’
[2018-03-27 22:46:35] VERBOSE[25316][C-000004d9] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/100-000004b9’

Is your outbound route set like this on purpose?

No it’s not. Thank you. I unchecked that option.

Does it work now? or you still have this issue?

Yes I still have the issue. I also tried switching off emergency just to see.

It looks to me like you either don’t have any outbound routes set up, ir you don’t have the correct dial patterns set for your outbound routes.

I used the wizard to set up patterns, I selected 7 and 10 digit patterns, plus US Toll Free, US Emergency, and Long Distance to set up the outbound route.

Can you show us a screenshot of your dial patterns?

Most US providers require 11 digits to place calls, so you are missing 1NXXNXXXXXX

Also, you don’t repented a 1 by NXXNXXXXXX, and not 1AREACODE by NXXXXXX

Below is a common my dial pattrens

Ok, I deleted dial patterns and tried the ones you listed. I have no change in recorded messages when attempting outgoing or incoming calls.

Either your screen shots are incomplete or you have not assigned any trunks for your outbound route

image




I have also tried this configuration;

type=friend
secret=password
username=myusername
qualify=no
host=sip.providerdomain.com
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
allow=ulaw
insecure=port,invite
fromdomain=sip.providerdomain.com

What SIP provider are you using?

I have the issue resolved. I had overlooked redirecting my service to the new machines ip address.
I am having fail2ban issues. Should I start a new thread?

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