site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
724
Share Topic
Posting?
Post a:
Post a:
Links: ·ALL ·Review Your VoIP Provider ·VoIP Providers ·VoIP FAQ ·Porting Rules ·What Codec?
AuthorAll Replies


Takamurasan

@electronicbox.net

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?



Takamurasan

@electronicbox.net

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.



lacibaci

join:2000-04-10
Export, PA

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)


SCADAGeo

join:2012-11-08
N California

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?


Takamurasan

@electronicbox.net

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.



Takamurasan

@electronicbox.net

reply to SCADAGeo
Nope, I never touched the AGI before,



engineercarl
Premium
join:2003-02-24
20026-4474

reply to lacibaci
Not doubting you lacibaci, but can you tell me where you found this information? Google is not my friend today.



lacibaci

join:2000-04-10
Export, PA
Reviews:
·voip.ms
·Callcentric
·Comcast Business..
·Windstream

Click for full size
It's only available for an active call.

SCADAGeo

join:2012-11-08
N California

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! :)


engineercarl
Premium
join:2003-02-24
20026-4474

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.



lacibaci

join:2000-04-10
Export, PA

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.



engineercarl
Premium
join:2003-02-24
20026-4474

Ah, I see now. Thank you.


SCADAGeo

join:2012-11-08
N California

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.


Takamurasan

@electronicbox.net

reply to SCADAGeo
Thanks ^_^


Tuesday, 21-May 02:03:09 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics