hello:

Why OpenSips returns 513? is that SIP Message Buffer is too large/or full ? is that mean that include previous message?
 below is opensips.cfg:

        route {

                if (!mf_process_maxfwd_header("70")) {
                    sl_send_reply("483","Too Many Hops...");
                    exit;
                };

                ###when a message comes, I print $ml,

                if (msg:len >= 2048 ) {
*sl_send_reply("513", "Message too big...");*
                        exit;
                };

                if (method == "OPTIONS") {
                        sl_send_reply("200", "OK");
                        return;
                };

        ................
        }




Wireshark Capture:

OPTIONS sip:[email protected] SIP/2.0 *406Bytes*
Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK1218259554
From: <sip:[email protected]>;tag=829085183
To: "+14089664381" <sip:[email protected]>
Call-ID: 277470534
CSeq: 20 OPTIONS
Accept: application/sdp
Max-Forwards: 70
User-Agent: FafaYou/1.0 (SingFafa/1.1)
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.191.132.71:1087;rport=3247;branch=z9hG4bK1218259554;received=117.136.0.214
From: <sip:[email protected]>;tag=829085183
To: "+14089664381" <sip:[email protected]>;tag=36ab34ed4546465d12e494a13d8598e2.9cde
Call-ID: 277470534
CSeq: 20 OPTIONS
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
Content-Length: 0

OPTIONS sip:[email protected] SIP/2.0 ***406Bytes*
Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK1218259554
From: <sip:[email protected]>;tag=829085183
To: "+14089664381" <sip:[email protected]>
Call-ID: 277470534
CSeq: 20 OPTIONS
Accept: application/sdp
Max-Forwards: 70
User-Agent: FafaYou/1.0 (SingFafa/1.1)
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.191.132.71:1087;rport=3247;branch=z9hG4bK1218259554;received=117.136.0.214
From: <sip:[email protected]>;tag=829085183
To: "+14089664381" <sip:[email protected]>;tag=36ab34ed4546465d12e494a13d8598e2.9cde
Call-ID: 277470534
CSeq: 20 OPTIONS
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
Content-Length: 0

INVITE sip:[email protected] SIP/2.0 *  8**06Bytes*
Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK954496617
From: <sip:[email protected]>;tag=2053583849
To: "+14089664381" <sip:[email protected]>
Call-ID: 343535350
CSeq: 20 INVITE
Contact: <sip:[email protected]:3247>
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Max-Forwards: 70
User-Agent: FafaYou/1.0 (SingFafa/1.1)
Subject: Phone call
Content-Length:   238

v=0
o=+8615811008009 123456 654321 IN IP4 10.191.132.71
s=A conversation
c=IN IP4 10.191.132.71
b=AS:256
t=0 0
m=audio 7076 RTP/AVP 114 101
a=rtpmap:114 AMR/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-11
a=sendrecv
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP 10.191.132.71:1087;rport=3247;branch=z9hG4bK954496617;received=117.136.0.214
From: <sip:[email protected]>;tag=2053583849
To: "+14089664381" <sip:[email protected]>
Call-ID: 343535350
CSeq: 20 INVITE
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
Content-Length: 0

*SIP/2.0 513 Message too big... *
Via: SIP/2.0/UDP 10.191.132.71:1087;received=117.136.0.214;rport=3247;branch=z9hG4bK954496617
From: <sip:[email protected]>;tag=2053583849
To: "+14089664381" <sip:[email protected]>;tag=36ab34ed4546465d12e494a13d8598e2.f51e
Call-ID: 343535350
CSeq: 20 INVITE
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
Content-Length: 0



 I really don't know the reason. Looking forword to have your reply.
Thanking for your helps in advance.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to