Re: [asterisk-users] Time counting down and # detect

2010-03-14 Thread Pham Quy
Hi all, What i want to do is something like karaoke. when caller call to asterisk, a music song is played while caller sings. His or her voice will be recorded and mixed with music. To do that i use MixMonitor(). But i enable user to select a part of song to be recorded (monitored) as following:

Re: [asterisk-users] Time counting down and # detect

2010-03-14 Thread Steve Edwards
Trying to un-top-post into something readable... > > > > > On Fri, 2010-03-12 at 15:03 +0700, Pham Quy wrote: > > > > >> > > > > >> Here is the script i want to make > > > > >> > > > > >> - Caller call to a number to record a message > > > > >> - Asterisk answer and start recording message as fol

Re: [asterisk-users] Time counting down and # detect

2010-03-14 Thread Pham Quy
Hi I made a conclusion too soon, i couldnt count down while music was playing back. I'm running out of time, really need help. Thanks QuyPs On Sat, 2010-03-13 at 08:42 +0700, Pham Quy wrote > Here again, the script should be described as > > > - Caller call to a

Re: [asterisk-users] Time counting down and # detect

2010-03-12 Thread Pham Quy
Here again, the script should be described as - Caller call to a number - Asterisk answer, play back music and start MONITORING as following + User press * to start MONITORING + Record is finished if: + User press # + OR

Re: [asterisk-users] Time counting down and # detect

2010-03-12 Thread Pham Quy
Hi Gordon, What i'm doing now is that something like karaoke. While music is playing back, caller voice is being record by the way i mentioned earlier. I should give you the whole picture of what i'm doing. I did google for it, and Monitor() function seem to be the best choice to do that. I wou

Re: [asterisk-users] Time counting down and # detect

2010-03-12 Thread Gordon Henderson
On Fri, 12 Mar 2010, Pham Quy wrote: > I figured that out, i can use monitor() function to record and using a > loop to count down 60s. > > But I dont think it is best solution, any suggestion is appreciated. > And still, how can i capture '#'? Have you reied reading the manual, or the wiki, or e

Re: [asterisk-users] Time counting down and # detect

2010-03-12 Thread Pham Quy
I figured that out, i can use monitor() function to record and using a loop to count down 60s. But I dont think it is best solution, any suggestion is appreciated. And still, how can i capture '#'? On Fri, 2010-03-12 at 15:03 +0700, Pham Quy wrote: > Hi all, > > Here is the script i want to ma

[asterisk-users] Time counting down and # detect

2010-03-12 Thread Pham Quy
Hi all, Here is the script i want to make - Caller call to a number to record a message - Asterisk answer and start recording message as following + User press * to start recording + Record is finished if: + User press # + OR message duration reac