<div>Hi Muhammad!</div><div><br></div><div>Thanks for replying.</div><div><br></div>I looked at SST module and, at least from docs, there is no mention to using it for the 200 OK, only for INVITES...<div><br></div><div>Even so, I think the problem is that the dialog module does not update the timeout value for 200 OK. For example, if you want to refresh the timeout value when you get an UPDATE message, you have to set the avp configured in timeout_avp modparam and then call match_dialog()/loose_route(), because either of these functions will actually update the dialog, and setting the avp without calling them will take no effect. I guess the same thing is happening when I set the avp after receiving the 200 OK.</div>

<div><br></div><div>Any help on what should be changed in OpenSIPS code so that setting the avp in onreply_route will take effect on the dialog timeout?</div><div><br></div><div>Thanks!</div><div>Mariana</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 1:38 PM, Muhammad Shahzad <span dir="ltr">&lt;<a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Use SST module,<div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.8.x/sst.html#id250008" target="_blank">http://www.opensips.org/html/docs/modules/1.8.x/sst.html#id250008</a></div><div><br></div><div>

Thank you.</div>
<div><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 13, 2012 at 8:25 PM, Mariana Arduini <span dir="ltr">&lt;<a href="mailto:marianarduini@gmail.com" target="_blank">marianarduini@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello all,<div><br></div><div>I know from the docs that dialog module param timeout_avp &quot;<span style="text-align:justify;font-size:12px;font-family:Helvetica,Arial"> ...</span><span style="text-align:justify;font-size:12px;font-family:Helvetica,Arial"> may be used only in a request (initial or sequential) context</span>&quot;, but we have a scenario where the UAS should be the session timer refresher, then we can only set the timeout_avp value when we get the Session-expires header value in 200 OK.</div>




<div><br></div><div>May I ask what would be the best approach to this, like modifying OpenSIPS code to be able to actually set the avp from onreply_route? If this is the case, can you please guide us on what would need to be changed?</div>




<div><br></div><div>Thanks in advance,</div><div><br></div><div>Mariana.</div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>

CISCO Certified Network Associate (CCNA)<br>
Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" value="+4917699831085" target="_blank">+49 176 99 83 10 85</a><br>MSN: <a href="mailto:shari_786pk@hotmail.com" target="_blank">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a><br>



</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>