freeswitch uses unique ip/port pairs so freeswitch sees that was 2 different addresses the <br><a href="http://0.0.0.0">0.0.0.0</a> was considered another ip. <br><br><a href="http://0.0.0.0:1234">0.0.0.0:1234</a><br><a href="http://1.2.3.4:1234">1.2.3.4:1234</a><br>
<br>We will maybe add code to make <a href="http://0.0.0.0">0.0.0.0</a> fatal input as rtp-ip to avoid this issue.<br><br><br><div class="gmail_quote">On Mon, Apr 21, 2008 at 3:26 PM, kokoska rokoska <<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Anthony Minessale napsal(a):<br>
> putting in <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> as the rtp-ip is unsupported. Try<br>
<div class="Ih2E3d">> putting the local ip of the box in there instead.<br>
><br>
<br>
</div>Thank you very much, Anthony, for notable info! I didn't know that.<br>
<div class="Ih2E3d"><br>
> Also, we have a special variable that we set with the guessed local ip<br>
> that you can use:<br>
</div>> $${local_ip_v4} <-- put this where <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> is<br>
<div class="Ih2E3d">><br>
> This variable is replaced before the startup is complete so the final<br>
> config will contain the actual ip.<br>
><br>
><br>
<br>
</div>I replaced <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> with local IP address and than with $${local_ip_v4}<br>
and both works OK :-)<br>
So my trouble si solved, thank you once more!<br>
<br>
BTW: I'm still not sure if it is desirable behaviour - if FreeSWITCH<br>
properly replaces misconfigured IP address but than uses "invalid"<br>
(twice the same) port...<br>
<br>
Best regards,<br>
<br>
kokoska.rokoska<br>
<div class="Ih2E3d"><br>
<br>
><br>
><br>
><br>
> On Mon, Apr 21, 2008 at 1:47 PM, kokoska rokoska<br>
</div><div class="Ih2E3d">> <<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a> <mailto:<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a>>> wrote:<br>
><br>
><br>
><br>
><br>
> Anthony Minessale napsal(a):<br>
> > 2008-04-21 18:47:48 [DEBUG] sofia_glue.c:1523<br>
> sofia_glue_activate_rtp()<br>
> > AUDIO RTP [sofia/0002*00/800123456]<br>
> 0.0.0.0:21322-><a href="http://212.20.119.45:31414" target="_blank">212.20.119.45:31414</a> <<a href="http://212.20.119.45:31414" target="_blank">http://212.20.119.45:31414</a>><br>
> > <<a href="http://212.20.119.45:31414" target="_blank">http://212.20.119.45:31414</a>> codec: 8 ms: 20<br>
> ><br>
> > 2008-04-21 18:47:48 [DEBUG] sofia_glue.c:1523<br>
> sofia_glue_activate_rtp()<br>
> > AUDIO RTP [sofia/default/0002*<a href="http://23@192.168.1.128:5065" target="_blank">23@192.168.1.128:5065</a><br>
> <<a href="http://23@192.168.1.128:5065" target="_blank">http://23@192.168.1.128:5065</a>><br>
> > <<a href="http://23@192.168.1.128:5065" target="_blank">http://23@192.168.1.128:5065</a>>] 192.168.1.128:21322->192.168.1.101\<br>
> > :49152 codec: 8 ms: 20<br>
> ><br>
> ><br>
> > Are you setting something in your config to use <a href="http://0.0.0.0" target="_blank">0.0.0.0</a><br>
</div>> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>><br>
<div class="Ih2E3d">> > as the media IP?<br>
> > Perhaps putting the real ip in ext-rtp-ip and setting the local<br>
> one to<br>
</div>> > <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> ?<br>
<div class="Ih2E3d">> ><br>
> ><br>
><br>
> Exactly as you think, Anthony.<br>
> I set public IP of my network as ext-rtp-ip and <a href="http://0.0.0.0" target="_blank">0.0.0.0</a><br>
</div>> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> as local - I<br>
<div class="Ih2E3d">> think it tell to FreeSWITCH to bind to all local IPs (currently only one<br>
> exists, but for th future - I use it in all my servers..)<br>
><br>
> Do I something wrong?<br>
><br>
> Best regards,<br>
><br>
> kokoska.rokoska<br>
><br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>><br>
<div class="Ih2E3d">> <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>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">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>
</div>> <mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
<div class="Ih2E3d">> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
</div>> <mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> <<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>> #freeswitch<br>
<div class="Ih2E3d">><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
<div class="Ih2E3d">> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>> <<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>><br>
<div class="Ih2E3d">> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
> pstn:213-799-1400<br>
><br>
><br>
> ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">><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>
<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>
</div></div></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