[SR-Users] BYE from CANCLEd path gets forwarded to caller
Daniel Tryba
d.tryba at pocos.nl
Mon Jun 29 14:17:54 CEST 2015
I was testing a scenario whith parallel forking (multiple registers) where 2
endpoints answer near simultaniously. When phone that was just a bit slower
hangs up, the BYE gets forwarded to the caller and thus the connection is
terminated. This is as far as I know for stateful transactions (t_relay())
I always assumed in this scenario the state machine in kamailio would prevent
this kind of behavior by itself. Is there a way to prevent these messages
being forwarded?
-------------- next part --------------
Conv.| Time | 109.235.32.48 | 109.235.34.226 |
| | | 109.235.32.40 |
25 |2015-06-29 13:22:31.515618000| INVITE SDP (g711A g7 | |SIP From: "+31XXXXXXXXX" <sip:+31XXXXXXXXX at sip.pocos.nl To:<sip:+31YYYYYYYYY at sip.pocos.nl:5060
| |(5060) ------------------> (5060) | |
25 |2015-06-29 13:22:31.515957000| 401 Unauthorized | |SIP Status
| |(5060) <------------------ (5060) | |
25 |2015-06-29 13:22:31.516351000| ACK | | |SIP Request
| |(5060) ------------------> (5060) | |
25 |2015-06-29 13:22:31.516409000| INVITE SDP (g711A g7 | |SIP From: "+31XXXXXXXXX" <sip:+31XXXXXXXXX at sip.pocos.nl To:<sip:+31YYYYYYYYY at sip.pocos.nl:5060
| |(5060) ------------------> (5060) | |
25 |2015-06-29 13:22:31.528019000| 100 trying -- your c | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
26 |2015-06-29 13:22:31.528955000| | INVITE SDP (g711A g7 |SIP From: "+31XXXXXXXXX" <sip:+31XXXXXXXXX at sip.pocos.nl To:<sip:+31YYYYYYYYY at sip.pocos.nl:5060
| | |(5060) ------------------> (5066) |
26 |2015-06-29 13:22:31.529017000| | INVITE SDP (g711A g7 |SIP From: "+31XXXXXXXXX" <sip:+31XXXXXXXXX at sip.pocos.nl To:<sip:+31YYYYYYYYY at sip.pocos.nl:5060
| | |(5060) ------------------> (5555) |
26 |2015-06-29 13:22:31.529054000| | INVITE SDP (g711A g7 |SIP From: "+31XXXXXXXXX" <sip:+31XXXXXXXXX at sip.pocos.nl To:<sip:+31YYYYYYYYY at sip.pocos.nl:5060
| | |(5060) ------------------> (5060) |
26 |2015-06-29 13:22:31.532361000| | 100 Trying| |SIP Status
| | |(5060) <------------------ (5060) |
26 |2015-06-29 13:22:31.532930000| | 200 OK SDP (GSM g711 |SIP Status
| | |(5060) <------------------ (5060) |
-----------------------------------------------------------------------------
25 |2015-06-29 13:22:31.535106000| 200 OK SDP (GSM g711 | |SIP Status
| |(5060) <------------------ (5060) | |
25 |2015-06-29 13:22:31.535286000| ACK | | |SIP Request
| |(5060) ------------------> (5060) | |
-----------------------------------------------------------------------------
26 |2015-06-29 13:22:31.539017000| | ACK | |SIP Request
| | |(5060) ------------------> (5060) |
26 |2015-06-29 13:22:31.549216000| | 100 Trying| |SIP Status
| | |(5060) <------------------ (5555) |
26 |2015-06-29 13:22:31.549348000| | CANCEL | |SIP Request
| | |(5060) ------------------> (5555) |
26 |2015-06-29 13:22:31.567034000| | 481 Call Leg/Transac |SIP Status
| | |(5060) <------------------ (5555) |
26 |2015-06-29 13:22:31.586907000| | 100 Trying| |SIP Status
| | |(5060) <------------------ (5066) |
26 |2015-06-29 13:22:31.587130000| | CANCEL | |SIP Request
| | |(5060) ------------------> (5066) |
26 |2015-06-29 13:22:31.588680000| | 180 Ringing |SIP Status
| | |(5060) <------------------ (5555) |
26 |2015-06-29 13:22:31.588858000| | CANCEL | |SIP Request
| | |(5060) ------------------> (5555) |
26 |2015-06-29 13:22:31.604612000| | 180 Ringing |SIP Status
| | |(5060) <------------------ (5066) |
26 |2015-06-29 13:22:31.604890000| | CANCEL | |SIP Request
| | |(5060) ------------------> (5066) |
26 |2015-06-29 13:22:31.605986000| | 481 Call Leg/Transac |SIP Status
| | |(5060) <------------------ (5555) |
26 |2015-06-29 13:22:31.783633000| | 200 OK | |SIP Status
| | |(5060) <------------------ (5066) |
26 |2015-06-29 13:22:31.795387000| | 487 Request Cancelle |SIP Status
| | |(5060) <------------------ (5066) |
26 |2015-06-29 13:22:31.795707000| | ACK | |SIP Request
| | |(5060) ------------------> (5066) |
26 |2015-06-29 13:22:31.838690000| | 481 No Such Call |SIP Status
| | |(5060) <------------------ (5066) |
26 |2015-06-29 13:22:32.614047000| | 200 OK SDP (g711A te |SIP Status
| | |(5060) <------------------ (5555) |
-----------------------------------------------------------------------------
25 |2015-06-29 13:22:32.615831000| 200 OK SDP (g711A te | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
26 |2015-06-29 13:22:33.095127000| | 200 OK SDP (g711A te |SIP Status
| | |(5060) <------------------ (5555) |
-----------------------------------------------------------------------------
25 |2015-06-29 13:22:33.095939000| 200 OK SDP (g711A te | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
26 |2015-06-29 13:22:34.095134000| | 200 OK SDP (g711A te |SIP Status
| | |(5060) <------------------ (5555) |
-----------------------------------------------------------------------------
25 |2015-06-29 13:22:34.095688000| 200 OK SDP (g711A te | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
26 |2015-06-29 13:22:35.925858000| | BYE | |SIP Request
| | |(5060) <------------------ (5555) |
-----------------------------------------------------------------------------
25 |2015-06-29 13:22:35.928791000| BYE | | |SIP Request
| |(5060) <------------------ (5060) | |
25 |2015-06-29 13:22:35.928987000| 200 OK | | |SIP Status
| |(5060) ------------------> (5060) | |
More information about the sr-users
mailing list