<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think it is QuickTime that is playing it. I just see the play button in the mail from you. When I click the button, the sound is played.<div><br></div><div>Ivan</div><div> <br><div><div>Den 9. sep.. 2008 kl. 13:52 skrev εΧΗΕΞΙΚ ϊΟΜΟΤΟΧ:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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.</font></div><font face="Arial" size="2"><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></font><div><font face="Arial" size="2"><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-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; margin-right: 0px; "><div style="font: normal normal normal 10pt/normal arial; "> </div><div style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(228, 228, 228); font: normal normal normal 10pt/normal arial; background-position: initial initial; "><b>From:</b><span class="Apple-converted-space"> </span><a title="ivan@myrvold.org" href="mailto:ivan@myrvold.org">Ivan C Myrvold</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>To:</b><span class="Apple-converted-space"> </span><a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>Sent:</b><span class="Apple-converted-space"> </span>Tuesday, September 09, 2008 1:35 PM</div><div style="font: normal normal normal 10pt/normal arial; "><b>Subject:</b><span class="Apple-converted-space"> </span>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: normal normal normal 12px/normal 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: 0px; "><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><div><br class="webkit-block-placeholder"></div><hr><div><br class="webkit-block-placeholder"></div>_______________________________________________<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></blockquote>_______________________________________________<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></body></html>