How to solve the offering of Asterisk the local ip only as ice candidate

Hi all,

I have FreePBX 5.211.65 distro (Asterisk PBX 11.12.0) installed behind the NAT.
Enabled embedded apache for webrtc support and everything is working fine at LAN.
Calling (via sipml5.org) from outside network, Asterisk is offering its local ip only as ice candidate.
This results to fail ice on client part, so no audio.

localhost*CLI> sip show settings

Network Settings:
SIP address remapping: Enabled using externaddr
Externhost:
Externaddr: 212.112.XXX.YYY:0
Externrefresh: 10
Localnet: 192.168.254.0/255.255.255.0
192.168.0.0/255.255.255.0

Also custom cofig is

[root@localhost ~]# cat /etc/asterisk/sip_general_custom.conf
allowguest=no
allowtransfer=yes
icesupport=yes
nat=force_rport,comedia

The caller’s remote descriptor seems ok. The firewall’s has nothing about configuration the sdp.
How can Asterisk offer the external ip?
The firewall configured to forward rtp port range and ws port.

Regards.

You should consider using a different framework than sipml5. There haven’t been updates to the project in a very long time.