Other party does not hear voice when connecting with X-Lite
Hi, I have installed FS default configuration and setup an external gateway for international calls. When I call to international phone using YATE windows client, both parties able to hear voice... erevything is OK. But when I connect using X-Lite, it connects but other party cannot hear me. I can hear him well... Could you please hint in which direction should I look? Thank you, Vitalii Colosov
is x-lite behind nat with the freeswitch box? If so you'll need to disable the discover global IP so that it doesn't try to hair pin thru your NAT router.... Most nat routers won't work correctly trying to do that. /b On Feb 12, 2010, at 3:33 AM, Vitalii Colosov wrote:
But when I connect using X-Lite, it connects but other party cannot hear me. I can hear him well...
Thanks for the advice! Yes, x-lite and FS are behind the nat. I changed x-lite settings from "Discover global IP" to "Use Local IP adress", but this did not solve the problem. I would like to add that when x-lite is configured directly to international gateway sip proxy, it is working fine. Only when it is connected via FS, voice is missing... There is definetely something wrong with FS configuration... Do you know if I can enable some debug level that will provide me some useful information about voice part...? Thank you! Vitalie 2010/2/12 Brian West <brian@freeswitch.org>
is x-lite behind nat with the freeswitch box? If so you'll need to disable the discover global IP so that it doesn't try to hair pin thru your NAT router.... Most nat routers won't work correctly trying to do that.
/b
On Feb 12, 2010, at 3:33 AM, Vitalii Colosov wrote:
But when I connect using X-Lite, it connects but other party cannot hear
me.
I can hear him well...
_______________________________________________ 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
I found the following differences when using YATE and X-Lite clients in FS log: YATE client (working) [DEBUG] sofia_glue.c:2528 AUDIO RTP [sofia/internal/ 1000@sip.myprovider123.com] 10.244.47.100 port 22894 -> <<<my.global.ip.adress>>> port 20080 codec: 0 ms: 30 X-Lite client (not working) [DEBUG] sofia_glue.c:2528 AUDIO RTP [sofia/internal/ 1000@sip.myprovider123.com] 10.244.47.100 port 23952 -> 192.168.2.10 (<<<my.LOCAL.ip.adress behind the router>>>) port 46370 codec: 0 ms: 20 It looks like FS is trying to send MEDIA part to my local ip adress instead of global...And Yate sends correct, to global IP... Any ideas? Thank 2010/2/13 Vitalii Colosov <vetali100@gmail.com>
Thanks for the advice!
Yes, x-lite and FS are behind the nat.
I changed x-lite settings from "Discover global IP" to "Use Local IP adress", but this did not solve the problem.
I would like to add that when x-lite is configured directly to international gateway sip proxy, it is working fine. Only when it is connected via FS, voice is missing...
There is definetely something wrong with FS configuration...
Do you know if I can enable some debug level that will provide me some useful information about voice part...?
Thank you!
Vitalie
2010/2/12 Brian West <brian@freeswitch.org>
is x-lite behind nat with the freeswitch box? If so you'll need to disable
the discover global IP so that it doesn't try to hair pin thru your NAT router.... Most nat routers won't work correctly trying to do that.
/b
On Feb 12, 2010, at 3:33 AM, Vitalii Colosov wrote:
But when I connect using X-Lite, it connects but other party cannot hear
me.
I can hear him well...
_______________________________________________ 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
That should work either way then...are you trying to do this all on the same machine? /b On Feb 13, 2010, at 5:46 AM, Vitalii Colosov wrote:
It looks like FS is trying to send MEDIA part to my local ip adress instead of global...And Yate sends correct, to global IP...
Any ideas?
Thank
No, it is done on the different PCs... Sorry, when I started the topic, I have described the problem how it is visible from PC of my friend. Then I tried to reproduce the same on my own PC, and you are right...I was not able to hear anything as well, not only both party wasn't. Also, from my PC I was NOT able to hear guitar on test number "9999". This log reflects the call from my PC. SIP header sent by XLITE was : INVITE sip:9999@sip.voipsler.com <sip%3A9999@sip.voipsler.com>SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10:8342<<<LOCAL IP>>> ;branch=z9hG4bK-d8754z-2f03fe469803ff0f-1---d8754z-;rport Contact: <sip:1000@192.168.2.10:8342<<<LOCAL IP>>>> *Yesterday I put STUN server* at the XLITE settings and started to hear guitar on "9999", and SIP header has changed. INVITE sip:1001@sip.voipsler.com <sip%3A1001@sip.voipsler.com>SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10:8216<<<LOCAL IP>>>;branch=z9hG4bK-d8754z-1758da08c07c1e37-1---d8754z-;rport Contact: <sip:1000@<<<*my-global-ip-adress*>>>:8216> BUT I am still NOT able to hear anything on my PC... All ports are open on my PC and on FS server. I tried to use the following option, but no luck: <param name="aggressive-nat-detection" value="true"/> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#NATing_.5Bapply-na... "This will enable NAT mode if the network IP/port from which the request was received differs from the IP/Port combination in the SIP Via: header, or if the Via: header contains the received parameter (regardless of what it contains.) " Do you know what else can I try? Thank you, Vitalii 2010/2/13 Brian West <brian@freeswitch.org>
That should work either way then...are you trying to do this all on the same machine?
/b
On Feb 13, 2010, at 5:46 AM, Vitalii Colosov wrote:
It looks like FS is trying to send MEDIA part to my local ip adress instead of global...And Yate sends correct, to global IP...
Any ideas?
Thank
_______________________________________________ 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
You need to describe this again its too confusing now. List each device, freeswitch, the phones and which ip and combo of addrs it uses with the topology clearly stated. Your attempt to simplify your explanation is actually making it harder to follow. Also consider a debug/sip trace as well. Include sofia status profile default. Then capture a test call after entering these commands. console loglevel debug. sofa profile internal siptrace on On Feb 14, 2010 4:12 AM, "Vitalii Colosov" <vetali100@gmail.com> wrote: No, it is done on the different PCs... Sorry, when I started the topic, I have described the problem how it is visible from PC of my friend. Then I tried to reproduce the same on my own PC, and you are right...I was not able to hear anything as well, not only both party wasn't. Also, from my PC I was NOT able to hear guitar on test number "9999". This log reflects the call from my PC. SIP header sent by XLITE was : INVITE sip:9999@sip.voipsler.com <sip%3A9999@sip.voipsler.com>SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10:8342<<<LOCAL IP>>> ;branch=z9hG4bK-d8754z-2f03fe469803ff0f-1---d8754z-;rport Contact: <sip:1000@192.168.2.10:8342<<<LOCAL IP>>>> *Yesterday I put STUN server* at the XLITE settings and started to hear guitar on "9999", and SIP header has changed. INVITE sip:1001@sip.voipsler.com <sip%3A1001@sip.voipsler.com>SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10:8216<<<LOCAL IP>>>;branch=z9hG4bK-d8754z-1758da08c07c1e37-1---d8754z-;rport Contact: <sip:1000@<<<*my-global-ip-adress*>>>:8216> BUT I am still NOT able to hear anything on my PC... All ports are open on my PC and on FS server. I tried to use the following option, but no luck: <param name="aggressive-nat-detection" value="true"/> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#NATing_.5Bapply-na... "This will enable NAT mode if the network IP/port from which the request was received differs from the IP/Port combination in the SIP Via: header, or if the Via: header contains the received parameter (regardless of what it contains.) " Do you know what else can I try? Thank you, Vitalii 2010/2/13 Brian West <brian@freeswitch.org>
That should work either way then...are you trying to do this all on the
same machine?
/b
... _______________________________________________ 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
participants (3)
-
Anthony Minessale
-
Brian West
-
Vitalii Colosov