<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Rodrigo,<br>
<br>
The timeout for a call can be set (in a per-call manner) when the
call starts (during re-INVITE) or during any sequential requests
(ACK, re-INVITE), etc. See DLG_timeout variable:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#timeout-pvar-id">http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#timeout-pvar-id</a><br>
<br>
If you want to tear down the call, use the dlg_end_dlg MI command
:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296795">http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296795</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 25.09.2015 23:56, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote
cite="mid:BLUPR02MB16835ACB2A731A9BE1C13617B5420@BLUPR02MB1683.namprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Dear OpenSIPS-Users,<br>
</p>
<p><br>
</p>
<p>A kind of management application in my project must provide
an way of a system manager sets the default_timeout for
dialogs in our already running OpenSIPS. How to do it?
<br>
</p>
<p><br>
</p>
<p>I was looking for an way of sending a command to OpenSIPS 2.2
to configure it to tear down (hang up) every call after a
determined timeout. So I have just read about MI, dialog
exported MI functions and dialog exported pseud-variables.
What I want is to configure the default_timeout without having
to reset the OpenSIPS.</p>
<p><br>
</p>
<p>However, I didn't find a way of doing that. I was thing about
to use mi_fifo and a exported command, but no way.</p>
<p><br>
</p>
<p>Is there a way of controlling the default_timeout for
dialogs, while OpenSIPS is running?</p>
<p><br>
</p>
<p>If not, I was thinking about changing the value of timeout
column in the table dialog, for each dialog. But, it sounds a
bit complicated.</p>
<p><br>
</p>
<p>Any idea?</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Best regards.</p>
<p><br>
</p>
<p><span class="section"></span><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>