Bugs item #2958254, was opened at 2010-02-24 17:42 Message generated for change (Tracker Item Submitted) made by rshpount You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2958254&group_id=232389
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Roman Shpount (rshpount) Assigned to: Nobody/Anonymous (nobody) Summary: Comma separated headers are not parsed by $hdr Initial Comment: When comma separated headers, such as "Allow: INVITE, ACK, CANCEL, BYE" are accessed using $hdr script variable, they are presented as a single header. In other words, $hdr(Allow) returns "INVITE, ACK, CANCEL, BYE" and $(hdr(Allow)[1]) returns <null>. Expected behavior is to return "INVITE" and "ACK" respectively. To reproduce, see the output of xlog("L_INFO", "TRACE:TEST: $hdr(Allow)\n"); xlog("L_INFO", "TRACE:TEST: $(hdr(Allow)[1])\n"); while processing almost any Register message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2958254&group_id=232389 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel