FreePBX | Register | Issues | Wiki | Portal | Support

The number you have dialed is not in service

(Calida82) #1

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

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.

(Jared Busch) #3

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

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

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

questo è il log

(Dave Burgess) #5

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.

(Calida82) #6

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.

(system) #7

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