From 01bef1ca0beaea4c0599b8b380f470d35357a2a3 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Sat, 15 Apr 2023 07:21:16 +0300 Subject: [PATCH] Return "busy" also when 603 response is received --- app/src/main/cpp/baresip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index 0e6477c9..b20757d2 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -133,9 +133,9 @@ static const char *translate_errorcode(uint16_t scode) { switch (scode) { case 404: return ""; /* ignore */ - case 486: return "busy"; + case 486: case 603: return "busy"; case 487: return ""; /* ignore */ - default: return "error"; + default: return "error"; } }