Hi all,<div>recently I had the need to be able to terminate a call if the ACK to the 200 OK of an INVITE was not received after a short time. Since I was using the dialog module the natural place where to implement such kind of timer seemed to be the dialog module. So I added to the module two new parameters:</div>

<div><br></div><div>- default_ack_timeout (integer): default to 0 </div><div>- ack_timeout_avp (string)</div><div><br></div><div>The behavior is the following:</div><div><br></div><div>- upon the reception of the 200 OK, if default_ack_timeout is &gt; 0 or if the ack_timeout_avp is set, the timer is armed </div>

<div>- if the ACK message arrives before the timeout is reached, the dialog lifetime is restored to the value set by default_timeout or timeout_avp</div><div>- if the ACK message doesn&#39;t arrive before the timeout is reached, the dialog is deleted (closed with BYE if the B flag was used in the dialog creation) </div>

<div><br></div><div>I admit that this goes against rfc 3261, but for our current case (in which we cannot wait for the retransmission timeout of the callee) it works. If you think that it&#39;s a feature it&#39;s worth having I can provide the patch I&#39;m currently using.</div>

<div><br></div><div>Best regards,</div><div><br></div><div>Federico Cabiddu</div>