Hi,

Are you 100% sure your script execution gets to that "if" ? place an xlog before the "if" to double check it.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


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


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to