diff -Naur asterisk-81430.orig/channels/chan_sip.c asterisk-81430.patched-infofix/channels/chan_sip.c --- asterisk-81430.orig/channels/chan_sip.c 2007-09-03 11:10:53.000000000 +0700 +++ asterisk-81430.patched-infofix/channels/chan_sip.c 2007-09-03 13:02:32.000000000 +0700 @@ -12183,7 +12183,11 @@ ast_debug(1, "Got a Request to Record the channel, state %s\n", c); transmit_response(p, "200 OK", req); return; - } + } else if (!strcasecmp(get_header(req, "Content-Length"), "0")) { + /* Nothing in the header is interesting, now check if content-length is 0 (RFC2976) */ + transmit_response(p, "200 OK", req); + return; + } /* Other type of INFO message, not really understood by Asterisk */ /* if (get_msg_text(buf, sizeof(buf), req)) { */