Docs – VitalPBX Wiki https://wiki.vitalpbx.com Learn how our latest VitalPBX version will enhance your business communication Wed, 20 Nov 2024 14:28:42 +0000 en-US hourly 1 https://wordpress.org/?v=6.7 https://wiki.vitalpbx.com/wp-content/uploads/2023/11/cropped-vitalbpxwikiicon-8-32x32.png Docs – VitalPBX Wiki https://wiki.vitalpbx.com 32 32 Migrating from VitalPBX 4 (Debian 11) to VitalPBX 4.5 (Debian 12) https://wiki.vitalpbx.com/wiki/vitalpbx/migrating-from-vitalpbx-4-debian-11-to-vitalpbx-4-5-debian-12/ https://wiki.vitalpbx.com/wiki/vitalpbx/migrating-from-vitalpbx-4-debian-11-to-vitalpbx-4-5-debian-12/#respond Wed, 20 Nov 2024 14:25:53 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2977 Migrating from VitalPBX 4 to 4.5 follows a similar approach to the migration process from version 3 to 4. Below is a detailed guide to help you complete the migration process smoothly.

Debian 12 Server Preparation

1. Set up a new server with a fresh installation of Debian 12.
2. Install VitalPBX 4.5 by following the official installation instructions here.
3. Install the same add-ons used on your current production server.
4. Complete the wizard setup for the Sonata and VitXi modules. Use placeholder credentials during the setup; these will be replaced when the backup is restored.
5. If OpenVPN is installed and configured on your existing server, install and configure it on the new Debian 12 server.

Actions on the Debian 11 Server

1. Use the Backup and Restore module in VitalPBX to create a backup of
your settings.
2. For large CDR data and call recordings, transfer these manually (instructions below).
3. Save the backup file to your local machine.
4. Revoke the VitalPBX license(s) from your current production server.

Importing the Backup to VitalPBX 4.5 (Debian 12)

1. Activate the necessary license(s) on the new server.
2. Use the Backup and Restore module to import and restore the backup file.
3. Run the following commands to ensure all settings are applied correctly.

vitalpbx build-db
vitalpbx fully-gen-conf

Copy

4. If the CDR and call recordings were migrated manually, execute the
commands above after transferring the data.

Manually Moving Call Recordings and CDR Data

Call Recordings

To transfer call recordings from /var/spool/asterisk/monitor on the Debian
11 server to the same path on the Debian 12 server, run the following rsync command on the Debian 12 server.

rsync -avz root@<Debian11_IP>:/var/spool/asterisk/monitor/
/var/spool/asterisk/monitor/

Copy

Replace <Debian11_IP> with the IP address of the Debian 11 server.

CDR Data

To migrate CDR data from the Debian 11 server to the Debian 12 server follow
the steps below.

1. Create a MySQL Backup on the Debian 11 server.

mysqldump -u root --add-drop-table --ignore-table=asterisk.cel
asterisk > cdr_backup.sql

Copy

2. Use SCP to transfer the backup file to the Debian 12

scp cdr_backup.sql root@<Debian12_IP>:/root/

Copy

3. On the Debian 12 server, restore the database.

mysql -u root asterisk < /root/cdr_backup.sql

Copy

Post-Migration Testing

1. Verify all settings, trunks, extensions, and modules.
2. Test critical features like inbound/outbound calls, voicemail, and call
recordings.
3. Confirm that CDR data and call recordings are accessible and accurate.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/migrating-from-vitalpbx-4-debian-11-to-vitalpbx-4-5-debian-12/feed/ 0
Extension Contact Info https://wiki.vitalpbx.com/wiki/vitalpbx/extension-contact-info/ https://wiki.vitalpbx.com/wiki/vitalpbx/extension-contact-info/#respond Tue, 29 Oct 2024 09:29:43 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2973 When you install the Phonebooks add-on to your VitalPBX installation, you will get an additional tab to your Extensions called Contact Info. Here, you can add some additional information that will be displayed about an extension when using centralized phonebooks. This will allow you to see additional contact information from your device regarding this extension. 

You can add a Mobile and Home Phone Number, Organization, and Job Title. Once you add this information, remember to Save/Update and Apply Configurations. You will now see this additional information from any device that uses our centralized phonebooks.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/extension-contact-info/feed/ 0
Call with Vitxi using web phone links https://wiki.vitalpbx.com/wiki/vitxi/click-to-call-with-vitxi-for-web-phone-links/ https://wiki.vitalpbx.com/wiki/vitxi/click-to-call-with-vitxi-for-web-phone-links/#respond Wed, 31 Jan 2024 15:27:12 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2892 ]]> https://wiki.vitalpbx.com/wiki/vitxi/click-to-call-with-vitxi-for-web-phone-links/feed/ 0 BLF Hints https://wiki.vitalpbx.com/wiki/vitalpbx/blf-hints/ https://wiki.vitalpbx.com/wiki/vitalpbx/blf-hints/#respond Tue, 23 Jan 2024 23:07:56 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2888
HintDialDescription
EXT Extension number
DND_EXT*66Do Not Disturb
LOK_EXT*75Lock Phone
CFN_EXT*64Call Forward No Answer
CFU_EXT*60Call Forward Unavailable
CFI_EXT*58Call Forward Immediately
CFB_EXT*62Call Forward Busy
FWM_EXT*67Follow Me
PEA_EXT*96Personal Assistant
BOSS_EXT*36Boss/Secretary
QAL_EXT*50Login/Logout (From all dynamic queues)
QAP_EXT*51Pause/Resume (From all dynamic queues)
QAL_EXT_QUEUE*52Login/Logout (From specific dynamic queue)
QAP_EXT_QUEUE*53Pause/Resume (From specific dynamic queue)
vm_EXT Voicemail
TC-# Monitors the status of a Time Condition. It will change the status only if the status is temporary and not permanent. # = Time Condition ID.
NM-# Monitors Night Mode. # = Night Mode ID
701-710 Default Parking
]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/blf-hints/feed/ 0
Appendix https://wiki.vitalpbx.com/wiki/vitalpbx/appendix/ https://wiki.vitalpbx.com/wiki/vitalpbx/appendix/#respond Mon, 18 Dec 2023 14:11:33 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2702 Resources

VitalPBX Technical FAQ –https://wiki.vitalpbx.com/wiki-category/faq/

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/appendix/feed/ 0
Grand Conclusion https://wiki.vitalpbx.com/wiki/vitalpbx/grand-conclusion/ https://wiki.vitalpbx.com/wiki/vitalpbx/grand-conclusion/#respond Mon, 18 Dec 2023 14:10:58 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2700 Congratulations! With this, we come to an end with the VitalPBX Complete Guide and Manual. The manual covered everything you need to know about VitalPBX, how to configure it, and have your VitalPBX completely set up. We appreciate you choosing VitalPBX for your business endeavors, and we hope to hear more about you.

If you ever have any comments or questions, send us an email to sales@vitalpbx.com and we will gladly guide you to the right place.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/grand-conclusion/feed/ 0
Conclusion https://wiki.vitalpbx.com/wiki/vitalpbx/conclusion-16/ https://wiki.vitalpbx.com/wiki/vitalpbx/conclusion-16/#respond Mon, 18 Dec 2023 14:10:23 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2698 With these tips and tricks, you can monitor and manage your VitalPBX instance and troubleshoot for any errors. By following this manual, you know where to tackle any issue if you find what is happening during the situation.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/conclusion-16/feed/ 0
VitalPBX Commands https://wiki.vitalpbx.com/wiki/vitalpbx/vitalpbx-commands/ https://wiki.vitalpbx.com/wiki/vitalpbx/vitalpbx-commands/#respond Mon, 18 Dec 2023 14:09:52 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2693 With VitalPBX, we have created multiple commands you can run from the Linux CLI, that can help you manage and stabilize your VitalPBX installation. Here are all the VitalPBX Commands you can run.

To see the list of available commands, run the following command.

To reset the password for any Web UI user, run the following command.

Where [username] is the user you wish to change the password.

To rebuild the VitalPBX database, run the following command.

This will execute a series of scripts to build the VitalPBX database.

To generate the Asterisk configurations and rebuild the Asterisk database for the main tenant only, we run the following command.

To generate the Asterisk configurations and rebuild the Asterisk database for all tenants, we run the following command.

To check for any issues regarding directories/files and their permissions and owners, we run the following command.

To apply the changes made on the Firewall module on VitalPBX, we run the following command.

You can manually restore from a backup file you have uploaded manually by running the following command.

This is especially useful when the backup file is too big to upload from the web interface. You can upload it manually using an SCP or SFTP application to your VitalPBX, then run the command and specify the path to the backup file to restore the system from it.

To reset the SSL certificates and disable the force HTTPS option, run the following command.

This will help you in case your SSL certificate expires or you don’t have access to your server via HTTPS.

To optimize the performance of MariaDB/MySQL, you can run the following command.

Keep in mind that this will restart MariaDB.

To optimize the Apache configurations on your VitalPBX, run the following command.

To disable 2FA for a user, run the following command.

With this, you can disable 2FA for a specific user in case they lose access to their 2FA application. You can use either their username or email address.

To update VitalPBX and all its dependencies, run the following command.

With this, you can control your VitalPBX installation from the command line and troubleshoot any issues you may have.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/vitalpbx-commands/feed/ 0
SNGrep https://wiki.vitalpbx.com/wiki/vitalpbx/sngrep/ https://wiki.vitalpbx.com/wiki/vitalpbx/sngrep/#respond Mon, 18 Dec 2023 14:05:49 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2680 A more advanced way to trace events on your VitalPBX is using SNGrep. SNGrep is a tool that allows you to monitor SIP/PJSIP events on your VitalPBX. Here, you can see detailed information for your registrations, RTP traffic, and notices of devices and trunks connected to your VitalPBX. SNGrep is installed as one of the dependencies for VitalPBX. You can run the following command to see the available attributes on the application.

To run SNGrep simply enter the following command.

This will show you the SNGrep interface.

Here, you will see a list of events occurring on your VitalPBX. You can navigate the list of events using the arrow keys. You can enter an event by pressing the Enter key on your keyboard. This will show you all the details of the event. You can navigate the stages using the keyboard. This will show you all the details of the event. You can navigate the stages using the arrow keys.

This will help you get direct information on the current status of your devices, calls, and registration.

You will see that we will have a lot of information that is constantly being sent on the main list of events. For this, we can filter our list to see only the events we are interested in. So, on the main page for SNGrep, press the F7 key on your keyboard. This will show you a prompt where you can filter the events by the SIP From and To, Source and Destination, and Payload. You can also apply a filter by the type of event you want to monitor.

With your filters set, navigate with the arrow keys to Filter and press Enter on your keyboard.

You will see that the list of events will now show the events related to your filter.

This is a great tool for you to troubleshoot the SIP/PJSIP events on your VitalPBX. To quit the SNGrep interface press the Escape key on your keyboard and then select Exit by pressing the Enter key on your keyboard.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/sngrep/feed/ 0
Call Filter https://wiki.vitalpbx.com/wiki/vitalpbx/call-filter/ https://wiki.vitalpbx.com/wiki/vitalpbx/call-filter/#respond Mon, 18 Dec 2023 13:59:28 +0000 https://wiki.vitalpbx.com/?post_type=docs&p=2678 When troubleshooting a call process we always go to the Asterisk CLI first to see if we are receiving the calls and trace the call to see what is the outcome that we get. We use the following command to get to the Asterisk CLI.

Or simply

However, monitoring the Asterisk CLI with high verbosity while the system is under production can show us a lot of information at a very fast pace. For this, we can filter out the Full log for Asterisk to trace actions that affect a particular call only.

We start by running the following command.

Where {PHONE_NUMBER} is a particular phone number you want to trace within the full log. Remember that you don’t have to include the curly braces. For example, you will enter something like this.

root@debian:~# tail -f /var/log/asterisk/full | grep 15554846868

In the beginning, you may see nothing if information including this number has not been set. Once any activity starts that includes this phone number you will start to see anything related to it.

This phone number you monitor can be an external number calling into your VitalPBX and you want to see the route it uses. Or it can be a DID on your system and you want to see that it is used appropriately for your inbound routes. This can help you monitor how your VoIP provider sends your DID information so you can enter it correctly on your Inbound Routes. It can also be a specific Extension Number you want to monitor their current call. Use this option to make your call troubleshooting easier during active hours on your VitalPBX.

]]>
https://wiki.vitalpbx.com/wiki/vitalpbx/call-filter/feed/ 0