Please disregard.

I just found my problem.  In my sip.conf, I had an include statement for 
another file at the top.  The included file also had a general section.  Once I 
deleted that general section and reloaded everything worked as expected, now 
using port 5061.

From: asterisk-users <asterisk-users-boun...@lists.digium.com> On Behalf Of Dan 
Cropp
Sent: Friday, January 11, 2019 11:54 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] chan_sip bind port

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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Reply via email to