<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 8, 2020 at 2:48 PM George Joseph <<a href="mailto:gjoseph@digium.com">gjoseph@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"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 10:07 PM Michael Maier <<a href="mailto:m1278468@mailbox.org" target="_blank">m1278468@mailbox.org</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">Hello!<br>
<br>
On 05.03.20 at 19:08 Asterisk Development Team wrote:<br>
> * ASTERISK-28746 - res_pjsip_outbound_registration keeps<br>
> retrying the first entry in a SRV record set<br>
> (Reported by<br>
> George Joseph)<br>
<br>
I just tested the new version 16.9.0.rc1 and promptly got an error with<br>
this patch. With Deutsche Telekom, you always get a SRV record set. On<br>
the other hand, you mostly have to register 3 numbers - each must be<br>
registered on its own - to the same destination. Therefore, on startup,<br>
there are 3 registers done to the same destination. Often, one of the<br>
three numbers fails to register on the first attempt and therefore, it<br>
is done twice.<br>
<br>
With this patch, you're now using the second of usually 3 SRV entries<br>
and registration is done successfully (which would have worked too, if<br>
you would have used the first entry again, because it's just a very<br>
temporary problem) - but all succeeding calls (outgoing INVITEs) are now<br>
rejected (403 Forbidden), because they are going to the first entry of<br>
the SRV record set - which fails on Deutsche Telekom, because they await<br>
all subsequent actions to be done at the same server as the registration<br>
was done.<br>
<br></blockquote></div></div></blockquote><div><br></div><div>I'm thinking more about this... Basically, the only reason this worked in the past is that the SRV processing was broken. :) </div><div><br></div><div>Anyway, What do the 3 numbers represent? 3 different DIDs and therefore it could be any number, or 3 numbers for each DID, etc.? How do you use the 3 numbers?</div><div><br></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"><div dir="ltr"><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">
Therefore, this patch is a no go for all users of Deutsche Telekom or<br>
any other provider relying on all actions to be done to always the same<br>
destination IP.<br>
<br>
Therefore, please make this new feature switchable or add another<br>
feature, which takes care to always use the same destination IP as<br>
initially used for the registration. You have to take care, too, that<br>
there is more than one number at the same time - but all of them using<br>
the same destination SRV hostname, but they could have different IP<br>
addresses - but each number must use its own IP which was initially used<br>
for the register.<br></blockquote><div><br></div><div>Thanks for testing Michael! We'll get it sorted before the final releases. In the mean time, could you open an <a href="https://issues.asterisk.org" target="_blank">issue</a> for this so we don't lose track of it?</div><div><br></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>
For convenience, I attached the reverse patch to remove the offending<br>
patch which makes asterisk mainly unusable for users of Deutsche Telekom.<br>
<br>
<br>
Thanks<br>
Michael<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>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">George Joseph</span><br></div></div><div dir="ltr" style="font-size:small"></div><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">Asterisk Software Developer</span><br></div><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">direct/fax +1 256 428 6012</span><br><div style="font-family:tahoma,sans-serif;font-size:small"><font color="#073763">Check us out at</font> <a href="http://www.sangoma.com/" style="color:rgb(17,85,204)" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br></div><div style="font-family:tahoma,sans-serif;font-size:small"><img src="cid:ii_k3abte590" alt="image.png" width="184" height="32" style="margin-right: 0px;"></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">George Joseph</span><br></div></div><div dir="ltr" style="font-size:small"></div><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">Asterisk Software Developer</span><br></div><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">direct/fax +1 256 428 6012</span><br><div style="font-family:tahoma,sans-serif;font-size:small"><font color="#073763">Check us out at</font> <a href="http://www.sangoma.com/" style="color:rgb(17,85,204)" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br></div><div style="font-family:tahoma,sans-serif;font-size:small"><img src="cid:ii_k3abte590" alt="image.png" width="184" height="32" style="margin-right: 0px;"></div></div></div></div></div></div></div></div></div>