<div>Hello,</div><div> </div><div>I try receive SIP MESSAGE in opensips 1.8.2(revision 9536). </div><div>The follow do not wotk:<br></div><div> if (is_method("MESSAGE")) {<br> xlog("L_ERR", "MESSAGE from $si:$sp \n");<br>
exit;<br> };</div><div> </div><div>Here is debug 6:<br>DBG:core:parse_headers: flags=ffffffffffffffff<br>DBG:core:parse_to: end of header reached, state=10<br>DBG:core:parse_to: display={}, ruri={<a href="mailto:sip%3A5555555@82.87.10.164">sip:5555555@82.87.10.164</a>}<br>
DBG:core:get_hdr_field: <To> [27]; uri=[<a href="mailto:sip%3A5555555@82.87.10.164">sip:5555555@82.87.10.164</a>]<br>DBG:core:get_hdr_field: to body [<<a href="mailto:sip%3A5555555@82.87.10.164">sip:5555555@82.87.10.164</a>><br>
DBG:core:get_hdr_field: cseq <CSeq>: <49480> <MESSAGE><br>DDBG:core:get_hdr_field: content_length=6<br>DBG:core:get_hdr_field: found end of header<br>DBG:core:decode_mime_type: Decoding MIME type for:[text/plain]<br>
DBG:core:decode_mime_type: Decoding MIME type for:[text/plain, application/im-iscomposing+xml]<br>DBG:core:decode_mime_type: Decoding MIME type for:[ application/im-iscomposing+xml]<br>DBG:core:parse_headers: flags=ffffffffffffffff</div>
<div> </div><div>Where is problem?</div><div> </div><div> </div>