[OpenSIPS-Devel] [ opensips-Bugs-3502752 ] Internally generated requests are not RFC3261 compliant

SourceForge.net noreply at sourceforge.net
Mon Mar 12 17:53:33 CET 2012


Bugs item #3502752, was opened at 2012-03-12 09:53
Message generated for change (Tracker Item Submitted) made by dpacket
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3502752&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dynamic Packet (dpacket)
Assigned to: Nobody/Anonymous (nobody)
Summary: Internally generated requests are not RFC3261 compliant

Initial Comment:
It seems internally generated requests via function "tmb.t_request_within()" do not contain Max-Forwards header and there therefor not RFC3261 compliant.  This can be manifested by many internally generated requests, an easy one to test is with dispatcher ping.

Steps to reproduce:
1) Configure dispatcher module to use OPTIONS probes, with OpenSIPS#2 box in dispatcher list
2) On OpenSIPS#2, call "sipmsg_validate("sh")" early in route block before handeling OPTIONS
3) Watch as the sipmsg_validate fails, debug output attached

Suggested fix:
Patch tmb.t_request_within to include maxforwards header.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3502752&group_id=232389



More information about the Devel mailing list