From 0b8d2c8be66a095f23cc2338af571081b6f2b7db Mon Sep 17 00:00:00 2001 From: Pedro Kiefer Date: Fri, 20 Jul 2012 12:01:35 -0300 Subject: [PATCH 1/6] Fix bug ASTERISK-19435 Other apps use ast_frame.src as the __FUNCTION__ or __PRETTY_FUNCTION__ changed to use that as well --- apps/app_alarmreceiver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_alarmreceiver.c b/apps/app_alarmreceiver.c index 2059b6d..a0189e8 100644 --- a/apps/app_alarmreceiver.c +++ b/apps/app_alarmreceiver.c @@ -201,6 +201,7 @@ static int send_tone_burst(struct ast_channel *chan, float freq, int duration, i wf.data.ptr = tone_block.buf; wf.datalen = f->datalen; wf.samples = wf.datalen; + wf.src = __FUNCTION__; make_tone_burst(tone_block.buf, freq, (float) tldn, wf.datalen, &x); -- 1.7.9.5