[Freeswitch-dev] please, help: invalid bind URL

Oleg Khovayko khovayko at gmail.com
Tue Jun 25 07:53:12 MSD 2013


I found the problem, fixed.

Problem was in the strings in the file vars.xml:

  <X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:olegh.ath.cx"/>
  <X-PRE-PROCESS cmd="set" data="external_sip_ip=host:olegh.ath.cx"/>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:olegh.ath.cx"/>

Dyn.com dropped domain ath.cx, and hostname was not resolved correctly, 
after DNS-cache expired.
So, on my side, I did not modified anything, but FS suddenly stop work.

Now I updated everything - computer, FS, DNS name - and everything works.

Thanks for suggestions.

I hope, my information would be useful for another customers.

Oleg




On 6/18/2013 6:03 PM, Steven Ayre wrote:
> Ok. Did you see my other mail? What does your Sofia profile look like?
>
>
>
> On Tuesday, June 18, 2013, Oleg Khovayko wrote:
>
>     On 6/18/2013 3:36 PM, Steven Ayre wrote:
>     > Incidentally have you checked the output of ifconfig?
>     >
>     Yes, of course:
>     [root at olegh /usr/local/freeswitch/conf]# /sbin/ifconfig
>     xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
>     mtu 1500
>              options=9<RXCSUM,VLAN_MTU>
>              ether 00:50:04:c3:cb:7e
>              inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
>              media: Ethernet autoselect (100baseTX <full-duplex>)
>              status: active
>
>
>     > Does your server have an interface with 192.168.1.5 currently
>     assigned
>     > to it?
>     Yes.
>
>     > Is that active UP and RUNNING?
>     Yes, it is up and running:
>
>     [root at olegh /usr/local/freeswitch/conf]# ping google.com
>     <http://google.com>
>     PING google.com <http://google.com> (74.125.228.36): 56 data bytes
>     64 bytes from 74.125.228.36 <http://74.125.228.36>: icmp_seq=0
>     ttl=250 time=10.946 ms
>     64 bytes from 74.125.228.36 <http://74.125.228.36>: icmp_seq=1
>     ttl=250 time=10.071 ms
>
>
>     > Perhaps the network has gone down, got unplugged, lost its IP, had a
>     > hardware fault or some other failure.
>     sorry - no.. this is really strange... I dod not changed configs for
>     couple days, and system was work.. It stopped today morning..
>
>     > That would prevent sofia binding to that IP because it's then an
>     IP no
>     > longer assigned to the server.
>     Steve,
>     Thank you for attempts to help me... but I think, problem not in the
>     network configuration...
>
>
>     >
>     > -Steve
>     >
>     >
>     >
>     >
>     > On 18 June 2013 20:32, Steven Ayre <steveayre at gmail.com
>     <javascript:;>
>     > <mailto:steveayre at gmail.com <javascript:;>>> wrote:
>     >
>     >     That internal profile is a skinny not sofia profile
>     >
>     >
>     >     On 18 June 2013 20:05, Oleg Khovayko <khovayko at gmail.com
>     <javascript:;>
>     >     <mailto:khovayko at gmail.com <javascript:;>>> wrote:
>     >
>     >         I checked. Everything seems OK
>     >
>     >         [root at olegh /usr/local/freeswitch/conf]# grep 192.168.1.5
>     >         ../log/freeswitch.xml.fsxml
>     >                FreeSWICH will default to 192.168.1.5 unless changed.
>     >         Changing
>     >         this setting does
>     >                <param name="h323-ip" value="192.168.1.5"/>
>     >              <param name="ip" value="192.168.1.5"/>
>     >              <param name="rtp-ip" value="192.168.1.5"/>
>     >              <param name="sip-ip" value="192.168.1.5"/>
>     >              <param name="rtp-ip" value="192.168.1.5"/>
>     >              <param name="sip-ip" value="192.168.1.5"/>
>     >         [root at olegh /usr/local/freeswitch/conf]#
>     >
>     >
>     >
>     >         Seems like "port" value is suspicious (2000), when I
>     expecting
>     >         5060:
>     >
>     >         <profile name="internal">
>     >            <settings>
>     >              <param name="domain" value="olegh.ath.cx
>     <http://olegh.ath.cx>
>     >         <http://olegh.ath.cx>"/>
>     >              <param name="ip" value="192.168.1.5"/>
>     >              <param name="port" value="2000"/>
>     >              <param name="patterns-dialplan" value="XML"/>
>     >              <param name="patterns-context"
>     value="skinny-patterns"/>
>     >              <param name="dialplan" value="XML"/>
>     >              <param name="context" value="default"/>
>     >              <param name="keep-alive" value="60"/>
>     >              <param name="date-format" value="D/M/Y"/>
>     >              <param name="odbc-dsn" value=""/>
>     >              <param name="debug" value="4"/>
>     >              <param name="auto-restart" value="true"/>
>     >            </settings>
>     >            <device-types>
>     >              <device-type id="Cisco ATA 186">
>     >                  <param name="firmware-version"
>     value="ATA030101SCCP04"/>
>     >              </device-type>
>     >            </device-types>
>     >         </profile>
>     >
>     >         but, anyway - when profile generates error, it prints
>     correct
>     >         port:
>     >
>     >         nta: sip:mod_sofia@:*5060*;maddr=192.168.1.5
>     >         <http://192.168.1.5>: invalid bind URL
>     >
>     >
>     >         OK.. If problem cannot be resolved - I will try migrate
>     to yate...
>     >
>     >
>     >
>     >
>     >         On 6/18/2013 2:21 PM, Brian West wrote:
>     >         > this is the ticket.
>     >         >
>     >         > Check your fsxml in $BASE/log/  bet you the ip isn't
>     in the
>     >         right spot or you need to update.
>     >         >
>     >         > /b
>     >         >
>     >         > On Jun 18, 2013, at 11:23 AM, Oleg Khovayko
>     >         <khovayko at gmail.com <javascript:;>
>     <mailto:khovayko at gmail.com <javascript:;>>> wrote:
>     >         >
>     >         >> *nta: sip:mod_sofia@:5060;maddr=192.168.1.5
>     >         <http://192.168.1.5>: invalid bind URL*
>     >         >
>     >         >
>     >
>     _________________________________________________________________________
>     >         > Professional FreeSWITCH Consulting Services:
>     >         > consulting at freeswitch.org <javascript:;>
>     <mailto:consulting at freeswitch.org <javascript:;>>
>     >         > http://www.freeswitchsolutions.com
>     >         >
>     >         > FreeSWITCH-powered IP PBX: The CudaTel Communication
>     Server
>     >         > 
>     >         >
>     >         > Official FreeSWITCH Sites
>     >         > http://www.freeswitch.org
>     >         > http://wiki.freeswitch.org
>     >         > http://www.cluecon.com
>     >         >
>     >         > FreeSWITCH-dev mailing list
>     >         > FreeSWITCH-dev at lists.freeswitch.org <javascript:;>
>     >         <mailto:FreeSWITCH-dev at lists.freeswitch.org <javascript:;>>
>     >         >
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     >         >
>     >        
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     >         > http://www.freeswitch.org
>     >
>     >
>     >
>     _________________________________________________________________________
>     >         Professional FreeSWITCH Consulting Services:
>     > consulting at freeswitch.org <javascript:;>
>     <mailto:consulting at freeswitch.org <javascript:;>>
>     > http://www.freeswitchsolutions.com
>     >
>     >         
>     > 
>     >
>     >         Official FreeSWITCH Sites
>     > http://www.freeswitch.org
>     > http://wiki.freeswitch.org
>     > http://www.cluecon.com
>     >
>     >         FreeSWITCH-dev mailing list
>     > FreeSWITCH-dev at lists.freeswitch.org <javascript:;>
>     >         <mailto:FreeSWITCH-dev at lists.freeswitch.org <javascript:;>>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     >        
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     > http://www.freeswitch.org
>     >
>     >
>     >
>     >
>     >
>     >
>     _________________________________________________________________________
>     > Professional FreeSWITCH Consulting Services:
>     > consulting at freeswitch.org <javascript:;>
>     > http://www.freeswitchsolutions.com
>     >
>     > 
>     > 
>     >
>     > Official FreeSWITCH Sites
>     > http://www.freeswitch.org
>     > http://wiki.freeswitch.org
>     > http://www.cluecon.com
>     >
>     > FreeSWITCH-dev mailing list
>     > FreeSWITCH-dev at lists.freeswitch.org <javascript:;>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     >
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     > http://www.freeswitch.org
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <javascript:;>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-dev mailing list
>     FreeSWITCH-dev at lists.freeswitch.org <javascript:;>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list