Check the dialog modules "bye on timeout":<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"><<a href="mailto:thiago@aware.com.br">thiago@aware.com.br</a>></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">> Hi Thiago,<br>
><br>
> by this expire_call_in_seconds(300); you want to control the maximum<br>
> duration of the entire call ? or only the setup time of the call ?<br>
><br>
> Regards,<br>
> Bogdan<br>
><br>
> Thiago Rondon wrote:<br>
><br>
>> Hi,<br>
>><br>
>> Today I use redirecthostport() to forward calls for another provider,<br>
>> can I make a static limit for all calls that I send to ?<br>
>><br>
>> Like:<br>
>><br>
>> expire_call_in_seconds(300); # ????<br>
>> redirecthostport( "host:5060");<br>
>><br>
>> Thanks!<br>
>> -Thiago Rondon<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>
>><br>
>><br>
>><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>
><br>
><br>
><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>