[Kamailio-Devel] [ openser-Feature Requests-2182287 ] call failure_route also on internally sent negative replies
SourceForge.net
noreply at sourceforge.net
Mon Oct 20 14:44:23 CEST 2008
Feature Requests item #2182287, was opened at 2008-10-20 15:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2182287&group_id=139143
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: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Juha Heinanen (juhe)
Assigned to: Nobody/Anonymous (nobody)
Summary: call failure_route also on internally sent negative replies
Initial Comment:
currently, if t_relay is called and internal failure happens, for example, tcp connection cannot be established, an internal negative reply is sent and failure_route is not executed. this is bad, because in order to catch these failures, t_relay needs to be called with 0x02 flag, which complicates the script gets by the need to at least partially duplicate failure_route block code in route block.
further complication results from the fact that there is currently no means for module functions to determine if transaction already exists. so if a function is called from route block and it needs to change request-uri, it has not way to figure out if it should rewrite request-uri or append a new branch. so this tracker item may also qualify as a bug report.
-- juha
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2182287&group_id=139143
More information about the Devel
mailing list