Summary:
Outbound calls are working and the trunk is registered. Incoming calls fail because FreePBX is not reconizing the IP Address of the SBC. I configured the SBC essentially to act as a proxy on inbound calls, all via headers are intact but I guess it is strictly looking at the layer 3 addressing. How can I allow it to accept calls from this IP? Is there a way to do it without creating another trunk specifically for incoming calls?
Setup:
SIP Provider ----- SBC (sbc.home 192.168.0.2) ---- (freepbx.home 192.168.0.3) FreePBX
Outbound Calls are working
Incoming is not:
-- Executing [s@from-sip-external:6] Log("SIP/tmobile.de-00000026", "WARNING,"Rejecting unknown SIP connection from 192.168.0.2"") in new stack
Trunk Configuraiton:
Peer Details:
host=tel.t-online.de
outboundproxy=sbc.home
fromdomain=tel.t-online.de
username=anonymous
type=peer
User Context: +49xxxxxxxxx
User Details:
type=user
context=from-trunk
Register String:
+49xxxxxxx@tel.t-online.de::anonymous@sbc.home:5060/+49xxxxxxxxxx
show sip registry
Host dnsmgr Username Refresh State Reg.Time
sbc.home:5060 N +49xxxxxxx 585 Registered Sat, 21 Nov 2015 22:05:31