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
Outgoing
username=39xxxxxxxxxx
user=39xxxxxxxxxx
type=peer
secret=xxxxxxxxxx
realm=sip.infostrada.it
outboundproxy=voip.libero.it
host=sip.infostrada.it
fromuser=39xxxxxxxxxx
fromdomain=sip.infostrada.it
[2018-12-13 23:09:35] WARNING[16546][C-00000014]: Ext. s:6 @ from-sip-external: "Rejecting unknown SIP connection from 151.6.87.166"
-- Executing [s@from-sip-external:7] Answer("SIP/HomeIMS.net-0000000c", "") in new stack
-- Executing [s@from-sip-external:8] Wait("SIP/HomeIMS.net-0000000c", "2") in new stack
-- Executing [s@from-sip-external:9] Playback("SIP/HomeIMS.net-0000000c", "ss-noservice") in new stack
-- <SIP/HomeIMS.net-0000000c> Playing 'ss-noservice.ulaw' (language 'it')
-- Executing [s@from-sip-external:10] PlayTones("SIP/HomeIMS.net-0000000c", "congestion") in new stack
-- Executing [s@from-sip-external:11] Congestion("SIP/HomeIMS.net-0000000c", "5") in new stack
== Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/HomeIMS.net-0000000c’
– Executing [h@from-sip-external:1] Hangup(“SIP/HomeIMS.net-0000000c”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/HomeIMS.net-0000000c’
== 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
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.