<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
hello:<br>
<br>
Why OpenSips returns 513? is that SIP Message Buffer is
too large/or full ? is that mean that include previous message? <br>
below is opensips.cfg:<br>
<br>
route {<br>
<br>
if (!mf_process_maxfwd_header("70")) {<br>
sl_send_reply("483","Too Many Hops...");<br>
exit;<br>
};<br>
<br>
###when a message comes, I print $ml, <br>
<br>
if (msg:len >= 2048 ) {<br>
<b><font color="#ff0000">sl_send_reply("513",
"Message too big...");</font></b><br>
exit;<br>
};<br>
<br>
if (method == "OPTIONS") {<br>
sl_send_reply("200", "OK");<br>
return;<br>
};<br>
<br>
................<br>
}<br>
<br>
<br>
<br>
<br>
Wireshark Capture:<font color="#6600cc"><br>
<br>
OPTIONS <a class="moz-txt-link-freetext"
href="sip:+14089664381@74.3.165.159">sip:+14089664381@74.3.165.159</a>
SIP/2.0
<b>406Bytes</b><br>
Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK1218259554
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=829085183
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>
<br>
Call-ID: 277470534
<br>
CSeq: 20 OPTIONS
<br>
Accept: application/sdp
<br>
Max-Forwards: 70
<br>
User-Agent: FafaYou/1.0 (SingFafa/1.1)
<br>
Content-Length: 0
</font><br>
<br>
SIP/2.0 200 OK
<br>
Via: SIP/2.0/UDP
10.191.132.71:1087;rport=3247;branch=z9hG4bK1218259554;received=117.136.0.214
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=829085183
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>;tag=36ab34ed4546465d12e494a13d8598e2.9cde
<br>
Call-ID: 277470534
<br>
CSeq: 20 OPTIONS
<br>
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
<br>
Content-Length: 0
<br>
<br>
<font color="#6600cc">OPTIONS <a class="moz-txt-link-freetext"
href="sip:+14089664381@74.3.165.159">sip:+14089664381@74.3.165.159</a>
SIP/2.0 <b>
</b></font><b><font color="#6600cc">406Bytes</font></b><br>
<font color="#6600cc">Via: SIP/2.0/UDP
10.191.132.71:1087;rport;branch=z9hG4bK1218259554
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=829085183
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>
<br>
Call-ID: 277470534
<br>
CSeq: 20 OPTIONS
<br>
Accept: application/sdp
<br>
Max-Forwards: 70
<br>
User-Agent: FafaYou/1.0 (SingFafa/1.1)
<br>
Content-Length: 0
</font><br>
<br>
SIP/2.0 200 OK
<br>
Via: SIP/2.0/UDP
10.191.132.71:1087;rport=3247;branch=z9hG4bK1218259554;received=117.136.0.214
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=829085183
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>;tag=36ab34ed4546465d12e494a13d8598e2.9cde
<br>
Call-ID: 277470534
<br>
CSeq: 20 OPTIONS
<br>
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
<br>
Content-Length: 0
<br>
<br>
<font color="#6600cc">INVITE <a class="moz-txt-link-freetext"
href="sip:+14089664381@74.3.165.159">sip:+14089664381@74.3.165.159</a>
SIP/2.0 <b>
8</b></font><b><font color="#6600cc">06Bytes</font></b><br>
<font color="#6600cc">Via: SIP/2.0/UDP
10.191.132.71:1087;rport;branch=z9hG4bK954496617
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=2053583849
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>
<br>
Call-ID: 343535350
<br>
CSeq: 20 INVITE
<br>
Contact: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@117.136.0.214:3247"><sip:+8615811008009@117.136.0.214:3247></a>
<br>
Content-Type: application/sdp
<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO
<br>
Max-Forwards: 70
<br>
User-Agent: FafaYou/1.0 (SingFafa/1.1)
<br>
Subject: Phone call
<br>
Content-Length: 238
<br>
<br>
v=0
<br>
o=+8615811008009 123456 654321 IN IP4 10.191.132.71
<br>
s=A conversation
<br>
c=IN IP4 10.191.132.71
<br>
b=AS:256
<br>
t=0 0
<br>
m=audio 7076 RTP/AVP 114 101
<br>
a=rtpmap:114 AMR/8000/1
<br>
a=rtpmap:101 telephone-event/8000/1
<br>
a=fmtp:101 0-11
<br>
a=sendrecv
<br>
SIP/2.0 100 Giving a try
<br>
Via: SIP/2.0/UDP
10.191.132.71:1087;rport=3247;branch=z9hG4bK954496617;received=117.136.0.214
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=2053583849
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>
<br>
Call-ID: 343535350
<br>
CSeq: 20 INVITE
<br>
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
<br>
Content-Length: 0
</font><br>
<br>
<b><font color="#ff0000">SIP/2.0 513 Message too big...
</font></b><br>
Via: SIP/2.0/UDP
10.191.132.71:1087;received=117.136.0.214;rport=3247;branch=z9hG4bK954496617
<br>
From: <a class="moz-txt-link-rfc2396E"
href="sip:+8615811008009@223.4.90.214"><sip:+8615811008009@223.4.90.214></a>;tag=2053583849
<br>
To: "+14089664381" <a class="moz-txt-link-rfc2396E"
href="sip:+14089664381@74.3.165.159"><sip:+14089664381@74.3.165.159></a>;tag=36ab34ed4546465d12e494a13d8598e2.f51e
<br>
Call-ID: 343535350
<br>
CSeq: 20 INVITE
<br>
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
<br>
Content-Length: 0<br>
<br>
<br>
<br>
I really don't know the reason. Looking forword to have your reply.<br>
Thanking for your helps in advance.
</body>
</html>