[asterisk-bugs] [Asterisk 0015894]: SIP register via tls causes lock on sip reload
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 28 16:08:19 CDT 2009
The following issue has been set CHILD OF issue 0013136.
======================================================================
https://issues.asterisk.org/view.php?id=15894
======================================================================
Reported By: dvossel
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 15894
Category: Channels/chan_sip/TCP-TLS
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: SVN
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 218430
Request Review:
======================================================================
Date Submitted: 2009-09-14 17:47 CDT
Last Modified: 2009-09-28 16:08 CDT
======================================================================
Summary: SIP register via tls causes lock on sip reload
Description:
I ran into this problem because of another issue Asterisk has with TLS.
register => tls://user:1234@mydomain
Given the register line above in sip.conf, I'd expect the register request
to be send via port 5061. Instead it defaults to port 5060 which is
incorrect for TLS.
----------------------------------------------------------------
*CLI> sip show registry
Host dnsmgr Username Refresh State
Reg.Time
mydomain:5060 N user 120 Request Sent
----------------------------------------------------------------
Now here's the odd part. I decided to go into my sip.conf and explicitly
set the register line to have a port, and when I issued a sip reload
everything locked up, even the CLI. I was able to reproduce the steps and
got the same results everytime.
It seems that this is somehow caused by the receiving end binding to port
5061 and me sending the registration using port 5060. If I bind the
receiving end to 5060 this works even though that is not the correct port
for tls. I tried another test where I pointed the register at a fake
domain, but nothing locked up.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
child of 0013136 [patch] sip peer qualified failed, aste...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-09-28 16:08 dvossel Relationship added child of 0013136
======================================================================
More information about the asterisk-bugs
mailing list