The number you have dialed is not in service

Hi I installed free pbx on raspberry and I’m trying to configure the cenbtralino. I set 2 extensions on two phones with zoiper and I can make calls between them. with zoiper I can make outgoing calls but when I try to call my number from the outside I get this message,
the number you have dialed is not in service
I created an incoming route that points and an extension (101) and I left it to any DID number and CallerId number
this is my chan_sip trunks configuration


register string
[email protected]:xxxxxxxxxx:[email protected]

why can not I receive the call?
where am I wrong

If you still have trouble, post the log from a failed incoming call attempt.

Most of the time the incoming trunk field is left blank if you are registering (you are).

[2018-12-13 23:09:35] WARNING[16546][C-00000014]: Ext. s:6 @ from-sip-external: "Rejecting unknown SIP connection from"
-- Executing [[email protected]:7] Answer("SIP/", "") in new stack
-- Executing [[email protected]:8] Wait("SIP/", "2") in new stack
-- Executing [[email protected]:9] Playback("SIP/", "ss-noservice") in new stack
-- <SIP/> Playing 'ss-noservice.ulaw' (language 'it')
-- Executing [[email protected]:10] PlayTones("SIP/", "congestion") in new stack
-- Executing [[email protected]:11] Congestion("SIP/", "5") in new stack

== Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/’
– Executing [[email protected]:1] Hangup(“SIP/”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/’
== Contact 101/sip:[email protected]:64198;rinstance=f55994f7af40ee96 has been deleted
– Added contact ‘sip:[email protected]:64198;rinstance=f55994f7af40ee96’ to AOR ‘101’ with expiration of 60 seconds
== Contact 101/sip:[email protected]:64198;rinstance=f55994f7af40ee96 has been created
– Contact 101/sip:[email protected]:64198;rinstance=f55994f7af40ee96 is now Reachable. RTT: 8.104 msec

questo è il log

You are trying to connect to the system from an unknown host. System security prevents that. Set up a trunk for this IP address and the problem will either change to a different problem, or the call will work.

how do I configure my trunk with this ip

if it can help I am under the modem / router provided by the line manager and I have not opened doors and I have not made nat.

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