Re: [SR-Users] Branching and rejects.

2018-04-17 Thread Kjeld Flarup
What could change this behavior? I see that the first 404 I get return is passed on. Could it be the t_newtran(). I Honestly don't remember why we put it there. if ( !lookup("doorlocation") ) {                 $var(rc) = $rc;                 t_newtran();                 switch ($var(rc)) { The

Re: [SR-Users] Branching and rejects.

2018-04-16 Thread Daniel-Constantin Mierla
Hello, you do not need to discard the branch replies at all. Kamailio sends only one reply back, even if you do many outgoing branches, kamailio is going to wait until all of the get a final reply and then selects the one with highest priority to send back. Cheers, Daniel On 14.04.18 23:05, Kje

[SR-Users] Branching and rejects.

2018-04-14 Thread Kjeld Flarup
Hello What is the correct way to handle, if a branched call reaches a 404 on one of the branches. Currently I discard all 404 in onreply_route, but if all branches has 404, then this is never send to the caller. -- Med Liberalistiske Hilsner -- Ci