Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 84480) +++ channels/chan_sip.c (working copy) @@ -14934,7 +14934,8 @@ ast_set_flag(req, SIP_PKT_IGNORE); ast_set_flag(req, SIP_PKT_IGNORE_RESP); append_history(p, "Ignore", "Ignoring this retransmit\n"); - } 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);