[asterisk-bugs] [Asterisk 0015342]: parsing of sip register lines is still broken
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 17 10:27:37 CDT 2009
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=15342
======================================================================
Reported By: ffs
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15342
Category: Channels/chan_sip/Registration
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 201260
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2009-06-17 05:17 CDT
Last Modified: 2009-06-17 10:27 CDT
======================================================================
Summary: parsing of sip register lines is still broken
Description:
A register line within sip.conf has the following format:
[transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry]
[^]
To extract the extension the parser is searching for '/' in the whole line
(from right to left).
As [/extension] is optional this causes trouble if there is no extension
defined and [transport://] [^] is set.
Suggested solution: parse extension and expiry after the last '@'
character.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0015111 [patch] parsing of sip register lines i...
======================================================================
----------------------------------------------------------------------
(0106555) seanbright (manager) - 2009-06-17 10:27
https://issues.asterisk.org/view.php?id=15342#c106555
----------------------------------------------------------------------
Re-opened the original issue (you could have, too)
Issue History
Date Modified Username Field Change
======================================================================
2009-06-17 10:27 seanbright Note Added: 0106555
2009-06-17 10:27 seanbright Status new => closed
======================================================================
More information about the asterisk-bugs
mailing list