As I tested - FS automatically removes bug when call ends.
Hello everyone!
I am new to Freeswitch and try to add media bugs such as digital signal processing to the read stream and write stream. But I have some trouble on how to remove the media bug from the session after the sessions are closed. I tried to look into other existed modules such as mod_soundtouch and mod_dptools to find a solution, the former mod_soundtouch put the function "switch_core_media_bug_remove()" in the beginning of application run function. The latter mod use a single app called "remove bugs" and put this app in the dial plan to remove the bugs.
The question is where should I put this "switch_core_media_bug_remove()" function after the sessions are closed.
Is there a way to automatically remove a media bug when a call is ended?
Or it is only possible to use a single app to remove the media bugs as in the mod_dptools?
Thank you all in advance!
--
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE
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