Janu Mukherjee
2010-Aug-04 09:12 UTC
[asterisk-users] How to record a file and play some other file at the same time
Hi, I have an xlite registered with asterisk server. When i dial a number AGI is invoked. and in this we are running to threads one to record files and one to play files. So i dialed the extension and i started recording and playing at the same time. On the xlite i m getting an indication when recording my voice and at the same time i could see playing the other file too. But in the directory path i mentioned i could not see any files being created. But i again tried after some time this time i could see some recorded files but i couldnt hear any file being played at the same time. I need to achieve these both at the same time? Is there a way to do this??Please suggest me. Thanks & Regards, Jahnavi. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100804/c1b89346/attachment.htm
Motiejus Jakštys
2010-Aug-04 10:34 UTC
[asterisk-users] How to record a file and play some other file at the same time
On Wed, Aug 4, 2010 at 12:12 PM, Janu Mukherjee <janu.mukhi at gmail.com> wrote:> Hi,Hi, please learn to ask questions.> > I have an xlite registered with asterisk server. When i dial a number AGIis> invoked. and in this we are running *to threads one to record files andone> to play files.*What records the files? Asterisk? Then, how are threads here involved? Do you create your application and use *to* threads for recording and playing?> So i dialed the extension and i started recording and playing > at the same time. On the xlite i m getting an indication when recording my > voice and at the same time i could see playing the other file too. *But in > the directory path i mentioned*you didn't mention any directory.> i could not see any files being created. But > i again tried after some time this time i could see some recorded filesbut> i couldnt hear any file being played at the same time. I need to achieve > these both at the same time? Is there a way to do this??Please suggest me.Both situation and what are you trying to achieve are totally unclear. I reading this before asking again: http://catb.org/esr/faqs/smart-questions.html Any case, I think it's system buffer fault that files are not instantly seen. If I understood correctly from the "question". Kind regards, Motiejus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100804/ca799cc2/attachment.htm
Danny Nicholas
2010-Aug-04 15:30 UTC
[asterisk-users] How to record a file and play some other file atthe same time
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Janu Mukherjee Subject: [asterisk-users] How to record a file and play some other file atthe same time>Hi,>I have an xlite registered with asterisk server. When i dial a number AGIis invoked. and in this we are running to threads one to record files and one to play files. >So i dialed the extension and i started recording and playing at the same time. On the xlite i m getting an indication when recording my voice and at the same time i >could see playing the other file too. But in the directory path i mentioned i could not see any files being created. But i again tried after some time this time i could >see some recorded files but i couldnt hear any file being played at the same time. I need to achieve these both at the same time? Is there a way to do this??Please >suggest me.>Thanks & Regards, >Jahnavi.Since this forum is posted to and read from world-wide, it is arrogant and foolish to think we all speak or type the Queen's English (In Alabama, we think of Freddie Prince in that regard). Rephrasing OP's question: I have an xlite softphone registered to an Asterisk Server. We have a set up where I dial into an AGI that is supposed to play sound on one thread and record on another and combine the two threads into a new recording. I dialed in and began recording (the xlite indicates that I am recording my voice and I can hear the sound from the other thread). But in my expected directory path, I find no files being created. Trying again later I could see some recorded files but couldn't hear any file being played at the same time. I need to be able to get the combined recording file. Is there a way to do this? My suggestion would be to set up a meetme room with recording and pipe the playback thread in as a caller and/or use monitor. There are lots of posts regarding this within the last 6 months. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100804/f32050f5/attachment.htm