<div dir="ltr"><div dir="ltr"><div>Hi all,<br></div><div><br></div><div>So the scenario is:</div><div><br></div><div>A -> Asterisk -> B</div><div><br></div><div>after B send back 200 OK Asterisk is answering the call to A. Directly after the Answer Asterisk generates a ReInvite to A and the only difference between the 200 OK sdp and the reInvite sdp are the offered codecs which are forwarded from B to A. Here i do not understand why this could not be done in the 200OK to A?</div><div><br></div><div>As far as i understood you Josh, there is no way to prohibit this kind of reInvite? It is not about route Optimization just for some more options for the A Party.</div><div><br></div><div>BR</div><div>Jöran<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2019 at 4:07 PM Joshua C. Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Aug 15, 2019, at 8:23 AM, Jöran Vinzens wrote:<br>
> Hi All,<br>
> <br>
> We are using asterisk 16.5 and having an issue with the first re-invite <br>
> after the call has been established.<br>
> We can see the call gets up and you see in the logs the bridge type has <br>
> changed and after that a re-invite is triggered.<br>
> <br>
> Is there any possibility to deactivate this kind of reInvite? We have <br>
> some race conditions while have multiple asterisk in the call flow and <br>
> the different asterisk systems are sending this reInvites out parallel. <br>
> While an invite is pending on a system it is not accepting another <br>
> incoming reInvite from peer.<br>
> <br>
> With chan_SIP canreinvite=no solved the issue. But it seems there is <br>
> nothing similar in PJSIP.<br>
<br>
The "direct_media" option controls just that, direct media. A reinvite can occur for other reasons (such as attempting to renegotiate streams to be of better quality or to update connected line information). Have you determined which case is occurring?<br>
<br>
-- <br>
Joshua C. Colp<br>
Digium - A Sangoma Company | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><pre>Jöran Vinzens - <a href="mailto:vinzens@sipgate.de" target="_blank">vinzens@sipgate.de</a><br><br><br>sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf<br>HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois<br>Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391<br><br><a href="http://www.sipgate.de" target="_blank">www.sipgate.de</a> - <a href="http://www.sipgate.co.uk" target="_blank">www.sipgate.co.uk</a><br></pre></div></div></div>