<!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>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Why OpenSips&nbsp; returns 513? is&nbsp; that SIP Message Buffer is
    too large/or full ? is that mean that include previous message? <br>
    &nbsp;below is opensips.cfg:<br>
    <br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route {<br>
    &nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("70")) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("483","Too Many Hops...");<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
    <br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ###when a message comes, I print $ml,&nbsp; <br>
    <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (msg:len &gt;= 2048 ) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <b><font color="#ff0000">sl_send_reply("513",

        "Message too big...");</font></b><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (method == "OPTIONS") {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("200", "OK");<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
    &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ................<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=829085183
      <br>
      To: "+14089664381" <a class="moz-txt-link-rfc2396E"
        href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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>
    &nbsp;<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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=829085183
    <br>
    To: "+14089664381" <a class="moz-txt-link-rfc2396E"
      href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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>
    &nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=829085183
      <br>
      To: "+14089664381" <a class="moz-txt-link-rfc2396E"
        href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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>
    &nbsp;<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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=829085183
    <br>
    To: "+14089664381" <a class="moz-txt-link-rfc2396E"
      href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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>
    &nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>&nbsp;
        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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=2053583849
      <br>
      To: "+14089664381" <a class="moz-txt-link-rfc2396E"
        href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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">&lt;sip:+8615811008009@117.136.0.214:3247&gt;</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:&nbsp;&nbsp; 238
      <br>
      &nbsp;<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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=2053583849
      <br>
      To: "+14089664381" <a class="moz-txt-link-rfc2396E"
        href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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>
    &nbsp;<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">&lt;sip:+8615811008009@223.4.90.214&gt;</a>;tag=2053583849
    <br>
    To: "+14089664381" <a class="moz-txt-link-rfc2396E"
      href="sip:+14089664381@74.3.165.159">&lt;sip:+14089664381@74.3.165.159&gt;</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>
    &nbsp;I really don't know the reason. Looking forword to have your reply.<br>
    Thanking for your helps in advance.
  </body>
</html>