<div dir="ltr"><div dir="ltr">On Tue, Jun 27, 2023 at 7:33 PM <<a href="mailto:asterisk@phreaknet.org">asterisk@phreaknet.org</a>> wrote:</div><div dir="ltr"><br></div><div><snip></div><div dir="ltr"><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">
<br>
Thanks - just to clarify, if such a connection *isn't* found, this won't <br>
help me right now? It would still use the default transport even with <br>
rewrite_contact=yes?<br></blockquote><div><br></div><div>If the transport goes down in that scenario, then the Contact should get removed because it is an ephemeral port and you can't establish an outbound connection to it.</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">
<br>
In that case, I'm thinking the new option would add on to this by <br>
extending that behavior to if there isn't an active connection and it <br>
needs to set up a new one. Basically "use the contact to determine the <br>
transport, unconditionally" is essentially what it would do.<br></blockquote><div><br></div><div>The scenario where this would only work is if rewrite_contact is set to no, and a Contact is bound from a REGISTER.</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">
<br>
I guess for devices that don't register, you wouldn't necessarily have a <br>
contact so maybe that's why this isn't done all the time? But those are <br>
probably the cases where specifying a transport explicitly would <br>
probably make more sense anyways, and I'm not concerned about those, <br>
only things that register and as such a contact would always be available.<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><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>