<p>There is a parameter "L" which you can use in the dial command. More about it you can see on <a href="http://voip-info.org">voip-info.org</a>, but it'll be something like this:</p>
<p>Dial(SIP/223,60,L(11000:10000))</p>
<p>The first 11000 means 11 minutes allowed duration of the call and after 10 minutes it'll play message "You have one minute".<br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
Sent from my Android phone with K-9 Mail.</p>
<p><blockquote type="cite">On 2010-04-07 9:39 AM, "Mickael MONSIEUR" <<a href="mailto:mickael.monsieur@gmail.com">mickael.monsieur@gmail.com</a>> wrote:<br><br>
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Hi all,<br>
<br>
I am running an AGI script in a command dial, or call a SIP trunk.<br>
I want to execute after 10 minutes a voice message (stream file) on the
channel to warn the person that the call is about to end. How to do
that?<br>
<br>
Thank you,<br>
Mickael.<br>
</font></font>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></p>