[Freeswitch-dev] Processing Live Audio during a call between 2 extensions
Dear Freeswitch Developers, i am relatively new to freeswitch and i am seeking some advice. I am creating an External Application that does some [live] processing on the Audio of the freeswitch call before sending it to the second Call Leg, and vice versa. Can you please direct me to the best way to do that and how to access/capture the live audio channel in both legs while it is streaming, and how to resubmit it again to the other leg? I read the book about freeswitch, but still couldnt figure the best approach to do that, any hint is appreciated. Best Regards, Michel Habib.
Hi Michel, If it really needs to be an external application, then have a look at the docs (such as they are) for unicast here: http://wiki.freeswitch.org/wiki/Event_Socket#unicast Cheers -- Dave
Dear Freeswitch Developers, i am relatively new to freeswitch and i am seeking some advice.
I am creating an External Application that does some [live] processing on the Audio of the freeswitch call before sending it to the second Call Leg, and vice versa. Can you please direct me to the best way to do that and how to access/capture the live audio channel in both legs while it is streaming, and how to resubmit it again to the other leg? I read the book about freeswitch, but still couldnt figure the best approach to do that, any hint is appreciated.
Best Regards, Michel Habib.
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- David Knell, Director, 3C Limited T: +44 20 3298 2000 E: dave@3c.co.uk W: http://www.3c.co.uk
david, i suggest you do it as a module will by better take a look to mod_spy that allready spy up on a specific uuid thanks Le 16/01/2011 01:48, David Knell a écrit :
Hi Michel,
If it really needs to be an external application, then have a look at the docs (such as they are) for unicast here: http://wiki.freeswitch.org/wiki/Event_Socket#unicast
Cheers --
Dave
Dear Freeswitch Developers, i am relatively new to freeswitch and i am seeking some advice.
I am creating an External Application that does some [live] processing on the Audio of the freeswitch call before sending it to the second Call Leg, and vice versa. Can you please direct me to the best way to do that and how to access/capture the live audio channel in both legs while it is streaming, and how to resubmit it again to the other leg? I read the book about freeswitch, but still couldnt figure the best approach to do that, any hint is appreciated.
Best Regards, Michel Habib.
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Meftah Tayeb inum: +883510001288000 Phone: +13602276297 Fax: +12538020313
Hi, Your best way is to make a freeswitch module and attach a media bug to the channel, you can take a look at mod_soundtouch's source, which sets one up (using switch_core_media_bug_add()) and changes the audio. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2011-01-14, at 11:44 AM, Michel Habib wrote:
Dear Freeswitch Developers, i am relatively new to freeswitch and i am seeking some advice.
I am creating an External Application that does some [live] processing on the Audio of the freeswitch call before sending it to the second Call Leg, and vice versa. Can you please direct me to the best way to do that and how to access/capture the live audio channel in both legs while it is streaming, and how to resubmit it again to the other leg? I read the book about freeswitch, but still couldnt figure the best approach to do that, any hint is appreciated.
Best Regards, Michel Habib. _______________________________________________ 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
participants (4)
-
David Knell
-
Mathieu Rene
-
Meftah Tayeb
-
Michel Habib