[Asterisk-Users] Unable to find IP address???

Brancaleoni Matteo mbrancaleoni at espia.it
Fri Jul 11 07:45:11 MST 2003


yep, that happened to me. gethostbyaddr() simply fails here.
check that the hostname is present into /etc/hosts
I.e. if you hostname is 'pingus' in /etc/hosts u should have

127.0.0.1	pingus localhost.localdomain localhost

Matteo.


Il ven, 2003-07-11 alle 15:34, Derek Beaumont ha scritto:
> This morning, I received a very strange error message on the Asterisk
> console.
> The error occurs when I try to access iconnect
> WARNING[196621]: File chan_sip.c, Line 386 (__sip_xmit): sip_xmit of
> 0x80d0854 (len 649) to 213.137.73.178 returned -1: Bad file descriptor
> 
> I also get this error when I try to reload:
> WARNING[16384]: File chan_sip.c, Line 5355 (reload_config): Unable to
> get IP address for BusinessOne.telantek.com, SIP disabled
> 
> I have not changed anything in my sip.conf file recently.  Here is what
> I have:
> [general]
> port = 5060                     ; Port to bind to
> bindaddr = 0.0.0.0             ; Address to bind to
> context = outgoing              ; Default for incoming calls
> allow=gsm
> allow=ulaw
> allow=alaw
> 
> tos=lowdelay
> tos=185
> 
> ;register= xxxxxxxx:xxxx at sipauth.deltathree.com
> ;register= xxxxxxxx:xxxx at sipauth.deltathree.com
> 
> [iconnect]
> type=friend
> username=xxxxxxxx
> password=xxxx
> host=sipauth.deltathree.com
> ;host=213.137.73.178
> canreinvite=no
> 
> 
> Has anybody experienced this before?
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list