@jlizzotte04 @Stewart1 please help because I think that I will loose my minds soon.
only way to get inbound calls is with “Allow Anonymous Inbound SIP Calls”
This is my connection string (but again to place calls from freepbx to outside it’s working )
defaultuser=user
secret=pass
host=sip.rcs-rds.ro
fromdomain=sip.rcs-rds.ro
fromuser=user
type=peer
qualify=yes
insecure=port,invite
disallow=all
context=from-trunk
canreinvite=no
allow=alaw&ulaw
nat=yes
and for outgoing
user:pass@sip.rcs-rds.ro/pass
Trunk it’s defined as chan_sip .
I guess that I am using registration . I guess that credentials and config string it’s completed well since outgoing ok.
I was guessing / suspecting / digging around NAT configuration . My little NTW setup looks like
Internet (pbx agents) -> pfsense ->192.168.1.23 ETH1 ->FreePBX
SIpTrunkPRovider-> ONT box -> 192.168.32.110-> ETH0->FreePBX
I have declared 2 static routes toward my SIP trunk provider. all ntw setup it’s detected like in picture below in settings>asterisk sip settings.
Thank you for any suggestion I am simply clueless.