summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/res_pjsip/pjsip_configuration.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index 24c53e8a9..364ed7e19 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -666,11 +666,11 @@ static int group_handler(const struct aco_option *opt,
{
struct ast_sip_endpoint *endpoint = obj;
- if (!strncmp(var->name, "callgroup", 9)) {
+ if (!strncmp(var->name, "call_group", 10)) {
if (!(endpoint->pickup.callgroup = ast_get_group(var->value))) {
return -1;
}
- } else if (!strncmp(var->name, "pickupgroup", 11)) {
+ } else if (!strncmp(var->name, "pickup_group", 12)) {
if (!(endpoint->pickup.pickupgroup = ast_get_group(var->value))) {
return -1;
}
@@ -710,12 +710,12 @@ static int named_groups_handler(const struct aco_option *opt,
{
struct ast_sip_endpoint *endpoint = obj;
- if (!strncmp(var->name, "namedcallgroup", 14)) {
+ if (!strncmp(var->name, "named_call_group", 16)) {
if (!(endpoint->pickup.named_callgroups =
ast_get_namedgroups(var->value))) {
return -1;
}
- } else if (!strncmp(var->name, "namedpickupgroup", 16)) {
+ } else if (!strncmp(var->name, "named_pickup_group", 18)) {
if (!(endpoint->pickup.named_pickupgroups =
ast_get_namedgroups(var->value))) {
return -1;