<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.6000.20753" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>On Tuesday, September 09, 2008 1:35 PM Ivan C
Mirvold wrote</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>>I could play the .SPEEX file directly in my OS
(Mac OS X). It sounds exactly like the .wav file.</DIV>
<DIV> </DIV>
<DIV>But with the help of what program/filter? Plaing "directly" - is made
by means of any OS's programs too.</DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>We works under CentOS 5.1
</FONT></DIV></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial"> </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ivan@myrvold.org href="mailto:ivan@myrvold.org">Ivan C Myrvold</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, September 09, 2008 1:35
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] What
means by *.SPEEX?</DIV>
<DIV><BR></DIV>I could play the .SPEEX file directly in my OS (Mac OS X). It
sounds exactly like the .wav file.
<DIV><BR></DIV>
<DIV>Ivan</DIV>
<DIV><BR>
<DIV>
<DIV>Den 9. sep.. 2008 kl. 12:02 skrev εΧΗΕΞΙΚ ϊΟΜΟΤΟΧ:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>We have some number of questions in one
letter:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We make registration seance's audiostream
simultaneously into a 2 different files, which have an extensions "wav" and
"SPEEX".</FONT></DIV>
<DIV><FONT face=Arial size=2>We use for this extension about such
sort:<BR></FONT></DIV>
<DIV><FONT face=Arial size=2><extension name="20024"><BR>
<condition field="destination_number"
expression="^20024$"><BR> <action application="set"
data="bypass_media=false" /><BR> <action
application="set" data="RECORD_ANSWER_REQ="true" /><BR>
<action application="set" data="RECORD_TITLE=Recording
${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d
%H:%M)}"/><BR> <action application="set"
data="RECORD_COPYRIGHT=(c) 2008, Altron Inc." /><BR>
<action application="set" data="RECORD_SOFTWARE=FreeSwitch"
/><BR> <action application="set"
data="RECORD_ARTIST=Registration" /><BR> <action
application="set" data="RECORD_COMMENT=!!!" /><BR>
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d
%H:%M)}"/><BR> <action application="set"
data="RECORD_STEREO=true"/><BR> <action
application="record_session"
data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/><BR>
<action application="record_session"
data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.SPEEX"/><BR>
<action application="set"
data="ringback=${us-ring}"/><BR> <action
application="bridge" data="<A
href="mailto:sofia/internal/${dialed_ext}@192.168.2.107:5062">sofia/internal/${dialed_ext}@192.168.2.107:5062</A>"
/><BR> <action application="answer" /><BR>
</condition><BR></extension><BR> </FONT></DIV>
<DIV><FONT face=Arial size=2>As result we receive simultaneously 2 files (
audio files are enclosed to the letter)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>$ ls -l 2008*<BR>-rw-r--r-- 1 olej olej
26880 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.SPEEX<BR>-rw-r--r-- 1
olej olej 107752 σΕΞ 5 14:13
2008-09-05-14-13-08_20024_1010.wav</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1. File *.wav, as one would expect,
contains RIFF header with metadata and can be played
back with any matching tool, for example we used "sox"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>*.SPEEX file, in that sort as it is
written with FreeSWITCH, contains, as we think looking for its size,
compressed by speex codec. </FONT></DIV>
<DIV><FONT face=Arial size=2>Is it really so?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Project SPEEX community develops own
tools (speexenc, speexdec) plaining, that their speex stream is located
into OGG container</FONT></DIV>
<DIV><FONT face=Arial size=2>and thus can be converted into *.wav or another
( with speexdec) and played back ( for example, with sox).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2. As it seems, *.SPEEX file can be played back
with another extension by using FreeSWITCH playback
application.</FONT></DIV>
<DIV><FONT face=Arial size=2>Is it really so?</FONT></DIV>
<DIV><FONT face=Arial size=2>If it isn't so, than with which 3-rd part
tool we could play back *.SPEEX file for the control?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>3. And final question:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><action application="set"
data="RECORD_STEREO=true"/> - does it pack 2 channels from A-leg and
B-leg of bridge into<BR>one *.wav stream?<BR>Can we register only A-leg or
B-leg with record_session application??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance!</FONT></DIV>
<DIV><FONT face=Arial size=2>Evgeniy/</FONT></DIV><FONT face=Arial size=2>
<DIV><BR></DIV></FONT><SPAN><2008-09-05-14-13-08_20024_1010.wav></SPAN><SPAN><2008-09-05-14-13-08_20024_1010.SPEEX></SPAN>_______________________________________________<BR>Freeswitch-users
mailing list<BR><A
href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org">http://www.freeswitch.org</A><BR></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Freeswitch-users
mailing
list<BR>Freeswitch-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>