Check the dialog modules &quot;bye on timeout&quot;:<div><a href="http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#bye-on-timeout-flag-id">http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#bye-on-timeout-flag-id</a></div>

<div><br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 5:48 PM, Thiago Rondon <span dir="ltr">&lt;<a href="mailto:thiago@aware.com.br">thiago@aware.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
<br>
I want to control the maximum duration of the entire call.<br>
<br>
Thanks!<br>
-Thiago Rondon<br>
<br>
Bogdan-Andrei Iancu escreveu:<br>
<div><div></div><div class="h5">&gt; Hi Thiago,<br>
&gt;<br>
&gt; by this expire_call_in_seconds(300); you want to control the maximum<br>
&gt; duration of the entire call ? or only the setup time of the call ?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Bogdan<br>
&gt;<br>
&gt; Thiago Rondon wrote:<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Today I use redirecthostport() to forward calls for another provider,<br>
&gt;&gt; can I make a static limit for all calls that I send to ?<br>
&gt;&gt;<br>
&gt;&gt; Like:<br>
&gt;&gt;<br>
&gt;&gt;        expire_call_in_seconds(300); # ????<br>
&gt;&gt;        redirecthostport( &quot;host:5060&quot;);<br>
&gt;&gt;<br>
&gt;&gt; Thanks!<br>
&gt;&gt; -Thiago Rondon<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<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>
</div></div></blockquote></div><br></div>