From your last post I am really struggling to understand what you are doing. It may help if you share some screenshots of your complete SIP profile configuration and not just the SIP profile section of the variables page.
Just setting it up after (another re-) installation. I want to test calls from my external endpoints. I would prefer it if we could get a decent handle on what's going on before I start making random guesses. That's why I had to reinstall for the second time.
For what it's worth, here is my internal SIP profile as viewed in FPBX:
And my full
sofia status [profile internal] readouts:
> sofia status
Name Type Data State
=================================================================================================
external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0)
external profile sip:mod_sofia@192.168.42.249:5080 RUNNING (0)
external::cc2c390d-ba74-4679-b230-ad71ee21c365 gateway sip:2289188e0@[provider].co.uk REGED
external::7075695a-6343-4c6c-80aa-2f5a54c84ab0 gateway sip:2292411e0@[provider].co.uk REGED
external::746b8ca3-1644-4275-8a7a-254177155a05 gateway sip:2044554e0@[provider].co.uk REGED
external::d81e1816-ec7f-4fff-85ae-70056b74be68 gateway sip:2328411e0@[provider].co.uk REGED
external::90ba60b5-9da0-440a-a5b5-8dabe21169bc gateway sip:2124668e0@[provider].co.uk REGED
external::5722cbfd-e754-4141-9f45-02d8b6e084f8 gateway sip:1942345e0@[provider].co.uk REGED
internal profile sip:mod_sofia@<PublicIP>:42849 RUNNING (0)
=================================================================================================
3 profiles 0 aliases
** (internal-ipv6 is currently disabled) **
> sofia status profile internal
=================================================================================================
Name internal
Domain Name N/A
Auto-NAT false
DBName sofia_reg_internal
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 192.168.42.249
Ext-RTP-IP stun:stun3.l.google.com:19302
SIP-IP 192.168.42.249
Ext-SIP-IP <PublicIP>
URL sip:mod_sofia@<PublicIP>:42849
BIND-URL sip:mod_sofia@<PublicIP>:42849;maddr=192.168.42.249;transport=udp
HOLD-MUSIC local_stream://default
OUTBOUND-PROXY N/A
CODECS IN H264,H263,H261,opus@16000h@10i,opus@16000h@20i,opus@8000h@10i,opus@8000h@20i,iLBC@30i,G7221@16000h,G7221@32000h,GSM@40i,G722,G726-16,G726-24,G726-32,G726-40,LPC,G729,G723,AMR,PCMU,PCMA
CODECS OUT H264,H263,H261,opus@16000h@10i,opus@16000h@20i,opus@8000h@10i,opus@8000h@20i,iLBC@30i,G7221@16000h,G7221@32000h,GSM@40i,G722,G726-16,G726-24,G726-32,G726-40,LPC,G729,G723,AMR,PCMU,PCMA
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
ZRTP-PASSTHRU false
AGGRESSIVENAT true
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 0
Hope that helps.
Do you have a static external IP address?
No. It is dynamic. But it is supported by FreeSWITCH. Thankfully, it doesn't change often. I feel I am one of the many unfortunates who has fallen through the 'expansive' net of NAT support tools.
Also, FreeSWITCH's UPnP code is not that compatible and doesn't work with my particular router, possibly another issue with a poor/broken software implementation. I have pointed the authors to miniupnpc to look at their UPnP code, which DOES seem to work on my router! IMHO, when both sides implement software poorly and are more willing to blame the other's poor implementation, we get this needless, ego-induced incompatibility at the end of it all.
Describe your topology, are all your endpoits on your LAN? Or are they all external? Or is there a mixture?
A mixture. As the author of FS explained that the single 'internal' SIP profile can manage endpoints from both inside and outside the LAN via it's NAT detection. He could be overselling his own code, though :/
[Cisco E20 Video Endpoint] <----> [Sky Router w/NAT] <----> {Internet} <----> [Sky Router w/NAT & TCP/UDP ports udp/tcp5080 & udp/tcp5060 & udp16384-32768 fwd to FS] <----> [Gb LAN switch] <----> [Fusion PBX on FreeSWITCH VM w/ bridged NIC]
I have another E20 endpoint connected in to the Gb LAN switch with a private IP.
Apologies for the ASCII art network diagram.
I had everything working on-LAN, but when I deployed the endpoint, NAT showed me it's arse and I've been dealing battling it ever since. Well, not so much NAT per sé, as much as the implementation I have been left with.
I know UPnP also has it's 'idiosyncrasies'. I'm not sure if I can replace the router and keep my contract, it's on Sky Broadband in the UK... They're awful, IMHO. I have a bastardised Netgear router with a Sky logo emblazoned on it. Eurgh.
I don't suppose there are any FreeSWITCH devs hanging around who may be able to shed some light on this?
Thanks again and I hope this sheds some light on what you're thinking about
