Cannot make outgoing and incoming calls on new install, "The number you have dialed is not available"

We are unable to make Cannot make outgoing and incoming calls after a new install. Every incoming calls receives message “The number you have dialed is not available”
We are using the chansip driver
I have disabled the firewall and Allowed SIP guests,

FreePBX 14.0.13.2

Trunk PEER Details :

type=peer
transport=tcp
srvlookup=no
registersip=yes
registeriax=no
protocol=sip
nat=yes
localnet=192.168.6.0/255.255.255.0
host=provideraddress
hassip=yes
hasiax=no
externip=sipaddress
context=from-trunk
call-limit=50
bindport=5060
bindaddr=0.0.0.0
allowoverlap=no
dtmfmode=rfc2833
disallow=all
allow=ulaw

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:1] NoOp("SIP/External sip IP-000005d1", "Received incoming SIP connection from unknown peer to +441241815740") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:1] NoOp("SIP/External sip IP-000005d1", "Received incoming SIP connection from unknown peer to +441241815740") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d1", "DID=+441241815740") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d1", "DID=+441241815740") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:3] Goto("SIP/External sip IP-000005d1", "s,1") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:3] Goto("SIP/External sip IP-000005d1", "s,1") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx_builtins.c: Goto (from-sip-external,s,1)

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx_builtins.c: Goto (from-sip-external,s,1)

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:1] GotoIf("SIP/External sip IP-000005d1", "1?setlanguage:checkanon") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:1] GotoIf("SIP/External sip IP-000005d1", "1?setlanguage:checkanon") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx_builtins.c: Goto (from-sip-external,s,2)

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx_builtins.c: Goto (from-sip-external,s,2)

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d1", "CHANNEL(language)=en") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d1", "CHANNEL(language)=en") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:3] GotoIf("SIP/External sip IP-000005d1", "1?noanonymous") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:3] GotoIf("SIP/External sip IP-000005d1", "1?noanonymous") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx_builtins.c: Goto (from-sip-external,s,5)

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx_builtins.c: Goto (from-sip-external,s,5)

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:5] Set("SIP/External sip IP-000005d1", "TIMEOUT(absolute)=15") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:5] Set("SIP/External sip IP-000005d1", "TIMEOUT(absolute)=15") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] func_timeout.c: Channel will hangup at 2019-06-04 13:47:50.328 CDT.

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] func_timeout.c: Channel will hangup at 2019-06-04 13:47:50.328 CDT.

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:6] Log("SIP/External sip IP-000005d1", "WARNING,"Rejecting unknown SIP connection from 46.166.187.161"") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:6] Log("SIP/External sip IP-000005d1", "WARNING,"Rejecting unknown SIP connection from 46.166.187.161"") in new stack

[2019-06-04 13:47:35] WARNING[8339][C-000005d1] Ext. s: "Rejecting unknown SIP connection from 46.166.187.161"

[2019-06-04 13:47:35] WARNING[8339][C-000005d1] Ext. s: "Rejecting unknown SIP connection from 46.166.187.161"

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:7] Answer("SIP/External sip IP-000005d1", "") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:7] Answer("SIP/External sip IP-000005d1", "") in new stack

[2019-06-04 13:47:35] VERBOSE[8336][C-000005cf] pbx.c: Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/External sip IP-000005cf’

[2019-06-04 13:47:35] VERBOSE[8336][C-000005cf] pbx.c: Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/External sip IP-000005cf’

[2019-06-04 13:47:35] VERBOSE[8336][C-000005cf] pbx.c: Executing [[email protected]:1] Hangup("SIP/External sip IP-000005cf", "") in new stack

[2019-06-04 13:47:35] VERBOSE[8336][C-000005cf] pbx.c: Executing [[email protected]:1] Hangup("SIP/External sip IP-000005cf", "") in new stack

[2019-06-04 13:47:35] VERBOSE[8336][C-000005cf] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/External sip IP-000005cf’

[2019-06-04 13:47:35] VERBOSE[8336][C-000005cf] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/External sip IP-000005cf’

[2019-06-04 13:47:35] WARNING[12204] chan_sip.c: Retransmission timeout reached on transmission 910634500-675668316-1017662930 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions

Packet timed out after 31996ms with no response

[2019-06-04 13:47:35] WARNING[12204] chan_sip.c: Retransmission timeout reached on transmission 910634500-675668316-1017662930 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions

Packet timed out after 31996ms with no response

[2019-06-04 13:47:35] VERBOSE[8337][C-000005d0] pbx.c: Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/External sip IP-000005d0’

[2019-06-04 13:47:35] VERBOSE[8337][C-000005d0] pbx.c: Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/External sip IP-000005d0’

[2019-06-04 13:47:35] VERBOSE[8337][C-000005d0] pbx.c: Executing [[email protected]:1] Hangup("SIP/External sip IP-000005d0", "") in new stack

[2019-06-04 13:47:35] VERBOSE[8337][C-000005d0] pbx.c: Executing [[email protected]:1] Hangup("SIP/External sip IP-000005d0", "") in new stack

[2019-06-04 13:47:35] VERBOSE[8337][C-000005d0] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/External sip IP-000005d0’

[2019-06-04 13:47:35] VERBOSE[8337][C-000005d0] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/External sip IP-000005d0’

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:8] Wait("SIP/External sip IP-000005d1", "2") in new stack

[2019-06-04 13:47:35] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:8] Wait("SIP/External sip IP-000005d1", "2") in new stack

[2019-06-04 13:47:36] VERBOSE[12204][C-000005d2] netsock2.c: Using SIP RTP TOS bits 184

[2019-06-04 13:47:36] VERBOSE[12204][C-000005d2] netsock2.c: Using SIP RTP TOS bits 184

[2019-06-04 13:47:36] VERBOSE[12204][C-000005d2] netsock2.c: Using SIP RTP CoS mark 5

[2019-06-04 13:47:36] VERBOSE[12204][C-000005d2] netsock2.c: Using SIP RTP CoS mark 5

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:1] NoOp("SIP/External sip IP-000005d2", "Received incoming SIP connection from unknown peer to +441225535004") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:1] NoOp("SIP/External sip IP-000005d2", "Received incoming SIP connection from unknown peer to +441225535004") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d2", "DID=+441225535004") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d2", "DID=+441225535004") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:3] Goto("SIP/External sip IP-000005d2", "s,1") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:3] Goto("SIP/External sip IP-000005d2", "s,1") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx_builtins.c: Goto (from-sip-external,s,1)

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx_builtins.c: Goto (from-sip-external,s,1)

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:1] GotoIf("SIP/External sip IP-000005d2", "1?setlanguage:checkanon") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:1] GotoIf("SIP/External sip IP-000005d2", "1?setlanguage:checkanon") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx_builtins.c: Goto (from-sip-external,s,2)

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx_builtins.c: Goto (from-sip-external,s,2)

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d2", "CHANNEL(language)=en") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:2] Set("SIP/External sip IP-000005d2", "CHANNEL(language)=en") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:3] GotoIf("SIP/External sip IP-000005d2", "1?noanonymous") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:3] GotoIf("SIP/External sip IP-000005d2", "1?noanonymous") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx_builtins.c: Goto (from-sip-external,s,5)

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx_builtins.c: Goto (from-sip-external,s,5)

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:5] Set("SIP/External sip IP-000005d2", "TIMEOUT(absolute)=15") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:5] Set("SIP/External sip IP-000005d2", "TIMEOUT(absolute)=15") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] func_timeout.c: Channel will hangup at 2019-06-04 13:47:51.575 CDT.

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] func_timeout.c: Channel will hangup at 2019-06-04 13:47:51.575 CDT.

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:6] Log("SIP/External sip IP-000005d2", "WARNING,"Rejecting unknown SIP connection from 46.166.187.161"") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:6] Log("SIP/External sip IP-000005d2", "WARNING,"Rejecting unknown SIP connection from 46.166.187.161"") in new stack

[2019-06-04 13:47:36] WARNING[8340][C-000005d2] Ext. s: "Rejecting unknown SIP connection from 46.166.187.161"

[2019-06-04 13:47:36] WARNING[8340][C-000005d2] Ext. s: "Rejecting unknown SIP connection from 46.166.187.161"

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:7] Answer("SIP/External sip IP-000005d2", "") in new stack

[2019-06-04 13:47:36] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:7] Answer("SIP/External sip IP-000005d2", "") in new stack

[2019-06-04 13:47:37] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:8] Wait("SIP/External sip IP-000005d2", "2") in new stack

[2019-06-04 13:47:37] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:8] Wait("SIP/External sip IP-000005d2", "2") in new stack

[2019-06-04 13:47:37] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:9] Playback("SIP/External sip IP-000005d1", "ss-noservice") in new stack

[2019-06-04 13:47:37] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:9] Playback("SIP/External sip IP-000005d1", "ss-noservice") in new stack

[2019-06-04 13:47:37] VERBOSE[8339][C-000005d1] file.c: <SIP/External sip IP-000005d1> Playing ‘ss-noservice.ulaw’ (language ‘en’)

[2019-06-04 13:47:37] VERBOSE[8339][C-000005d1] file.c: <SIP/External sip IP-000005d1> Playing ‘ss-noservice.ulaw’ (language ‘en’)

[2019-06-04 13:47:39] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:9] Playback("SIP/External sip IP-000005d2", "ss-noservice") in new stack

[2019-06-04 13:47:39] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:9] Playback("SIP/External sip IP-000005d2", "ss-noservice") in new stack

[2019-06-04 13:47:39] VERBOSE[8340][C-000005d2] file.c: <SIP/External sip IP-000005d2> Playing ‘ss-noservice.ulaw’ (language ‘en’)

[2019-06-04 13:47:39] VERBOSE[8340][C-000005d2] file.c: <SIP/External sip IP-000005d2> Playing ‘ss-noservice.ulaw’ (language ‘en’)

[2019-06-04 13:47:42] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:10] PlayTones("SIP/External sip IP-000005d1", "congestion") in new stack

[2019-06-04 13:47:42] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:10] PlayTones("SIP/External sip IP-000005d1", "congestion") in new stack

[2019-06-04 13:47:42] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:11] Congestion("SIP/External sip IP-000005d1", "5") in new stack

[2019-06-04 13:47:42] VERBOSE[8339][C-000005d1] pbx.c: Executing [[email protected]:11] Congestion("SIP/External sip IP-000005d1", "5") in new stack

[2019-06-04 13:47:44] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:10] PlayTones("SIP/External sip IP-000005d2", "congestion") in new stack

[2019-06-04 13:47:44] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:10] PlayTones("SIP/External sip IP-000005d2", "congestion") in new stack

[2019-06-04 13:47:44] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:11] Congestion("SIP/External sip IP-000005d2", "5") in new stack

[2019-06-04 13:47:44] VERBOSE[8340][C-000005d2] pbx.c: Executing [[email protected]:11] Congestion("SIP/External sip IP-000005d2", "5") in new stack

Any help is appreciated.

Thanks

Trunk address mismatch.

You don’t appear to have an inbound route set up for this.

You probably need to route the call through the “from-pstn-e164-us” context if you are in the US. If you aren’t, you may need to set up a “from-pstn-e164-CC” context where “CC” is your country code, and edit the “from…us” context to edit the phone number to match your country code and requirements.

This tells us your firewall router (at a minimum) is probably not get up correctly, and that you may need to review the requirements for using NAT on your system.

Get your extensions working for (Try using “*65” to get your extension number). After that, try calling each other locally (use the “from-internal” context on your extensions) to get your PBX so that it can talk to your local extensions. After that, trouble shoot the incoming lines.

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