<div dir="ltr"><div dir="ltr">On Mon, Oct 26, 2020 at 2:02 PM Michael Maier <<a href="mailto:m1278468@mailbox.org">m1278468@mailbox.org</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">Hello!<br>
<br>
I'm facing the problem, that *sometimes* the SDP session ID isn't incremented in the 200 OK, which asterisk sends as answer to a ReInvite it got from the peer (use case: session<br>
timer handling). This leads to broken calls, because the SDP session ID must be incremented if the session description has changed (the session description has changed).<br>
<br>
Modifying the SDP session ID is possible in res/res_pjsip/pjsip_message_filter.c / filter_on_tx_message() for SDPs contained in an Invite, which is created and sent by asterisk.<br>
At the moment, I'm already modifying the SDP session ID at this place, because of another problem:<br></blockquote><div><br></div><div><snip></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Maybe it's too late and the processing of the 200 OK doesn't hit this part at all?<br>
<br>
Or is there any other possibility to modify the SDP session ID contained in the 200 OK, that is sent by asterisk as an answer to a ReInvite?<br></blockquote><div><br></div><div>It should be modifiable there, it injects itself at the transaction layer to be called for both requests and responses. I'm not sure under what scenarios (if any) it would not be called.</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>