A NOTE has been added to this issue. 
====================================================================== 
https://bugtracker.iptel.org/view.php?id=24 
====================================================================== 
Reported By:                stefan
Assigned To:                
====================================================================== 
Project:                    SEMS
Issue ID:                   24
Category:                   core
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
====================================================================== 
Date Submitted:             2010-04-26 15:13 CEST
Last Modified:              2010-06-19 16:26 CEST
====================================================================== 
Summary:                    get_header_keyvalue is not correct
Description: 
when searching for the key, get_header_keyvalue is not correct, it does
strstr with escaping.
e.g. get_header_keyvalue(hdr, "m") and get_header_keyvalue(hdr, "om")
would match dom=abc; 
====================================================================== 

---------------------------------------------------------------------- 
 (0000062) stefan (manager) - 2010-06-19 16:26
 https://bugtracker.iptel.org/view.php?id=24#c62 
---------------------------------------------------------------------- 
further problems with this helper functions: 

In RFC3261, sections 7.3.x it is mentioned that it is legal to have
multiple 
SIP header with the same header name and also legal to combine those to
comma 
separated values in a single header.
The current SEMS doesn't seem to support this: 
- getHeader() in AmSipMsg.cpp only returns the first one if there are
multiple 
headers.
- get_header_keyvalue() in AmUtils.cpp is not aware of the possibility of

multiple values separated by comma. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-26 15:13 stefan         New Issue                                    
2010-04-26 15:28 stefan         Status                   new => acknowledged 
2010-06-19 16:26 stefan         Note Added: 0000062                          
======================================================================
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to