--- asterisk-11.14.0/channels/chan_sip.c 2014-10-30 02:58:02.000000000 +0100 +++ asterisk-11.14.0-w1/channels/chan_sip.c 2014-11-17 01:24:04.316179012 +0100 @@ -18467,6 +18467,14 @@ char from_name[50]; char stripped[SIPBUFSIZE]; + if (strncmp(content_type, "asn1/aoc", strlen("asn1/aoc"))) { + transmit_response(p, "202 Accepted", req); /* Fake reply */ + if (!p->owner) { /* Would be good if we would actually handle the message */ + sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT); /* But at least the calls won't get dropped this way */ + } + return; + } + if (strncmp(content_type, "text/plain", strlen("text/plain"))) { /* No text/plain attachment */ transmit_response(p, "415 Unsupported Media Type", req); /* Good enough, or? */ if (!p->owner) {