I forgot to mention the word &quot;auto&quot; should also suffice to auto choose the ip.<br>I added a patch to outlaw <a href="http://0.0.0.0">0.0.0.0</a> going forward.<br><br><br><div class="gmail_quote">On Mon, Apr 21, 2008 at 3:42 PM, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">freeswitch uses unique ip/port pairs so freeswitch sees that was 2 different addresses the <br>
<a href="http://0.0.0.0" target="_blank">0.0.0.0</a> was considered another ip.&nbsp; <br><br><a href="http://0.0.0.0:1234" target="_blank">0.0.0.0:1234</a><br><a href="http://1.2.3.4:1234" target="_blank">1.2.3.4:1234</a><br>

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