--- chan_sip.c.orig 2014-11-07 09:28:59.000000000 +0000 +++ chan_sip.c 2014-11-07 09:31:31.382748788 +0000 @@ -30542,7 +30542,7 @@ if (peer->callingpres == -1) { peer->callingpres = atoi(v->value); } - } else if (!strcasecmp(v->name, "username") || !strcmp(v->name, "defaultuser")) { /* "username" is deprecated */ + } else if (!strcasecmp(v->name, "username") || !strcasecmp(v->name, "defaultuser")) { /* "username" is deprecated */ ast_string_field_set(peer, username, v->value); if (!strcasecmp(v->name, "username")) { if (deprecation_warning) {