[asterisk-dev] Asterisk / pjsip: Bug or feature? TCP/TLS connection is endless after unregistering the last trunk to the destination
Joshua C. Colp
jcolp at digium.com
Sun Jan 10 14:32:34 CST 2021
On Sun, Jan 10, 2021 at 4:14 PM Joshua C. Colp <jcolp at digium.com> wrote:
>
>>
>> >> Register multiple numbers to one destination (Asterisk 18.0.1)
>> >> --------------------------------------------------------------
>> >> If you register more than one number to the same destination, asterisk
>> >> handles all registers through the same connection. This doesn't work
>> (well)
>> >> with all ISPs. Deutsche Telekom /
>> >> AllIP e.g. supports it partly - means, you can register more than one
>> >> number - but if you deregister one of it, the complete connection is
>> >> dropped (because normally, they want to
>> >> have for each register an own connection). Besides that, there are
>> >> problems during reRegistration, if they are reRegistered all at the
>> same
>> >> time (if they are reRegistered serially,
>> >> it's working - maybe Asterisk can't properly handle mutliple Registers
>> to
>> >> the same destination via same connection).
>> >>
>> >
>> > Connection reuse itself is a low level PJSIP thing.
>>
>> Is it possible to disable it?
>>
>
> The last time I checked the PJSIP documentation there wasn't, but they
> could have added something.
>
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.
[1]
https://www.pjsip.org/pjsip/docs/html/structpjsip__tpselector.htm#a1622f416d48eb173aed22b750aa28dfa
--
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20210110/b8e67744/attachment-0001.html>
More information about the asterisk-dev
mailing list