<div dir="ltr"><div dir="ltr">On Fri, Oct 28, 2022 at 6:28 PM David Cunningham <<a href="mailto:dcunningham@voisonics.com">dcunningham@voisonics.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 dir="ltr"><div>Hello,</div><div><br></div><div>We have a problem where Asterisk is resetting the CSeq on a re-INVITE, and the phone receiving the re-INVITE is rejecting it, probably as a result of that. Would anyone be able to offer any insight please?</div><div><br></div><div>The scenario is:</div><div><br></div><div>Phone A makes call 1 to Asterisk which dials call 2 to phone B, which answers the call.</div><div><br></div><div>Phone B puts call 1 on hold, makes call 3 to Asterisk which dials call 4 to phone C, which answers the call.</div><div><br></div><div>Phone B does an attended REFER transfer of call 2 to call 3, taking itself out of the call. Asterisk bridges the remaining calls, so phones A and C are now talking to each other.</div><div><br></div><div>Asterisk sends a re-INVITE to phone A with a P-Asserted-Identity, to tell phone A the updated details of phone C that it's talking to. However phone A rejects the re-INVITE with a "404 Not found" error.</div><div><br></div><div>The only explanation I can see for the "404 Not found" error is that call 1 was set up with "CSeq: 954698786 INVITE", whereas the re-INVITE Asterisk sends with the P-Asserted-Identity has "CSeq: 102 INVITE". Why is Asterisk resetting the CSeq on the re-INVITE, and doesn't this appear to be incorrect?</div></div></blockquote><div><br></div><div>It's not incorrect. Each direction has its own CSeq[1]. From Phone A to Asterisk can be 954698786 and from Asterisk to Phone A can be 102.</div><div><br></div><div>[1] <a href="https://www.rfc-editor.org/rfc/rfc3261#section-12.2.1.1">https://www.rfc-editor.org/rfc/rfc3261#section-12.2.1.1</a></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 Project 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>