Hi!
I have FS natted and am connecting with an 'external' extension that
is registered to FS. ie the extension 2000 is registered on the
internet with a public IP through my router to FS (192.168.1.120 IP
address). uPnP works and I see that the extension is registered
successfully.
The problem
You don't have ext-rtp-ip set in your config.
Mike
On Nov 8, 2009, at 6:59 AM, Mark Campbell-Smith wrote:
Hi!
I have FS natted and am connecting with an 'external' extension that
is registered to FS. ie the extension 2000 is registered on the
internet with a public IP through my router to
Hi Mike,
I should have put that in also.
I do have external_rtp_ip set in my config. I have it set to my domain name:
X-PRE-PROCESS cmd=set data=external_rtp_ip=host:mydomainname/
I should also mention that if I use flaphone.com (which registers with
an external IP address), then I get audio.
Your packet traces would disagree with the statements below. It is
sending your internal address in rtp, so its not set correctly on
whatever profile your using to call out,
MIke
On Nov 8, 2009, at 4:59 PM, Mark Campbell-Smith wrote:
Hi Mike,
I should have put that in also.
I do have
OK.. thanks Mike.
I assume I am using the Internal profile. I have defined user 2000
in the 'directory' using a context called family: switch_ivr.c:1367
Transfer sofia/internal/1...@192.168.1.120 to xml[2...@family]
This is an extract from sofia:
sofia status profile internal
Hi again,
Actually, changing the param name=ext-rtp-ip value=auto-nat/ to
param name=ext-rtp-ip value=$${external_sip_ip}/ means that I
now see the IP address in the INVITE message:
v=0
o=FreeSWITCH 1257711702 1257711703 IN IP4 124.xxx.xxx.xxx
s=FreeSWITCH
c=IN IP4 124.xxx.xxx.xxx
It is if FS was able to detect NAT. Are you behind PMP or UPnP? Otherwise,
no go
Have you changed the ext-sip-ip too?
Regards,
JM
On Mon, Nov 9, 2009 at 12:32 AM, Mark Campbell-Smith
mcampbellsm...@gmail.com wrote:
Hi again,
Actually, changing the param name=ext-rtp-ip
Is there a way to determine if FS has detected nat? I am behind UPnP
and I can see on the router the mappings for Freeswitch.
2009/11/9 João Mesquita jmesqu...@freeswitch.org:
It is if FS was able to detect NAT. Are you behind PMP or UPnP? Otherwise,
no go
Have you changed the ext-sip-ip
I think I've fixed it, but I had to change a few things...
I had a host name set in vars.xml for external_rtp_ip and for
external_sip_ip. Having the external_rtp_ip set to a hostname, sofia
showed the
RTP-IP 192.168.1.120
Ext-RTP-IP host:myhostname
SIP-IP