{"id":2946,"date":"2023-06-11T14:44:22","date_gmt":"2023-06-11T18:44:22","guid":{"rendered":"https:\/\/dialer.one\/?p=2946"},"modified":"2024-12-05T18:51:49","modified_gmt":"2024-12-05T23:51:49","slug":"how-to-setup-two-factor-authentication-2fa-on-your-vicidial-system","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-setup-two-factor-authentication-2fa-on-your-vicidial-system\/","title":{"rendered":"How to &#8211; Setup Two Factor Authentication (2FA) on your ViciDial system"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">How to &#8211; Setup Two Factor Authentication (2FA) on your ViciDial system<\/h1>\n\n\n\n<p>This article will go over how to setup two factor authentication on your Vicidial system using the phone method. Later on I will add the SMS and Email methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 &#8211; Create the 2FA settings container<\/h2>\n\n\n\n<p>First we need to create the 2FA settings container that we will need to choose in system settings when we enable two factor authentication. Below is an example of how to setup a container for a phone call auth:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"1024\" sizes=\"auto, (max-width: 923px) 100vw, 923px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1046502-923x1024.png\" alt=\"2FA settings container\" class=\"wp-image-2949\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1046502-923x1024.png 923w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1046502-270x300.png 270w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1046502-768x852.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1046502-600x666.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1046502.png 1065w\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 2 &#8211; Set an email and mobile phone on the admin user<\/h2>\n\n\n\n<p>You must make sure to add an email and mobile phone to the admin user you are saying 2FA for or you will lock yourself out of the system.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"482\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1426202-1024x482.png\" alt=\"2FA requirements\" class=\"wp-image-3016\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1426202-1024x482.png 1024w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1426202-300x141.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1426202-768x361.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1426202-600x282.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1426202.png 1080w\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 3 &#8211; Enable two factor authentication on system settings<\/h2>\n\n\n\n<p>The next thing we need to do is turn this feature on and set a couple variables needed for it to work. To do this go to Admin then system settings as shown below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-1024x371.png\" alt=\"Two Factor authentication\" class=\"wp-image-2948\" width=\"857\" height=\"310\" title=\"Two factor authentication\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-1024x371.png 1024w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-300x109.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-768x279.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-1536x557.png 1536w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-2048x743.png 2048w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/05\/Screenshot_20230528-1047522-600x218.png 600w\" \/><\/figure>\n<\/div>\n\n\n<p>Now when you hit submit, it&#8217;s going to turn on 2FA and if you didn&#8217;t set it up correctly you will be locked out of the system for good or until you fix it via MySQL with the following code: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -p<div>&gt; use asterisk<\/div>&gt; UPDATE system_settings SET two_factor_auth_hours='0';<\/code><\/pre>\n\n\n\n<p>If you did everything correctly you should see this when you try to login:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"409\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-1024x409.png\" alt=\"\" class=\"wp-image-3017\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-1024x409.png 1024w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-300x120.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-768x307.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-1536x614.png 1536w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-2048x818.png 2048w, https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572-600x240.png 600w\" \/><\/figure>\n<\/div>\n\n\n<p>Hopefully this has helped you guys set this up with less headache than I went through.<\/p>\n\n\n\n<p>Chris aka carpenox <\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to &#8211; Setup Two Factor Authentication (2FA) on your ViciDial system This article will go over how to setup two factor authentication on your Vicidial system using the phone method. Later on I will add the SMS and Email methods. Step 1 &#8211; Create the 2FA settings container First we need to create the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3017,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[96],"tags":[533,536],"class_list":["post-2946","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vicidial","tag-howto","tag-vicidial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2023\/06\/Screenshot_20230611-1423572.png","jetpack-related-posts":[{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2946,"position":0},"title":"Table of Contents &#8211; Knowledge Base","author":"carpenox","date":"March 7, 2022","format":false,"excerpt":"Welcome to my blog, some of you may know me from the ViciDial forums, I am carpenox and I am here to share my knowledge with everyone, for free!","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"CyburDial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1977,"url":"https:\/\/dialer.one\/index.php\/how-to-secure-vicidial-correctly-part-1\/","url_meta":{"origin":2946,"position":1},"title":"How to &#8211; Secure Vicidial, correctly. Part 1","author":"carpenox","date":"April 10, 2021","format":false,"excerpt":"How to - Secure Vicidial, correctly. Part 1 This article will show you how to secure Vicidial server correctly. This is definitely one of the topics, that I am asked about the most, so with that being said, this will be a multipart series with different \"layers\" of security from\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"secure vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-13.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4189,"url":"https:\/\/dialer.one\/index.php\/august-2024-vicidial-security-update\/","url_meta":{"origin":2946,"position":2},"title":"August 2024 VICIdial Security Update","author":"carpenox","date":"August 31, 2024","format":false,"excerpt":"August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding the security of your VICIdial system. The ViciDial Group recently conducted a security audit of VICIdial which resulted in the identification of severe vulnerabilities. We have patched these and submitted these changes to the code-base.\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"Security Update needed","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/08\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/08\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/08\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/08\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2024\/08\/image.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":3768,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-a-press-1-campaign-in-vicidial\/","url_meta":{"origin":2946,"position":3},"title":"How to &#8211; Setup a Press 1 campaign in ViciDial","author":"carpenox","date":"October 21, 2023","format":false,"excerpt":"How to - Setup a Press 1 campaign in ViciDial In this article I will cover how to setup a press 1 campaign in ViciDial. I am in no way a lawyer, however you should know that press 1 campaigns in the US is illegal to customers unless you have\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Press 1 campaign","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/10\/image-7.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":2535,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-email-for-vicidial-reports-and-voicemail\/","url_meta":{"origin":2946,"position":4},"title":"How to &#8211; Setup Email for ViciDial reports and voicemail","author":"carpenox","date":"May 29, 2022","format":false,"excerpt":"How to - Setup Email for ViciDial reports and voicemail This article will go over how to setup your email configuration on your server in order to get reports from ViciDial or to receive voicemail to email notifications and recordings. Gmail recently changed the way their security is handled so\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"email vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/05\/image-17.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5155,"url":"https:\/\/dialer.one\/index.php\/vicidial-development-roundup-key-changes-from-late-november-2025-to-early-2026\/","url_meta":{"origin":2946,"position":5},"title":"VICIdial Development Roundup: Key Changes From Late November 2025 to Early 2026","author":"carpenox","date":"February 1, 2026","format":false,"excerpt":"VICIdial Development Roundup: Key Changes From Late November 2025 to Early 2026 By Carpenox \u2014 VICIdial Architect, Troubleshooter, and Eternal Code Archaeologist Every few months I like to step back, sift through the commit logs, and take stock of how VICIdial continues to evolve. Since late November 2025, the project\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"2FA Agent","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-01-122244.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-01-122244.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-01-122244.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-01-122244.webp?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/comments?post=2946"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2946\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/3017"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}