diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-15 15:45:54 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-15 15:45:54 +0000 |
commit | b2d102a74f3d4b0d419b1360e8eba67c016699f4 (patch) | |
tree | 759e811e288ae92cf4960b1298daad1c55ef7dcc | |
parent | 9a6b3f90d01b5ec789743c9ca95b3a5b780b9de1 (diff) |
Blocked revisions 246627 via svnmerge
........
r246627 | dvossel | 2010-02-15 09:45:02 -0600 (Mon, 15 Feb 2010) | 22 lines
chan_sip parse code refactoring plus two new unit tests
Code Refactoring Changes
- read_to_parts() moved to reqresp_parser.c and has been renamed as
get_name_and_number()
- get_in_brackets() moved to reqresp_parser.c
- find_closing_quotes() added to sip_utils.h
Logic Changes
- get_name_and_number() now uses parse_uri() and get_calleridname()
for parsing. Before this change only names within quotes were
found, when names not within quotes are possible.
New Unit Tests
-sip_get_name_and_number_test
-sip_get_in_brackets_test
(closes issue #16707)
Reported by: Nick_Lewis
Patches:
issue16706.diff uploaded by dvossel (license 671)
Review: https://reviewboard.asterisk.org/r/499/
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246628 f38db490-d61c-443f-a65b-d21fe96a405b
0 files changed, 0 insertions, 0 deletions