From 8d1451f423db8a6059eb3bcaf857e1bbe7f26470 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Thu, 25 Mar 2021 20:44:16 +0100 Subject: [PATCH] voice: adapt to new dtmfmode option value --- dmtree/tr104/servicesvoiceservicevoipprofile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmtree/tr104/servicesvoiceservicevoipprofile.c b/dmtree/tr104/servicesvoiceservicevoipprofile.c index decbac5e..e04b6588 100644 --- a/dmtree/tr104/servicesvoiceservicevoipprofile.c +++ b/dmtree/tr104/servicesvoiceservicevoipprofile.c @@ -23,7 +23,7 @@ static int get_ServicesVoiceServiceVoIPProfile_DTMFMethod(char *refparam, struct if (method && *method) { if (strcasecmp(method, "inband") == 0) *value = "InBand"; - else if (strcasecmp(method, "rfc2833") == 0) + else if (strcasecmp(method, "rfc4733") == 0) *value = "RFC4733"; else if (strcasestr(method, "info") != NULL) *value = "SIPInfo"; @@ -45,7 +45,7 @@ static int set_ServicesVoiceServiceVoIPProfile_DTMFMethod(char *refparam, struct if (strcasecmp(value, "InBand") == 0) new_value = "inband"; else if (strcasecmp(value, "RFC4733") == 0) - new_value = "rfc2833"; + new_value = "rfc4733"; else if (strcasecmp(value, "SIPInfo") == 0) new_value = "info"; dmuci_set_value(TR104_UCI_PACKAGE, "sip_options", "dtmfmode", new_value);