List Info

Thread: Recording sound directly from zaptel




Recording sound directly from zaptel
user name
2006-05-27 08:58:38
On Sat, May 27, 2006 at 01:03:34AM +0200, Maxim Vexler
wrote:
> Hello list
> 
> I need to do a bit of frequency analyzing for the PSTN
telephony
> system in Israel. I'm using Digium's TDM400 with FXO
module on port1.
> 
> To be more particular - I'm trying to identify what
signals our telco
> company (bezeq) sends upon remote call hangup.
> 
> For this I'm looking to somehow record the raw sound
information
> coming from the phone line into the zaptel device and
upper to the
> zapata driver, preferably while asterisk is using the
device.
> 
> The preferred recording format is WAV so that I could
latter on use
> Frequency Analyzer from relisoft.com to analyze it.
> 
> Can I in some way, running as root of curse, get a
"direct recording
> interface" to the device (Using the kernel I
assume)?

ztmonitor is a bit more direct. Though when recording to a
file it
basically creates a (zaptel-level!) conference and listens
from there
rather than getting the data "directly".

The only shortcome of it is that it mixes both directions of
the call to
provide one mono stream (when recording to a file. ztmonitor
-v shows
you input and output separately).

I figure it would be rather trivial to make it record to two
streams. If
anybody thinks that this is wortht the effort, I have a
pending patch to
make it use getopt and do a sane command-line parsing.

That said, this is only what Linux gets. This is not exactly
what you
have on the line. 

-- 
Tzafrir Cohen      sip:tzafrirlocal.xorcom.com
icq#16849755       iax:tzafrirlocal.xorcom.com
+972-50-7952406           
tzafrir.cohenxorcom.com  http://www.xorcom.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )