[OpenSIPS-Users] Negative replies retransmission

Bogdan-Andrei Iancu bogdan at opensips.org
Thu May 22 18:48:11 CEST 2014


Hi Alexnader,

The dialog is not destroyed by the received negative replies, but when 
opensips forwards the negative reply back to the caller side.

So, in your case, the dialog will be ended when the 487 reply is sent 
from OpenSIPS to FS. That following ACK (from FS) is not a in-dialog 
ACK, but a hop-by-hop transactional ACK and it should hit TM in your 
script.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 19.05.2014 08:19, Alexander Mustafin wrote:
> Good day!
>
> I’ve a problem with negative replies retransmission. Dialog is 
> destroyed at this moment by upstream negative reply. How to prevent 
> this behaviour?
>
>                     FS      OpenSIPS     AST1      AST2
> 0.000000       |--------->|                        |     |       
>  INVITE sip:1234567890 at sbc.ops.lan | +SDP [0s]
> 0.351449       |<---------|                        |     |        100 
> Giving a try [0.35s]
> 0.351919       |             |------------------>|   |        INVITE 
> sip:1234567890 at 192.168.0.155 | +SDP [0.35s]
> 0.354767       |             |<------------------|   |        100 
> Trying [0.35s]
> 1.309592       |             |<------------------|   |        603 [1.31s]
> 1.310000       |             |------------------>|   |        ACK 
> sip:1234567890 at 192.168.0.155 [1.31s]
> 1.886184       | |-------------------------->|       INVITE 
> sip:1234567890 at 192.168.0.199 | +SDP [1.89s]
> 1.951046       | |<--------------------------|       100 Trying [1.95s]
> 6.725141       | |<--------------------------|       183 Progress | 
> +SDP [6.73s]
> 6.726316       |<---------|      |       183 Progress | +SDP [6.73s]
> 6.799651       | |<--------------------------|       180 Ringing [6.8s]
> 6.800444       |<---------|      |      180 Ringing [6.8s]
> 13.996213     |--------->|    |       CANCEL 
> sip:1234567890 at sbc.ops.lan [14s]
> 14.259989     | |--------------------------->|      CANCEL 
> sip:1234567890 at 192.168.0.199 [14.26s]
> 14.321767     | |<---------------------------|      200 OK [14.32s]
> 14.322271     | |<---------------------------|     487 Request 
> Terminated [14.32s]
> 14.322748     | |--------------------------->|      ACK 
> sip:1234567890 at 192.168.0.199 [14.32s]
> 14.323271     |<---------|     |     487 Request Terminated [14.32s]
> 14.323859     |--------->|     |     ACK sip:1234567890 at sbc.ops.lan 
> [14.32s]
> 14.825038     |<---------|     |     487 Request Terminated [14.83s]
> 14.825669     |--------->|     |     ACK sip:1234567890 at sbc.ops.lan 
> [14.83s]
> 15.826212     |<---------|     |     487 Request Terminated [15.83s]
> 15.826901     |--------->|     |     ACK sip:1234567890 at sbc.ops.lan 
> [15.83s]
> 17.821087     |<---------|     |     487 Request Terminated [17.82s]
> 17.821674     |--------->|     |     ACK sip:1234567890 at sbc.ops.lan 
> [17.82s]
> 21.827427     |<---------|     |     487 Request Terminated [21.83s]
> 21.828124     |--------->|     |     ACK sip:1234567890 at sbc.ops.lan 
> [21.83s]
>
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com <mailto:mustafin.aleksandr at gmail.com>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140522/dd8b1de3/attachment-0001.htm>


More information about the Users mailing list