[Freeswitch-dev] trouble on how to remove the media bug from the session after the sessions are closed

Vu Quang Hoa vutamhoan at gmail.com
Thu Oct 6 04:37:17 MSD 2011

As I tested - FS automatically removes bug when call ends.
I'm trying to figure out if it does the same with allocated resources in
add_bug routine.

On Tue, Oct 4, 2011 at 7:03 PM, Han Xin <xin at ind.rwth-aachen.de> wrote:

> 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111006/192d576a/attachment-0001.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list