Record write part of all legs in a bridge call
Hello, I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that? Best regards, Doron. -- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
RECORD_WRITE_ONLY=true should do that. On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Hi Anthony, Thank you very much for your answer. We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command : <action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/> I think that the real question is where should we call the second record_session so it will refer leg b? Again , many thanks for your attention, Doron. On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
One way would be a dial string like this. {record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
hello, i have downloaded freeswitch installed the prerequisites: gnumake automake autoconf libtool gcc wget libncurses bzip2 and also have successfully done the following steps: run the bootstrap.sh edit modules.conf run the configure script BUT WHEN TYPING THE COMMAND make && make install i am getting the following error ./.libs/libfreeswitch.so: undefined reference to `inflateReset' ./.libs/libfreeswitch.so: undefined reference to `inflateEnd' ./.libs/libfreeswitch.so: undefined reference to `inflateInit2_' ./.libs/libfreeswitch.so: undefined reference to `inflate' ./.libs/libfreeswitch.so: undefined reference to `zlibVersion' ./.libs/libfreeswitch.so: undefined reference to `inflateInit_' collect2: ld returned 1 exit status make[1]: *** [freeswitch] Error 1 make: *** [all] Error 2 kindly help me On Thu, Jul 25, 2013 at 12:18 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
One way would be a dial string like this.
{record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com
On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Ashish If you are using CentOS please follow the link below. I send this before. this will work http://lists.freeswitch.org/pipermail/freeswitch-users/2013-February/092868.... PS: do not post into someone thread, open a new subject. Lloyd * * On Wed, Jul 24, 2013 at 2:54 PM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
hello, i have downloaded freeswitch installed the prerequisites: gnumake automake autoconf libtool gcc wget libncurses bzip2 and also have successfully done the following steps: run the bootstrap.sh edit modules.conf run the configure script BUT WHEN TYPING THE COMMAND make && make install i am getting the following error
./.libs/libfreeswitch.so: undefined reference to `inflateReset' ./.libs/libfreeswitch.so: undefined reference to `inflateEnd' ./.libs/libfreeswitch.so: undefined reference to `inflateInit2_' ./.libs/libfreeswitch.so: undefined reference to `inflate' ./.libs/libfreeswitch.so: undefined reference to `zlibVersion' ./.libs/libfreeswitch.so: undefined reference to `inflateInit_' collect2: ld returned 1 exit status make[1]: *** [freeswitch] Error 1 make: *** [all] Error 2
kindly help me
On Thu, Jul 25, 2013 at 12:18 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
One way would be a dial string like this.
{record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com
On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hi. We had tried it, but the record contains only leg A audio. Are you sure that the record_Session can give me the results I am looking for (leg B audio only)? As a work around , we tried to use the record command, but it seems to block the execution - can the record command help us ? Many thanks, Doron. On Wed, Jul 24, 2013 at 9:48 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
One way would be a dial string like this.
{record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com
On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
first you need to decide which direction you want, then depending on which leg you run the app on you need to decide if its the read or write stream of that leg. A LEG (read stream is the stream from the caller, write stream is to the caller) B LEG (read stream is the stream from the far end, write stream is to the far end) On Thu, Jul 25, 2013 at 5:57 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi.
We had tried it, but the record contains only leg A audio. Are you sure that the record_Session can give me the results I am looking for (leg B audio only)? As a work around , we tried to use the record command, but it seems to block the execution - can the record command help us ?
Many thanks,
Doron.
On Wed, Jul 24, 2013 at 9:48 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
One way would be a dial string like this.
{record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com
On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com> wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Hi Anthony, Thank you for your answer - Your advise do works when we try to perform a single record_session call per bridge call - but when we are trying to perform 2 calls , in order to get each channel in a different record file, containing only the audio originating from each side, we get 2 identical records. It seems like the record_session is using a global context, and the second call overrides the first call settings - is my observation right? - is it part of the design to perform multiple records per session? Thanks, Doron. On Thu, Jul 25, 2013 at 11:32 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
first you need to decide which direction you want, then depending on which leg you run the app on you need to decide if its the read or write stream of that leg.
A LEG (read stream is the stream from the caller, write stream is to the caller) B LEG (read stream is the stream from the far end, write stream is to the far end)
On Thu, Jul 25, 2013 at 5:57 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi.
We had tried it, but the record contains only leg A audio. Are you sure that the record_Session can give me the results I am looking for (leg B audio only)? As a work around , we tried to use the record command, but it seems to block the execution - can the record command help us ?
Many thanks,
Doron.
On Wed, Jul 24, 2013 at 9:48 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
One way would be a dial string like this.
{record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com
On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com>wrote:
Hello,
I am trying to perform a record of all legs in a bridge call(and maybe in the future conference of n users) . It is important to keep the audio quality of the audio as good as possible (8khz for non HD and 16 khz for HD). To be more precise , I am interesting in recording only the WRITE channel of each leg (the READ channel is not important for my purposes). Currently, the only solution I was able to find was using record_session with STEREO option on the incoming UUID . Although I got the bleg audio available on the read channel , I also got all the audio I played to the bridge call on the same channel. The best solution will be to perform a record for each call leg which will record only the WRITE channel (based on the terminology defined in the record_session API) - is there currently any way to achieve that?
Best regards,
Doron.
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
If you're getting identical records then most likely there is a glitch in how the record_session app is being called, i.e. it seems to be getting set twice on the same leg. Can you re-post your configs and a call log to pastebin? -MC On Wed, Jul 31, 2013 at 1:18 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you for your answer - Your advise do works when we try to perform a single record_session call per bridge call - but when we are trying to perform 2 calls , in order to get each channel in a different record file, containing only the audio originating from each side, we get 2 identical records. It seems like the record_session is using a global context, and the second call overrides the first call settings - is my observation right? - is it part of the design to perform multiple records per session?
Thanks,
Doron.
On Thu, Jul 25, 2013 at 11:32 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
first you need to decide which direction you want, then depending on which leg you run the app on you need to decide if its the read or write stream of that leg.
A LEG (read stream is the stream from the caller, write stream is to the caller) B LEG (read stream is the stream from the far end, write stream is to the far end)
On Thu, Jul 25, 2013 at 5:57 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi.
We had tried it, but the record contains only leg A audio. Are you sure that the record_Session can give me the results I am looking for (leg B audio only)? As a work around , we tried to use the record command, but it seems to block the execution - can the record command help us ?
Many thanks,
Doron.
On Wed, Jul 24, 2013 at 9:48 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
One way would be a dial string like this.
{record_write_only=true,execute_on_media='record_session /tmp/foo.wav'}sofia/internal/foo@bar.com
On Wed, Jul 24, 2013 at 2:50 AM, Doron Kruh <doron@lexifone.com> wrote:
Hi Anthony,
Thank you very much for your answer.
We have done multiple tests before publishing the question with both READ_ONLY and WRITE_ONLY options. I think that the basic missing information is how to use the record_session command in the context of the relevant call leg - in all the use cases we tried , the record_session always referred to the first caller (leg a) as the media direction reference point (in the write channel we only saw the audio originated from leg a - without any played prompts - where in the read channel we see the audio originated from leg b + the played prompts). What we would like to achieve is recording only the write channel for both call legs - the first record_session command (referring to leg a) is currently placed in a dial plan just before the bridge command :
<action application="set" data="ignore_early_media=true"/> <action application="set" data="media_bug_answer_req=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="RECORD_WRITE_ONLY=true"/> <action application="set" data="RECORD_MIN_SEC=1"/> <action application="record_session" data="${recordFileName}"/> <action application="bridge" data="sofia/gateway/XXX/${destination_number}"/>
I think that the real question is where should we call the second record_session so it will refer leg b?
Again , many thanks for your attention,
Doron.
On Wed, Jul 24, 2013 at 1:41 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
RECORD_WRITE_ONLY=true should do that.
On Tue, Jul 23, 2013 at 2:49 PM, Doron Kruh <doron@lexifone.com>wrote:
> Hello, > > I am trying to perform a record of all legs in a bridge call(and > maybe in the future conference of n users) . > It is important to keep the audio quality of the audio as good as > possible (8khz for non HD and 16 khz for HD). > To be more precise , I am interesting in recording only the WRITE > channel of each leg (the READ channel is not important for my purposes). > Currently, the only solution I was able to find was using > record_session with STEREO option on the incoming UUID . > Although I got the bleg audio available on the read channel , I also > got all the audio I played to the bridge call on the same channel. > The best solution will be to perform a record for each call leg > which will record only the WRITE channel (based on the terminology defined > in the record_session API) - is there currently any way to achieve that? > > Best regards, > > Doron. > > -- > Doron Kruh, > Senior Developer > Lexifone , Hapalyam 7 Haifa. > Mobile: 972-52-3823361 > Office: 972-4-9126792 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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 > >
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Doron Kruh, Senior Developer Lexifone , Hapalyam 7 Haifa. Mobile: 972-52-3823361 Office: 972-4-9126792
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (5)
-
Anthony Minessale
-
Ashish Mishra
-
Doron Kruh
-
Lloyd Aloysius
-
Michael Collins