Re: [asterisk-users] file command with alaw file

2010-05-21 Thread Pham Quy
From alaw to wav, you can use Asterisk's CLI f file convert /var/lib/asterisk/sounds/soundfile.alaw /var/lib/asterisk/sounds/soundfile.wav I want to have my record alaw automically be converted to mp3 (or wav) right after finishing recording. How can I do it in

Re: [asterisk-users] file command with alaw file

2010-05-20 Thread Pham Quy
that not all linux distributions provide the same version of sox; some distribute sox with an absolute minimum of sound formats built-in. You may have to go out and find all the libraries and roll your own sox. murf On Wed, May 19, 2010 at 10:34 PM, Pham Quy qu...@vega.com.vn wrote

Re: [asterisk-users] file command with alaw file

2010-05-19 Thread Pham Quy
On Mon, 2010-05-17 at 17:49 +0700, Pham Quy wrote: On Mon, 2010-05-17 at 13:06 +0700, Pham Quy wrote: hi all, I install Asterisk 1.6 on Centos 5.2 (kernel 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux) and do record audio clip with mixmonitor

[asterisk-users] file command with alaw file

2010-05-17 Thread Pham Quy
hi all, I install Asterisk 1.6 on Centos 5.2 (kernel 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux) and do record audio clip with mixmonitor() as alaw file (softphone is also configured with alaw active only). Using file command i can get the following

Re: [asterisk-users] file command with alaw file

2010-05-17 Thread Pham Quy
On Mon, 2010-05-17 at 13:06 +0700, Pham Quy wrote: hi all, I install Asterisk 1.6 on Centos 5.2 (kernel 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux) and do record audio clip with mixmonitor() as alaw file (softphone is also configured with alaw active

Re: [asterisk-users] Error at start of asterisk with cdr_addon_mysql.o

2010-05-13 Thread Pham Quy
On Wed, 2010-05-12 at 22:10 -0700, Steve Edwards wrote: On Thu, 13 May 2010, Pham Quy wrote: Hi all, I use asterisk-1.6.2.7 and asterisk addon version 1.6.2.1. It started ok with out cdr_addon_mysql.o. But when I put cdr_addon_mysql.o in to modules folder, it fail at start

[asterisk-users] Error at start of asterisk with cdr_addon_mysql.o

2010-05-12 Thread Pham Quy
Hi all, I use asterisk-1.6.2.7 and asterisk addon version 1.6.2.1. It started ok with out cdr_addon_mysql.o. But when I put cdr_addon_mysql.o in to modules folder, it fail at start and the following out has been thrown: -- [r...@localhost modules]# /usr/sbin/safe_asterisk: line 145:

Re: [asterisk-users] Does 'file' command work with asterisk genereted alaw file

2010-04-26 Thread Pham Quy
On Sun, 2010-04-25 at 23:39 -0500, Tilghman Lesher wrote: On Sunday 25 April 2010 23:22:21 Pham Quy wrote: I record an alaw file by asterisk's record monitor command, and i use linux's file command to check it information. file command recognized the alaw file as DATA, is it correct

[asterisk-users] Does 'file' command work with asterisk genereted alaw file

2010-04-25 Thread Pham Quy
Hi, I record an alaw file by asterisk's record monitor command, and i use linux's file command to check it information. file command recognized the alaw file as DATA, is it correct? Quyps -- _ -- Bandwidth and Colocation

[asterisk-users] asterisk segmentation fault

2010-04-11 Thread Pham Quy
Hi all, I have a problem with my asterisk. When i start asterisk, i got the following -- /usr/sbin/safe_asterisk: line 152: 23241 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS}

Re: [asterisk-users] How to log into separate file

2010-04-08 Thread Pham Quy
On Wed, 2010-04-07 at 21:37 -0700, Steve Edwards wrote: On Thu, 8 Apr 2010, Pham Quy wrote: I want to have a separate file to log what i need for my dialplan without all output from Asterisk. By this way, i can easily to trace problems caused by my dialplan. You can control how much

[asterisk-users] How to log into separate file

2010-04-07 Thread Pham Quy
Hi all, I want to have a separate file to log what i need for my dialplan without all output from Asterisk. By this way, i can easily to trace problems caused by my dialplan. How can i do that? Thanks in advance. Quyps --

[asterisk-users] Asterisk a-law header missing?

2010-04-04 Thread Pham Quy
Hi all, I records a audio file as alaw format, i tried to play it with several audio player such as VLC, GNOME player, QUicktime,..but have no success. Do you know which player can play alaw file? I have a though that generated alaw file by asterisk seem not have header, therefore none of my

Re: [asterisk-users] Asynchronous play music

2010-03-30 Thread Pham Quy
Hi, Thanks a lot Steve, Im gonna try it in Asterisk 1.6. Quyps On Tue, 2010-03-30 at 12:30 -0700, Steve Edwards wrote: On Tue, 30 Mar 2010, Pham Quy wrote: Is there anyway to catch DTMF keypress while a music file is playing without stop the music? On Mon, 29 Mar 2010, Steve

Re: [asterisk-users] Asynchronous play music

2010-03-29 Thread Pham Quy
Hi all, Is there anyway to catch DTMF keypress while a music file is playing without stop the music? Thanks, Quyps -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a

Re: [asterisk-users] Time counting while playback

2010-03-25 Thread Pham Quy
I think you would be more successful and have more control if you wrote it as an AGI. Then you could set a timer that would interrupt the process and you could do what you like from there (hangup?). I think you are asking too much of the dialplan. I would tend to leap into an AGI also,

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

2010-03-15 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

[asterisk-users] Time counting while playback

2010-03-15 Thread Pham Quy
Hi all, This question has been asked for days, I think that would be more comprehensible if i post it in a new thread. What i want to do is something like karaoke. when users call to asterisk, a music song is played while caller sings. Their voice will be recorded and mixed with the music. To

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

[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

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 make

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

2010-03-12 Thread Pham Quy
would prefer using Record() if somehow i could play back music while recording. Thanks, Quyps On Fri, 2010-03-12 at 10:43 +, Gordon Henderson wrote: 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

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

2010-03-12 Thread Pham Quy
# + OR message duration reach 60 second + Hangup Quyps On Sat, 2010-03-13 at 08:36 +0700, Pham Quy wrote: 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

Re: [asterisk-users] how to create a dummy call

2010-03-11 Thread Pham Quy
On Thu, 2010-03-04 at 01:48 -0600, Tilghman Lesher wrote: On Wednesday 03 March 2010 22:20:40 Pham Quy wrote: It maybe not clear that what i'm going to do. What i want to do is that enable user to call to a number then a background music will be played and he/she sing to mobilephone

[asterisk-users] Play an audio file from a remote host

2010-03-08 Thread Pham Quy
hi all, We going to implement a music service which enable user to playback a song by dialing to a service number. The problem is that the amount of data is huge so we have to plae it on an different server which is connected to the asterisk's via internet. Does asterisk support playing a

[asterisk-users] how to create a dummy call

2010-03-03 Thread Pham Quy
Hi all, What i'm going to do is that enable caller sing while playing a background music (likes karaoke). My approach is using Monitor and Meetme apps.Caller make a call to asterisk, asterisk join caller in to a voice conference and create a dummy caller which will play music, then Monitor app

Re: [asterisk-users] how to create a dummy call

2010-03-03 Thread Pham Quy
and Meetme application, it however need to throw an extra call to playing music, and this call should be thrown automatically by Asterisk. Again, any idea? Please help, thanks Quyps On Thu, 2010-03-04 at 10:37 +0700, Pham Quy wrote: Hi all, What i'm going to do is that enable caller sing

[asterisk-users] asterisk-users] how to create a dummy call

2010-03-02 Thread Pham Quy
Hi all, What i'm going to do is that enable caller sing while playing a background music. My approach is using Monitor and Meetme app. Caller make a call to asterisk, asterisk join caller in to a voice conference and create a dummy caller which will play music. Monitor app record both music and

[asterisk-users] how to play background music during record

2010-03-02 Thread Pham Quy
Hi all, The question has already asked here, http://www.mail-archive.com/asterisk-users@lists.digium.com/msg98176.html but it's been two years since then, so is there any better solution with latest release version? Quyps --

Re: [asterisk-users] ivvr with asterisk

2010-01-24 Thread Pham Quy
on the community feed back and requirement. Trixbox is an easy go, but there may be some unwanted stuff with it. elastix.org is also a nice package, give it a try. Regards MT Kondela kevesystems.com On Sat, Jan 23, 2010 at 7:32 AM, Pham Quy qu...@vega.com.vn wrote: Hi all

[asterisk-users] ivvr with asterisk

2010-01-22 Thread Pham Quy
Hi all, First I'm very new. I want to build an Interactive Video-voice Response system. There is number of choice I have found so far: FreePBX, TriBox, Asterisk. Which is the best in my case? and what do i need to build such IVVR system? Thanks. Quyps --