Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 79043) +++ channels/chan_sip.c (working copy) @@ -11364,7 +11371,8 @@ /* ignore means "don't do anything with it" but still have to respond appropriately */ ignore=1; - } else if (e) { + } + if (e) { e = ast_skip_blanks(e); if (sscanf(e, "%d %n", &respid, &len) != 1) { ast_log(LOG_WARNING, "Invalid response: '%s'\n", e);