I forgot to mention the word "auto" should also suffice to auto choose the
ip.
I added a patch to outlaw 0.0.0.0 going forward.


On Mon, Apr 21, 2008 at 3:42 PM, Anthony Minessale <
[EMAIL PROTECTED]> wrote:

> 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 <[EMAIL PROTECTED]>
> 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
> > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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/[EMAIL PROTECTED]:5065
> > >     <http://[EMAIL PROTECTED]:5065>
> > >      > <http://[EMAIL PROTECTED]: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
> > >     [email protected]
> > >     <mailto:[email protected]>
> > >     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:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > >
> > > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > >
> > > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> > >
> > > FreeSWITCH Developer Conference
> > > sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > >
> > > iax:[EMAIL PROTECTED]/888
> > > <http://iax:[EMAIL PROTECTED]/888>
> > > googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > >
> > > pstn:213-799-1400
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Freeswitch-users mailing list
> > > [email protected]
> > > 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
> > [email protected]
> > 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> iax:[EMAIL PROTECTED]/888
> googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> pstn:213-799-1400




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to