--- chan_sip.c 2005-01-13 04:57:20.000000000 -0500 +++ /home/chan_sip.c 2005-01-13 04:56:09.000000000 -0500 @@ -1136,6 +1136,7 @@ tmp = var; while(tmp) { if (strcasecmp(tmp->name, "type")) + tmp = tmp->next; continue; if (!strcasecmp(tmp->value, "user")) {