<div dir="ltr"><div dir="ltr">On Wed, Mar 25, 2020 at 11:07 AM John Hughes <<a href="mailto:john@calva.com">john@calva.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div><br>
    </div>
    <blockquote type="cite">
      
      <div>On 23/03/2020 18:51, Joshua C. Colp
        wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div dir="ltr">On Mon, Mar 23, 2020 at 2:45 PM John Hughes
            <<a href="mailto:john@calva.com" target="_blank">john@calva.com</a>>
            wrote:<br>
          </div>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div><br>
                <p>Why is asterisk giving an error 500? I can find no
                  reason, there is nothing in any log.<br>
                </p>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>The sequence number is from the past. The first
              SUBSCRIBE is sequence number 22 (check the CSeq header).
              The second is 20. The third is 21. It appears as though
              this is from the past, so it receives a 500.</div>
          </div>
        </div>
      </blockquote>
    </blockquote>
    <p>Ok, I've had some back and forth with the linphone developers and
      they contend that although the sequence number on the 2nd and 3rd
      SUBSCRIBE messages start a new sequence this is legal as it is a
      new conversation -- the "tag=" on the From has changed.</p>
    <p>Are they right?  (Notice that the tag= from asterisk also
      changes).</p></div></blockquote><div><br></div><div>It's possible. If I recall chan_sip is extremely forgiving with matching things, so it may not have taken that into account.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>