Re: [asterisk-users] AGI + Dial + stream file ?

2010-04-07 Thread Mickael MONSIEUR
Thank you Godson & Zeeshan ! :-) Mickael. Zeeshan Zakaria a écrit : 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:1)) The first 11000 means 11

Re: [asterisk-users] AGI + Dial + stream file ?

2010-04-07 Thread Zeeshan Zakaria
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:1)) The first 11000 means 11 minutes allowed duration of the call and after 10 minutes it'll play message "You have one minute"

Re: [asterisk-users] AGI + Dial + stream file ?

2010-04-07 Thread Godson Gera
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 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 v

[asterisk-users] AGI + Dial + stream file ?

2010-04-07 Thread Mickael MONSIEUR
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. -- _