[asterisk-bugs] [Asterisk 0014331]: [patch] reg->username is parsed for each registration refresh rather than once on sip reload
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Dec 15 12:43:08 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=14331
======================================================================
Reported By: Nick_Lewis
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 14331
Category: Channels/chan_sip/Registration
Reproducibility: always
Severity: tweak
Priority: normal
Status: closed
Asterisk Version: 1.6.1-beta4
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-01-26 06:19 CST
Last Modified: 2009-12-15 12:43 CST
======================================================================
Summary: [patch] reg->username is parsed for each
registration refresh rather than once on sip reload
Description:
The registration string can contain an expanded user portion of the form
user at domain (and possibly user at domain:domainport). This expanded user
portion is currently stored in reg->username and parsed each time there is
a registration refresh. It would be better if the configuration was parsed
only once and the sip_registry structure contained the atomic fields
separately through the addition of, for example, reg->regdomain and
reg->regdomainport elements
======================================================================
----------------------------------------------------------------------
(0115285) svnbot (reporter) - 2009-12-15 12:43
https://issues.asterisk.org/view.php?id=14331#c115285
----------------------------------------------------------------------
Repository: asterisk
Revision: 235132
U trunk/channels/chan_sip.c
------------------------------------------------------------------------
r235132 | dvossel | 2009-12-15 12:43:07 -0600 (Tue, 15 Dec 2009) | 14
lines
reverse minor sip registration regression
A registration regression caused by a code tweak in (issue
https://issues.asterisk.org/view.php?id=14331)
and a bug fix in (issue https://issues.asterisk.org/view.php?id=15539) caused
some sip registration
config entries to be constructed incorrectly. Origially
issue https://issues.asterisk.org/view.php?id=14331 contained the code tweak as
well as a bug fix, but since
the issue was reported as a tweak the bug fix portion was moved into
issue https://issues.asterisk.org/view.php?id=15539. Both the tweak and the bug
fix contained minor incorrect
logic that resulted in some SIP registrations to fail.
(issue https://issues.asterisk.org/view.php?id=14331)
(issue https://issues.asterisk.org/view.php?id=15539)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=235132
Issue History
Date Modified Username Field Change
======================================================================
2009-12-15 12:43 svnbot Checkin
2009-12-15 12:43 svnbot Note Added: 0115285
======================================================================
More information about the asterisk-bugs
mailing list