[sr-dev] [tracker] Task opened: t_check_trans is not allowed in onreply_route

sip-router admin at sip-router.org
Tue Mar 8 10:49:55 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Alex Hermann (axlh) 

Attached to Project - sip-router
Summary - t_check_trans is not allowed in onreply_route
Task Type - Bug Report
Category - tm
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - Documentation for t_check_trans() says:

"For a SIP Reply it returns true if the reply belongs to an existing transaction and false otherwise."

But when the function is used in onreply_route, an error results:

 0(3406) : <core> [cfg.y:3412]: parse error in config file /etc/proxy/kamailio.cfg, line 256, column 26: Command cannot be used in the block

onreply_route {
	if not t_lookup_request() {                                 # <<< line 256
		xlog("L_ERROR", "Dropped reply without transaction");
		drop();
		exit;
	}
	return;
}


This used to work in kamailio 1.5.

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

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