[OpenSIPS-Devel] [ opensips-Feature Requests-3434574 ] Need to be able to change reply status inside onreply_route

SourceForge.net noreply at sourceforge.net
Mon Nov 7 18:32:47 CET 2011


Feature Requests item #3434574, was opened at 2011-11-07 09:32
Message generated for change (Tracker Item Submitted) made by dpacket
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3434574&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: trunk
Status: Open
Priority: 5
Private: No
Submitted By: Dynamic Packet (dpacket)
Assigned to: Nobody/Anonymous (nobody)
Summary: Need to be able to change reply status inside onreply_route

Initial Comment:
Need a function like change_reply_status(code, reason) so that the script author can change status inside reply blocks.

This is helpful to translate certain negative replies downstream to clients that may or may not support them. This can also be used
to change 183 ringing to 180 in onreply by using this function and dropping body. Particularly helpful in complex routing setups
where dialog and top hiding is used, therefor it is very hard to generate fake reply in external script. Proposed function would make all our
lives easier.

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

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



More information about the Devel mailing list