From 94f1debecedb012a0bfda317516a9aa595587002 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 19 Mar 2020 08:21:15 +0200 Subject: [PATCH] - Added new (NULL) params to play function calls. --- app/src/main/cpp/baresip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index a5e16a10..d68cf5e5 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -147,13 +147,13 @@ static void ua_event_handler(struct ua *ua, enum ua_event ev, case UA_EVENT_CALL_INCOMING: if (list_count(ua_calls(ua)) > 1) { play = mem_deref(play); - (void)play_file(&play, player, "callwaiting.wav", 3); + (void)play_file(&play, player, "callwaiting.wav", 3, NULL, NULL); } len = re_snprintf(event_buf, sizeof event_buf, "%s", "call incoming"); break; case UA_EVENT_CALL_RINGING: play = mem_deref(play); - (void)play_file(&play, player, "ringback.wav", -1); + (void)play_file(&play, player, "ringback.wav", -1, NULL, NULL); len = re_snprintf(event_buf, sizeof event_buf, "%s", "call ringing"); break; case UA_EVENT_CALL_PROGRESS: @@ -185,7 +185,7 @@ static void ua_event_handler(struct ua *ua, enum ua_event ev, const char *tone; tone = translate_errorcode(call_scode(call)); if (tone) { - (void)play_file(&play, player, tone, 1); + (void)play_file(&play, player, tone, 1, NULL, NULL); } } len = re_snprintf(event_buf, sizeof event_buf, "call closed,%s", prm);