<div dir="ltr"><div dir="ltr">On Sun, Jan 10, 2021 at 4:32 PM Joshua C. Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.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 dir="ltr">On Sun, Jan 10, 2021 at 4:14 PM Joshua C. Colp <<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>> wrote:</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 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>
<br>
>> Register multiple numbers to one destination (Asterisk 18.0.1)<br>
>> --------------------------------------------------------------<br>
>> If you register more than one number to the same destination, asterisk<br>
>> handles all registers through the same connection. This doesn't work (well)<br>
>> with all ISPs. Deutsche Telekom /<br>
>> AllIP e.g. supports it partly - means, you can register more than one<br>
>> number - but if you deregister one of it, the complete connection is<br>
>> dropped (because normally, they want to<br>
>> have for each register an own connection). Besides that, there are<br>
>> problems during reRegistration, if they are reRegistered all at the same<br>
>> time (if they are reRegistered serially,<br>
>> it's working - maybe Asterisk can't properly handle mutliple Registers to<br>
>> the same destination via same connection).<br>
>><br>
> <br>
> Connection reuse itself is a low level PJSIP thing.<br>
<br>
Is it possible to disable it?<br></blockquote><div><br></div><div>The last time I checked the PJSIP documentation there wasn't, but they could have added something.</div></div></div></blockquote><div><br></div><div>Aha, I remembered at the PJSIP level a feature[1] got added when the Google Voice patch was done. It hasn't been exposed to be explicitly configurable in Asterisk though.</div></div><div><br></div>[1] <a href="https://www.pjsip.org/pjsip/docs/html/structpjsip__tpselector.htm#a1622f416d48eb173aed22b750aa28dfa" target="_blank">https://www.pjsip.org/pjsip/docs/html/structpjsip__tpselector.htm#a1622f416d48eb173aed22b750aa28dfa</a></div></blockquote><div><br></div><div>In fact the flow functionality[1] may get you closer to how you need things. There was a bug though with it, so either 18 branch needs to be used or this change[2] included.</div><div><br></div><div>[1] <a href="https://github.com/asterisk/asterisk/blob/master/configs/samples/pjsip.conf.sample#L161">https://github.com/asterisk/asterisk/blob/master/configs/samples/pjsip.conf.sample#L161</a></div><div>[2] <a href="https://gerrit.asterisk.org/c/asterisk/+/15256">https://gerrit.asterisk.org/c/asterisk/+/15256</a></div><div> </div></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"><div><font color="#073763">Joshua C. Colp</font></div><div><font color="#073763">Asterisk Technical Lead</font></div><div><font color="#073763">Sangoma Technologies</font></div><div><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></div></div></div></div></div></div></div></div></div></div></div></div>