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