Use SST module,<div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.8.x/sst.html#id250008">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">On Tue, Nov 13, 2012 at 8:25 PM, Mariana Arduini <span dir="ltr"><<a href="mailto:marianarduini@gmail.com" target="_blank">marianarduini@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<div><br></div><div>I know from the docs that dialog module param timeout_avp "<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>", 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>_______________________________________________<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><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: +49 176 99 83 10 85<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>
</div>