Hi all, I am running an AGI script in a command dial, or call a SIP trunk. 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? Thank you, Mickael. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100407/58864a09/attachment.htm
Use L() option in Dial application while originating the call. http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial On Wed, Apr 7, 2010 at 7:00 PM, Mickael MONSIEUR <mickael.monsieur at gmail.com> wrote:> Hi all, > > I am running an AGI script in a command dial, or call a SIP trunk. > 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? > > Thank you, > Mickael. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Thanks & Regards, Godson Gera http://godson.in -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100407/fde53b9d/attachment.htm
There is a parameter "L" which you can use in the dial command. More
about
it you can see on voip-info.org, but it'll be something like this:
Dial(SIP/223,60,L(11000:10000))
The first 11000 means 11 minutes allowed duration of the call and after 10
minutes it'll play message "You have one minute".
Zeeshan A Zakaria
--
Sent from my Android phone with K-9 Mail.
On 2010-04-07 9:39 AM, "Mickael MONSIEUR" <mickael.monsieur at
gmail.com>
wrote:
Hi all,
I am running an AGI script in a command dial, or call a SIP trunk.
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?
Thank you,
Mickael.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100407/02342983/attachment.htm