From: Brian West Date: Thu, 2 Dec 2010 23:11:04 +0000 (-0600) Subject: using the wrong api to remove media bug from crienzo on IRC, thanks. X-Git-Tag: v1.2-rc1~243^2^2~6^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6faa4c91c32028476f5df9af271fd4c7447f2f64;p=thirdparty%2Ffreeswitch.git using the wrong api to remove media bug from crienzo on IRC, thanks. --- diff --git a/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c b/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c index 005924194f..f576b7dd01 100644 --- a/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c +++ b/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c @@ -495,7 +495,7 @@ switch_status_t callprogress_detector_stop(switch_core_session_t *session) switch_channel_t *channel = switch_core_session_get_channel(session); switch_media_bug_t *bug = switch_channel_get_private(channel, TONE_PRIVATE); if (bug) { - switch_core_media_bug_close(&bug); + switch_core_media_bug_remove(session, &bug); switch_channel_set_private(channel, TONE_PRIVATE, NULL); } return SWITCH_STATUS_SUCCESS;