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:[email protected] | +SDP [0s] 0.351449 |<---------| | | 100 Giving a try [0.35s] 0.351919 | |------------------>| | INVITE sip:[email protected] | +SDP [0.35s] 0.354767 | |<------------------| | 100 Trying [0.35s]
1.309592       |             |<------------------|   |        603 [1.31s]
1.310000 | |------------------>| | ACK sip:[email protected] [1.31s] 1.886184 | |-------------------------->| INVITE sip:[email protected] | +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:[email protected] [14s] 14.259989 | |--------------------------->| CANCEL sip:[email protected] [14.26s]
14.321767     | |<---------------------------|      200 OK [14.32s]
14.322271 | |<---------------------------| 487 Request Terminated [14.32s] 14.322748 | |--------------------------->| ACK sip:[email protected] [14.32s]
14.323271     |<---------|     |     487 Request Terminated [14.32s]
14.323859 |--------->| | ACK sip:[email protected] [14.32s]
14.825038     |<---------|     |     487 Request Terminated [14.83s]
14.825669 |--------->| | ACK sip:[email protected] [14.83s]
15.826212     |<---------|     |     487 Request Terminated [15.83s]
15.826901 |--------->| | ACK sip:[email protected] [15.83s]
17.821087     |<---------|     |     487 Request Terminated [17.82s]
17.821674 |--------->| | ACK sip:[email protected] [17.82s]
21.827427     |<---------|     |     487 Request Terminated [21.83s]
21.828124 |--------->| | ACK sip:[email protected] [21.83s]


Best regards,
Alexander Mustafin
[email protected] <mailto:[email protected]>






_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to