[asterisk-users] chan_sip bind port

Dan Cropp dan at amtelco.com
Fri Jan 11 11:53:52 CST 2019


Did something recently change for the chan_sip bindport setting?

I know I had this working with the previous version of asterisk.  Can't remember if it was an earlier 16.x version or 13.x
I was running chan_sip (binding to port 5061) and PJSIP using the default port of 5060.

I recently upgraded to asterisk 16.1.1 and don't recall changing anything specific for the sip.conf

My sip.conf ...
[general]
context = ABC
bindaddr = 0.0.0.0
bindport = 5061
websocket_enabled = false
srvlookup = no
sipdebug = yes
callcounter = yes

My pjsip.conf transports...
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp

[transport2]
type = transport
bind = 0.0.0.0
protocol = wss

Every time I start up, asterisk logging is showing the following, as if it's not reading in the bindport setting.

[01/11 09:43:51.059] WARNING[1658] chan_sip.c: Failed to bind to 0.0.0.0:5060: Address already in use

Any thoughts?

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190111/06d6e6d8/attachment.html>


More information about the asterisk-users mailing list