Asterisk Improvements

Hello All,

I recall talking about this here but I cannot find the topic to update it.

Asterisk has done some major improvements recently and I would love to see it in VitalPBX.

#1 Alternate Channel Backend Storage

Full docs: s.asterisk.net/dc679ec3

In short, if you change it to C++ Maps on Name and Uniqueid will see a SIGNIFICANT performance improvement on busy systems.

At the time of writing this, VitalPBX 4.5.1-5 still has the old algorithm:

 root@pbx1:~# asterisk -x"core show settings" | grep Channel
  Channel storage backend:     ao2_legacy

#2 Threadpool is being replaced with Taskpool

  • The threadpool_* options in pjsip.conf have now
    been deprecated though they continue to be read and used.
    They have been replaced with taskpool options that give greater
    control over the underlying taskpool used for PJSIP. An alembic
    upgrade script has been added to add these options to realtime
    as well.
  • The threadpool_* options in stasis.conf have now been deprecated
    though they continue to be read and used. They have been replaced with taskpool
    options that give greater control over the underlying taskpool used for stasis.

We would love to see these changes in VitalPBX!

Thank you

1 Like

With the latest version, you can manually change it and test it!

You can create a custom file like the one below and restart Asterisk.

/etc/asterisk/vitalpbx/asterisk__20-options.conf 

Hello @miguel,

Can you please confirm if optimization was enabled when compiled from source?

Thank you

Yes, it was enabled!

1 Like

For those who want to learn more about Threadpool

https://www.asterisk.org/taskpool-a-hunch-turned-performance-improvement

Hello,

Friendly follow up on the Task Processor improvements. Any chance we can see this in VitalPBX?

Thank you