Upgrading DPMA on FreePBX Manually

From the Asterisk CLI, you can confirm the current versions of Asterisk and DPMA as well as the DPMA license details

 

> core show version Asterisk 13.29.2 built by mockbuild @ jenkins2.schmoozecom.net on a x86_64 running Linux on 2019-12-17 03:57:42 UTC     > digium_phones show version Digium Phone Module for Asterisk Version 13.0_3.4.3     > digium_phones license status OK, Valid product license found

You also need to know if the OS is 32 or 64 bit. You can get that from the bash prompt with the command:

# uname -a Linux 63251293.deployments.pbxact.com 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

 

For the above example, we have Asterisk 13, DPMA version 3.4.3 on a 64 bit OS. We want to upgrade DPMA to current.

 

Browse to the DPMA download page: https://my.digium.com/en/docs/DPMA/dpma-download/

image2021-4-13_20-41-0.png

 

And get the URL to download the latest version of DPMA. Use wget to download the tarball to the PBX to a temporary location

 

# cd /tmp # wget https://downloads.digium.com/pub/telephony/res_digium_phone/asterisk-13.0/x86-64/res_digium_phone-13.0_3.6.3-x86_64.tar.gz --2021-04-13 19:41:45--  https://downloads.digium.com/pub/telephony/res_digium_phone/asterisk-13.0/x86-64/res_digium_phone-13.0_3.6.3-x86_64.tar.gz Resolving downloads.digium.com... 170.249.154.172 Connecting to downloads.digium.com|170.249.154.172|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1038751 (1014K) [application/x-gzip] Saving to: “res_digium_phone-13.0_3.6.3-x86_64.tar.gz†  100%[=====================================================================================================================================>] 1,038,751   2.78M/s   in 0.4s   2021-04-13 19:41:46 (2.78 MB/s) - “res_digium_phone-13.0_3.6.3-x86_64.tar.gzâ€

 

Decompress the tarball

 

Locate the Asterisk modules folder on your system

 

Make backups of the existing DPMA files

 

 

 

[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]# mv /usr/lib64/asterisk/modules/res_digium_phone.so /usr/lib64/asterisk/modules/res_digium_phone.so.back
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]# mv /usr/lib64/asterisk/modules/res_pjsip_dialog_info_digium_body_supplement.so /usr/lib64/asterisk/modules/res_pjsip_dialog_info_digium_body_supplement.so.back
mv: cannot stat `/usr/lib64/asterisk/modules/res_pjsip_dialog_info_digium_body_supplement.so': No such file or directory
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]# mv /usr/lib64/asterisk/modules/res_pjsip_endpoint_identifier_dpma.so /usr/lib64/asterisk/modules/res_pjsip_endpoint_identifier_dpma.so.back
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]#
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]#
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]# cp res_digium_phone.so /usr/lib64/asterisk/modules/
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]# cp res_pjsip_endpoint_identifier_dpma.so /usr/lib64/asterisk/modules/
[root@63251293 res_digium_phone-13.0_3.6.3-x86_64]# fwconsole chown

Return to Documentation Home I Return to Sangoma Support