Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] What means by *.SPEEX?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ivan at myrvold.org
Guest





PostPosted: Tue Sep 09, 2008 5:39 am    Post subject: [Freeswitch-users] What means by *.SPEEX? Reply with quote

I could play the .SPEEX file directly in my OS (Mac OS X). It sounds exactly like the .wav file.

Ivan

Den 9. sep.. 2008 kl. 12:02 skrev εΧΗΕΞΙΚ ϊΟΜΟΤΟΧ:
Quote:
We have some number of questions in one letter:

We make registration seance's audiostream simultaneously into a 2 different files, which have an extensions "wav" and "SPEEX".
We use for this extension about such sort:

<extension name="20024">
<condition field="destination_number" expression="^20024$">
<action application="set" data="bypass_media=false" />
<action application="set" data="RECORD_ANSWER_REQ="true" />
<action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_COPYRIGHT=(c) 2008, Altron Inc." />
<action application="set" data="RECORD_SOFTWARE=FreeSwitch" />
<action application="set" data="RECORD_ARTIST=Registration" />
<action application="set" data="RECORD_COMMENT=!!!" />
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session" data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
<action application="record_session" data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.SPEEX"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="bridge" data="sofia/internal/${dialed_ext}@192.168.2.107:5062 ([email]sofia/internal/@192.168.2.107:5062[/email])" />
<action application="answer" />
</condition>
</extension>

As result we receive simultaneously 2 files ( audio files are enclosed to the letter)

$ ls -l 2008*
-rw-r--r-- 1 olej olej 26880 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.SPEEX
-rw-r--r-- 1 olej olej 107752 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.wav

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"

*.SPEEX file, in that sort as it is written with FreeSWITCH, contains, as we think looking for its size, compressed by speex codec.
Is it really so?

Project SPEEX community develops own tools (speexenc, speexdec) plaining, that their speex stream is located into OGG container
and thus can be converted into *.wav or another ( with speexdec) and played back ( for example, with sox).

2. As it seems, *.SPEEX file can be played back with another extension by using FreeSWITCH playback application.
Is it really so?
If it isn't so, than with which 3-rd part tool we could play back *.SPEEX file for the control?

3. And final question:

<action application="set" data="RECORD_STEREO=true"/> - does it pack 2 channels from A-leg and B-leg of bridge into
one *.wav stream?
Can we register only A-leg or B-leg with record_session application??


Thanks in advance!
Evgeniy/


<2008-09-05-14-13-08_20024_1010.wav><2008-09-05-14-13-08_20024_1010.SPEEX>_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
zolotov at altron.ua
Guest





PostPosted: Tue Sep 09, 2008 7:01 am    Post subject: [Freeswitch-users] What means by *.SPEEX? Reply with quote

On Tuesday, September 09, 2008 1:35 PM Ivan C Mirvold wrote

Quote:
I could play the .SPEEX file directly in my OS (Mac OS X). It sounds exactly like the .wav file.

But with the help of what program/filter? Plaing "directly" - is made by means of any OS's programs too.

We works under CentOS 5.1

Quote:

From: Ivan C Myrvold (ivan@myrvold.org)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Sent: Tuesday, September 09, 2008 1:35 PM
Subject: Re: [Freeswitch-users] What means by *.SPEEX?


I could play the .SPEEX file directly in my OS (Mac OS X). It sounds exactly like the .wav file.

Ivan

Den 9. sep.. 2008 kl. 12:02 skrev εΧΗΕΞΙΚ ϊΟΜΟΤΟΧ:
Quote:
We have some number of questions in one letter:

We make registration seance's audiostream simultaneously into a 2 different files, which have an extensions "wav" and "SPEEX".
We use for this extension about such sort:

<extension name="20024">
<condition field="destination_number" expression="^20024$">
<action application="set" data="bypass_media=false" />
<action application="set" data="RECORD_ANSWER_REQ="true" />
<action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_COPYRIGHT=(c) 2008, Altron Inc." />
<action application="set" data="RECORD_SOFTWARE=FreeSwitch" />
<action application="set" data="RECORD_ARTIST=Registration" />
<action application="set" data="RECORD_COMMENT=!!!" />
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session" data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
<action application="record_session" data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.SPEEX"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="bridge" data="sofia/internal/${dialed_ext}@192.168.2.107:5062 ([email]sofia/internal/@192.168.2.107:5062[/email])" />
<action application="answer" />
</condition>
</extension>

As result we receive simultaneously 2 files ( audio files are enclosed to the letter)

$ ls -l 2008*
-rw-r--r-- 1 olej olej 26880 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.SPEEX
-rw-r--r-- 1 olej olej 107752 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.wav

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"

*.SPEEX file, in that sort as it is written with FreeSWITCH, contains, as we think looking for its size, compressed by speex codec.
Is it really so?

Project SPEEX community develops own tools (speexenc, speexdec) plaining, that their speex stream is located into OGG container
and thus can be converted into *.wav or another ( with speexdec) and played back ( for example, with sox).

2. As it seems, *.SPEEX file can be played back with another extension by using FreeSWITCH playback application.
Is it really so?
If it isn't so, than with which 3-rd part tool we could play back *.SPEEX file for the control?

3. And final question:

<action application="set" data="RECORD_STEREO=true"/> - does it pack 2 channels from A-leg and B-leg of bridge into
one *.wav stream?
Can we register only A-leg or B-leg with record_session application??


Thanks in advance!
Evgeniy/


<2008-09-05-14-13-08_20024_1010.wav><2008-09-05-14-13-08_20024_1010.SPEEX>_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
ivan at myrvold.org
Guest





PostPosted: Tue Sep 09, 2008 8:00 am    Post subject: [Freeswitch-users] What means by *.SPEEX? Reply with quote

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.

Ivan

Den 9. sep.. 2008 kl. 13:52 skrev εΧΗΕΞΙΚ ϊΟΜΟΤΟΧ:
Quote:
On Tuesday, September 09, 2008 1:35 PM Ivan C Mirvold wrote

Quote:
I could play the .SPEEX file directly in my OS (Mac OS X). It sounds exactly like the .wav file.

But with the help of what program/filter? Plaing "directly" - is made by means of any OS's programs too.

We works under CentOS 5.1

Quote:

From: Ivan C Myrvold (ivan@myrvold.org)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Sent: Tuesday, September 09, 2008 1:35 PM
Subject: Re: [Freeswitch-users] What means by *.SPEEX?


I could play the .SPEEX file directly in my OS (Mac OS X). It sounds exactly like the .wav file.

Ivan

Den 9. sep.. 2008 kl. 12:02 skrev εΧΗΕΞΙΚ ϊΟΜΟΤΟΧ:
Quote:
We have some number of questions in one letter:

We make registration seance's audiostream simultaneously into a 2 different files, which have an extensions "wav" and "SPEEX".
We use for this extension about such sort:

<extension name="20024">
<condition field="destination_number" expression="^20024$">
<action application="set" data="bypass_media=false" />
<action application="set" data="RECORD_ANSWER_REQ="true" />
<action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_COPYRIGHT=(c) 2008, Altron Inc." />
<action application="set" data="RECORD_SOFTWARE=FreeSwitch" />
<action application="set" data="RECORD_ARTIST=Registration" />
<action application="set" data="RECORD_COMMENT=!!!" />
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session" data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
<action application="record_session" data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.SPEEX"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="bridge" data="sofia/internal/${dialed_ext}@192.168.2.107:5062 ([email]sofia/internal/@192.168.2.107:5062[/email])" />
<action application="answer" />
</condition>
</extension>

As result we receive simultaneously 2 files ( audio files are enclosed to the letter)

$ ls -l 2008*
-rw-r--r-- 1 olej olej 26880 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.SPEEX
-rw-r--r-- 1 olej olej 107752 σΕΞ 5 14:13 2008-09-05-14-13-08_20024_1010.wav

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"

*.SPEEX file, in that sort as it is written with FreeSWITCH, contains, as we think looking for its size, compressed by speex codec.
Is it really so?

Project SPEEX community develops own tools (speexenc, speexdec) plaining, that their speex stream is located into OGG container
and thus can be converted into *.wav or another ( with speexdec) and played back ( for example, with sox).

2. As it seems, *.SPEEX file can be played back with another extension by using FreeSWITCH playback application.
Is it really so?
If it isn't so, than with which 3-rd part tool we could play back *.SPEEX file for the control?

3. And final question:

<action application="set" data="RECORD_STEREO=true"/> - does it pack 2 channels from A-leg and B-leg of bridge into
one *.wav stream?
Can we register only A-leg or B-leg with record_session application??


Thanks in advance!
Evgeniy/


<2008-09-05-14-13-08_20024_1010.wav><2008-09-05-14-13-08_20024_1010.SPEEX>_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Sep 09, 2008 9:04 am    Post subject: [Freeswitch-users] What means by *.SPEEX? Reply with quote

I honestly do not think it would play anywhere but in FreeSWITCH as
it's a raw header less format. I could be wrong. Not sure who else
will play that.

/b

On Sep 9, 2008, at 7:56 AM, Ivan C Myrvold wrote:

Quote:
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.

Ivan

Brian West
sip:brian@freeswitch.org







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services