Thank you .
I have following setup from Operator :
Internet Public STAtic IP Addess -> pfsense ->192.168.1.A ETH0 ->3CX
SIpTrunkPRovider-> ONT box -> 192.168.32._ ETH1->3CX
I have declared 2 static routes toward my SIP trunk provider.
Those are settings that I have received from telecommunication company
Settings on local (ETH1) :
ip:192.168.32.110
nm:255.255.255.252
gw:192.168.32.109
5 channels
numbers =31433538= principal number ;
username=31433538
password =XXXXX
domain = sip.rcs-rds.ro
proxy - sip.rcs-rds.ro
DNS-eses - 82.76.7.30, 82.76.7.26
Acces toward 82.76.7.30 si 82.76.7.26 can be done only through gw:192.168.32.109.
Method REGISTER is not mandatory, only for each INVITE it’s needed Proxy Authentication with username and password.
The identity is transmitted through the 'From' header. If something other than the main number appears in the 'From' header, then the caller ID will be automatically set to the main number.
of call 31433538.
Setup that it's working now on freepbx is :
username=31433538
type=peer
secret=XXXXXXX
nat=no
insecure=invite
host=82.76.7.26
fromuser=31433538
fromdomain=sip.rcs-rds.ro
dtmfmode=inband
disallow=all
defaultuser=31433538
context=from-trunk
canreinvite=no
allow=alaw
My 3CX now it's on a RPI 4 Board.
I have put settings that I knew over another provider and it's ringing on incoming but not connecting voice and outbound does not work at all.
Thank you,
Daniel