Sounds like an NAT problem. You have two connections set up for a call - one for the signalling and one for the media. It's common that behind NAT you can have SIP working but RTP broken.
Off the top of my head there's a few possible reasons:
- The router is too dumb to spot the SIP and automatically open the RTP ports: forwarding those manually may help resolve that.
- The router has a SIP ALG that tries to correct the IPs sent through SIP and actually breaks things even worse: try disabling that feature.
- Freeswitch doesn't know the external IP address and will send the internal IP in the SDP, so the other host doesn't know where to send RTP to: try using STUN, or setting ext-sip-ip and ext-rtp-ip on the sip profile.
DMZ might help work around any of the above without actually solving your real problem.
-Steve
FINALLY I got it to work, I can now remotely log in on the internal profile (port 5060) after placing the computer running Freeswitch on DMZ (changed on Firewall), although that's not the ideal solution, so I was wondering why it wasn't working before. I had the firewall set up according to the wiki on "http://wiki.freeswitch.org/wiki/Firewall" and other than that I changed the "domain" on vars.xml to my external ip of the router, it created an ALIAS so that I can use as the "Domain" on X-lite to log on. So I had the internal profile mod_sofia@192.168.X.XX:5060 and the Alias 76.XXX.XX.XX, that was before and I was able to LogIn, make calls but NO SOUND. NOW once I forwarded all the port through DMZ, this particular router 2701HG-B Gateway (Att) required me to change my (freeSwitch running computer) static ipv4 (192.XXX.X.XX) to DHCP and then assigned me the external IP (76.XXX.XX.XX) as my a Ipv4. Now the internal profile (sofia status) is mod_sofia@76.XXX.XX.XX:5060 and I'm not using the ALIAS.SO...I was wondering...it wasn't working before because 1) A Firewall configuration missing? 2) A NAT/Firewall problem or 3) Freeswitch internal profile running on local machine ipv4 192..... and I logging on using the router external IP 76.XX and the Alias didn't do the job?????Sorry there is some nonsense question, I'm a beginner and any help is appreciated.Thanks,JohnOn Tue, Jan 11, 2011 at 1:37 AM, Steven Ayre <steveayre@gmail.com> wrote:If you're able to dial in but you're getting no sound, it's probably
NAT stopping the audio get through.
There's quite a bit of information on NAT on the Wiki that might be of use.
http://wiki.freeswitch.org/wiki/NAT
-Steve
On 11 January 2011 00:39, Joao Leme <joaocarlosleme@gmail.com> wrote:
> Hi There,
> What do I have to do to be able to LogIn to Freeswitch from Home (server is
> located at office) starting from the basic/original configuration?
> I'm using X-Lite. I've been able to LogIn replacing the internal IP by the
> external IP from the Office but the sound is not working so I wanted to know
> what are the configuration changes that have to be done to allow it. Do I
> have to create a different profile? I want be able to do the same just as if
> I was at the Office.
> Thanks,
> John
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org