[Asterisk-Users] Failed to bind to 0.0.0.0:5060: Address already in use

Jay Milk jay at skimmilk.net
Fri May 21 10:46:46 MST 2004


Why don't you configure the IP address instead of leaving it 0.0.0.0?
While that should work, it's always a good idea to be specific about
your bindings.

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
Stefan-Michael. Günther (in-put GbR)
Sent: Friday, May 21, 2004 11:58 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Failed to bind to 0.0.0.0:5060: Address
already in use


 Hi,

I have a strange error, that I haven't yet found in another posting on
the   
archive.  Here's my sip.conf:

[general]
port = 5060                     ; Port to bind to
bindaddr = 0.0.0.0              ; Address to bind SIP channel to
context = default               ; Default context for incoming calls
callerid=No CallID

[stefan]
type=friend
secret=blah
username=stefan
host=192.168.0.160
dtmfmode=rfc2833                ; Choices are inband, rfc2833, or info
allow=all
mailbox=1001
context=default1
disallow=all
allow=ulaw
allow=alaw
 
When I start asterisk I get the following error messages:

Failed to bind to 0.0.0.0:5060: Address already in use

That's not true, cause netstat shows that this port isn't controlled by
any 
 program.

What's wrong with my config?

Thanks for any hints in advance.

Stefan
-- 

*****************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Günther
Moltkestraße 49	D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
*****************************************

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list