[SR-Users] TR: Failure Mode

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Mon Jul 10 10:10:00 CEST 2017


Hello,

Yes I'm sure the second branch is launched from Branch Failure Route.
If you check the timer trace, you can see the second is send 4 seconds later than the first ( I set the tm_inv to 4 seconds )

But in the trace I sent you the "last" invite. The kamailio sent 4 invites.

I will send you the complete trace




De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
Envoyé : lundi 10 juillet 2017 09:20
À : Nicolas Breuer <Nicolas.Breuer at belcenter.biz>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] TR: Failure Mode


Hello,

looking at the trace, the routing is parallel forking, because the two branches are sent out at the same time, it is no final response to the first branch before the second is sent out.

Are you sure you sent out the second branch from failure route? From the sip trace is doesn't seem so.

Cheers,
Daniel

On 07.07.17 15:38, Nicolas Breuer wrote:
Hello Daniel,

Thanks !

I sent all the information's to your email address


De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
Envoyé : vendredi 7 juillet 2017 13:21
À : Nicolas Breuer <Nicolas.Breuer at belcenter.biz><mailto:Nicolas.Breuer at belcenter.biz>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org><mailto:sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] TR: Failure Mode


Can you get a ngrep trace captured on kamailio server for such situation?

Also, can you paste the failure_route block here along with the log messages from the syslog?

Cheers,
Daniel

On 07.07.17 12:42, Nicolas Breuer wrote:
I think serial because the new branch is only created in case the first is timeout.

De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
Envoyé : vendredi 7 juillet 2017 12:40
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org><mailto:sr-users at lists.kamailio.org>; Nicolas Breuer <Nicolas.Breuer at belcenter.biz><mailto:Nicolas.Breuer at belcenter.biz>
Objet : Re: [SR-Users] TR: Failure Mode


Hello,

are you doing parallel forking or serial forking?

Cheers,
Daniel

On 07.07.17 12:24, Nicolas Breuer wrote:


Hello,

Some help here is needed

# auto-discard branches from previous serial forking leg
modparam("tm", "failure_reply_mode", 3)

I test a call with two branches.

1st branch received a 408 timeout error
2nd branch received a 486 busy.

Normally the failure route should be with the 486.

NOTICE: <script>: Failure route -----2---1--408----

We can see the 408 is the winning reply but I understood from the documentation that if
Failure reply mode is "3" , the winning reply is always the reply from the last branch :)

It's a problem because if  the 1st is timeout (because down), the second is OK but callee is busy ; we don't send the right reply to the caller










_______________________________________________

Kamailio (SER) - Users Mailing List

sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users





--

Daniel-Constantin Mierla

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>

Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>




--

Daniel-Constantin Mierla

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>

Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>



--

Daniel-Constantin Mierla

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>

Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170710/a76fca6d/attachment.html>


More information about the sr-users mailing list