[sr-dev] [tracker] Task opened: modules/tmx: t_is_failure_route() code or documentation is wrong

sip-router bugtracker at sip-router.org
Wed Jun 25 11:56:54 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Andrew Pogrebennyk (marduk) 

Attached to Project - sip-router
Summary - modules/tmx: t_is_failure_route() code or documentation is wrong
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 4.1
Due in Version - Undecided
Due Date - Undecided
Details - Hello,
I'm using kamailio 4.1.4. There is a problem with t_is_failure_route() function. While the documentation says it can be used in any route:

http://www.kamailio.org/docs/modules/4.1.x/modules/tmx.html#idp27024
3.5.  t_is_failure_route()
Returns true if the top-executed route block is failure_route.
This function can be used from ANY_ROUTE . 

in fact I'm getting an error if I call that function from the branch_route:
Jun 25 11:44:20 sp1 proxy[11942]: ERROR: tmx [t_var.c:500]: pv_get_tm_reply_code(): unsupported route_type 8

(the call flow is simple: after failure_route fires, I call a request route and set a new destination and then the branch route gets called). Please fix either the code (would be nice indeed) or the documentation. Thanks!

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=445

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list