Re: [SR-Users] behaviour of exit();

2016-01-11 Thread Grant Bagdasarian
Thank you Daniel, it's clear for me now :) From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Monday, January 11, 2016 10:33 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] behaviour of exit(); Hello, in a failure_

Re: [SR-Users] behaviour of exit();

2016-01-11 Thread Daniel-Constantin Mierla
Hello, in a failure_route, exit stops the execution of the config file and then kamailio will send the winning reply to the caller if there is no active branch. If you did a t_relay() to a new destination in failure_route, then that is an active branch, so no reply is sent to caller, kamailio will

[SR-Users] behaviour of exit();

2016-01-11 Thread Grant Bagdasarian
Hello, I have the following statements in my config script. When either of the IF statements is true, what does the exit function do? Will it still pass the message to the next hop or will it just abort and drop the sip message? failure_route[DISPATCH_FAILURE] { xlog("L_INFO", "