when 2 devices talk via googles gtalk when they are both behind the same lan you <br>are going to have problems.<br><br><br>on thing you can do is make an acl to ignore any candidates that are not local<br>add this to your dingaling profile<br>
<param name="candidate-acl" value="myacl"/><br><br>then add myacl to acl.conf.xml that only allows your lan ip.<br><br>Turn off all the stun and ext-rtp-ip setting.<br><br>OR<br><br>use the windows machine from a box that is not on the sam lan behind the same nat.<br>
<br><br><br><br><div class="gmail_quote">On Tue, Dec 23, 2008 at 8:09 AM, kriko <span dir="ltr"><<a href="mailto:kristjan.ugrin@gmail.com">kristjan.ugrin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've decided to do this properly:<br>
clean fresweetch reinstall.<br>
<br>
My worsktation hosts freeswitch + 1 sip phone also running as 1000 (linux - IP 10.99.8.221)<br>
Other windows machine has gtalk with and also a sip phone registered as 1001 (IP 10.99.8.111).<br>
<br>
First case - SIP to SIP. Calling from 1000 to 1001 and vice versa works, audio is perfect.<br>
Packets are propery travelling between 10.99.8.221 and 10.99.8.111<br>
<br>
Second case :<br>
On windows machine I open gtalk and I open a chat to buddy which is actually a bot logged in on freeswitch (dingaling client mode).<br>
The I started java socket program which listens to icoming messages, after typing into client<br>
"call <a href="mailto:1000@10.99.8.221" target="_blank">1000@10.99.8.221</a>" an api command is executed:<br>
"api originate sofia/default/<a href="mailto:1000@10.99.8.221" target="_blank">1000@10.99.8.221</a> &bridge(dingaling/<a href="http://gmail.com/gtalk_mail%28at%29gmail.com" target="_blank">gmail.com/gtalk_mail(at)gmail.com</a>)"<br>
<br>
A call is placed between gtalk and sip phone 1000, it rings, but when both end answers there is no audio.<br>
After a minute, the call ends itself.<br>
I've attached wireshark dumps from both ends - what is strange is that packets are not trying to got at right IP,<br>
instead they hit some other machine (213.x.x.x), which doesn't make sense.<br>
<br>
Fresh log from freeswitch (I don't know why 213.x.x.x gets mixed in this story):<br>
<a href="http://pastebin.com/m75b10388" target="_blank">http://pastebin.com/m75b10388</a><br>
<br>
// I hope the attachments go trough - 17 KB.<br>
test_gtalk_client_side - dump from win machine (gtalk client)<br>
test_sip_client - dump from linux machine (freeswitch and sip phone client)<br>
<br>
I hope to get resolved this mistery somehow.<br>
<br>
Thank you for all kind answers.<br>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>