--- pbx-post1882.c 2006-10-05 22:03:15.000000000 +0200 +++ pbx.c2 2006-10-05 22:41:41.000000000 +0200 @@ -1160,12 +1160,12 @@ *ret = workspace; } // end if LANGUAGE - else if /* user defined channel variables exist */ (c->varshead) { + else if /* user defined channel variables exist */ (&c->varshead) { // search user defined channel variables (scenario #2) no_match_yet = 1; - OPBX_LIST_TRAVERSE(c->varshead, variables, entries) { + OPBX_LIST_TRAVERSE(&c->varshead, variables, entries) { #if 0 opbx_log(LOG_WARNING, "Comparing variable '%s' with '%s' in channel '%s'\n", var, opbx_var_name(variables), c->name); @@ -1194,7 +1194,7 @@ // at this point headp is used as passed in no_match_yet = 1; - OPBX_LIST_TRAVERSE(headp, variable, entries) { + OPBX_LIST_TRAVERSE(headp, variables, entries) { #if 0 opbx_log(LOG_WARNING,"Comparing variable '%s' with '%s'\n",var,opbx_var_name(variables)); #endif