From 3be54a5460e0d1efc1e8aab25eedea5ebef48fa3 Mon Sep 17 00:00:00 2001 From: Michael S Collins Date: Thu, 5 Jan 2012 17:53:29 -0800 Subject: [PATCH] crienzo's hack for OSX --- src/mod/applications/mod_httapi/mod_httapi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index 5ae74676fa..8bd11ac470 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -1480,8 +1480,8 @@ static switch_status_t do_config(void) profile->perms.dial.enabled = 1; if ((tag = switch_xml_child(profile_tag, "conference"))) { - char *var = (char *) switch_xml_attr_soft(param, "name"); - char *val = (char *) switch_xml_attr_soft(param, "value"); + char *var = (char *) switch_xml_attr_soft(tag, "name"); + char *val = (char *) switch_xml_attr_soft(tag, "value"); if (!strcasecmp(var, "default-profile")) { profile->conference_params.use_profile = switch_core_strdup(globals.pool, val); @@ -1489,8 +1489,8 @@ static switch_status_t do_config(void) } if ((tag = switch_xml_child(profile_tag, "dial"))) { - char *var = (char *) switch_xml_attr_soft(param, "name"); - char *val = (char *) switch_xml_attr_soft(param, "value"); + char *var = (char *) switch_xml_attr_soft(tag, "name"); + char *val = (char *) switch_xml_attr_soft(tag, "value"); if (!strcasecmp(var, "context")) { profile->dial_params.context = switch_core_strdup(globals.pool, val);