Hi Dragomir,<div>to let opensips stop the call (send a BYE to both parties) you have to create the dialog with the B flag.</div><div><br></div><div>create_dialog("B");</div><div><br></div><div>Best regards,</div>
<div><br></div><div>Federico</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 9:45 AM, Dragomir Haralambiev <span dir="ltr"><<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello,</div><div> </div><div>I try to use timeout_avp. Here is part of my opensips.cfg:</div><div> </div><div>modparam("dialog", "timeout_avp", "$avp(maxtime)")</div>
<div>...</div><div> create_dialog();</div>
<div> $avp(maxtime)=10;</div><div> </div><div>The call is connected and I see record in dialog tabble.</div><div>After 10 sek opensips delete record from dialog table but not stop the call.</div><div> </div><div>Where is problem?</div>
<div> </div><div>Thanks in advance</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>