 | Capturing incoming audio Hi,
I want to do speech recognition using Sphinx. What is the best way to go about it if I want to have it only on incoming voice (recognition only on the other party's voice, not my voice)?
I have an asterisk server on an old Pentium IV, I use ekiga for a soft phone and a lubuntu desktop (again on an old Pentium IV and another one on my recent Windows box).
To be honest, I'm a pretty junior when it comes to programming so I'm not sure how to go about it. |
|
 gweidenh join:2002-05-18 Houston, TX kudos:1 | Just brainstorming here. I wonder if you could accomplish this task with Wireshark.
I know you can playback the audio from a captured RTP stream using wireshark. I wonder if you can filter the capture to only show incoming packets and then playback the audio? |
|
 | I actually read about something like this also,
but I would like to process the stream live, like to pass the stream on to a java method or something, if that makes sense. |
|
 | reply to Takamurasan OBi devices can record the conversation in real time. I believe they're recording both parties in separate channels (caller left, called right) |
|
 | reply to Takamurasan said by Takamurasan :I would like to process the stream live, like to pass the stream on to a java method or something, if that makes sense. Have you considered using the Enhanced Asterisk Gateway Interface (EAGI) where file descriptor 3 is an audio pipe? |
|
 | Do you have any suggestion for a PDF or a website where I can look more deeply into this? I started looking, I think it might just be what I'm looking for. |
|
 | reply to SCADAGeo Nope, I never touched the AGI before, |
|
 | reply to lacibaci Not doubting you lacibaci, but can you tell me where you found this information? Google is not my friend today. |
|
|
|
 Reviews:
·voip.ms
·Callcentric
·Comcast Business..
·Windstream
| It's only available for an active call. |
|
 | reply to Takamurasan
said by Takamurasan :Do you have any suggestion for a PDF or a website where I can look more deeply into this? I started looking, I think it might just be what I'm looking for. A quick overview (from the shell/terminal): [edited for grammar]
asterisk -rx "core show application EAGI"
Overview of AGI - EAGI is a variant:
http://ofps.oreilly.com/titles/9780596517342/AGI.html
Sample perl script:
http://www.voip-info.org/wiki/view/Perl+EAGI
Another option to get the audio stream:
http://jackaudio.org/
Have fun! :) |
|
 | reply to lacibaci Very interesting, thank you! I guess there isn't a checkbox to automatically record each call.
Besides, where is the recording going? With an Obi number prefix of 200, I am assuming that is an Obi110. I didn't think there was storage on-board. |
|
 | When you click the "Record" button, the browser will open "Save As" dialog and will start streaming audio into the (.au) file. You are correct, there is no check box to record all calls. |
|
 | Ah, I see now. Thank you. |
|
 | reply to lacibaci said by lacibaci:When you click the "Record" button I didn't realize that was a feature of Obi products, either. Thanks. |
|
 | reply to SCADAGeo Thanks ^_^ |
|