{"id":353,"date":"2017-10-19T15:22:20","date_gmt":"2017-10-19T19:22:20","guid":{"rendered":"http:\/\/test.viciphone.com\/?page_id=353"},"modified":"2019-01-07T10:28:17","modified_gmt":"2019-01-07T15:28:17","slug":"configure-viciphone-for-use-with-vicidial","status":"publish","type":"page","link":"https:\/\/test.viciphone.com\/?page_id=353","title":{"rendered":"Configure VICIdial to use VICIphone"},"content":{"rendered":"<h2>Requirements:<\/h2>\n<ul>\n<li>Each Asterisk Server in the Vicidial cluster configured to work with VICIphone (<a href=\"http:\/\/test.viciphone.com\/?page_id=351\">instructions here<\/a>).<\/li>\n<li>The agent web interface accessible via HTTPS using <strong>VALID<\/strong> SSL certificates from a <strong>VALID<\/strong> Certificate Authority like GoDaddy or LetsEncrypt. <strong>SELF SIGNED SSL CERTIFICATES DO NOT WORK!!!<\/strong><\/li>\n<li>The URL where the agents will be loading VICIphone from. We provide this for free at https:\/\/phone.viciphone.com\/viciphone.php<\/li>\n<li>All content that will be loaded into the same browser tab as the VICIdial web interface must be SSL encrypted. This is especially true if you load external web pages as an IFRAME in the scripts tab. (NOTE: content loaded in other browser tabs or windows do not need to be SSL encrypted)<\/li>\n<\/ul>\n<h2>Steps:<\/h2>\n<ol>\n<li>In the Admin interface of VICIdial go to ADMIN -&gt; System Settings<\/li>\n<li>Change\u00a0Webphone URL to the URL you will be loading VICIphone from. On newer installs of VICIdial this defaults to\u00a0https:\/\/phone.viciphone.com\/viciphone.php. You can leave this as is if you would like.<\/li>\n<li>In the Admin interface of VICIdial go to Admin -&gt; Servers.<\/li>\n<li>For each server in the cluster change it&#8217;s\u00a0External Server IP to the publicly accessible IP of the server. If the server is behind an external firewall then this would be the publicly accessible IP that is forwarding port 8089 to the server.<\/li>\n<li>Also for each server set the &#8220;Web Socket URL&#8221; field to the actual Web Socket URL being used by this Asterisk server. Should something like wss:\/\/yourdialerurl.com:8089\/ws. Be sure to replace yourdialerulr.com with the Fully Qualified Domain Name of the server.<\/li>\n<li>In the Admin interface of VICIdial go to Admin -&gt; Templates and create a new template with the following contents:\n<pre>type=friend\r\nhost=dynamic\r\nencryption=yes\r\navpf=yes\r\nicesupport=yes\r\ndirectmedia=no\r\ntransport=wss\r\nforce_avp=yes\r\ndtlsenable=yes\r\ndtlsverify=no\r\ndtlscertfile=\/PATH\/TO\/YOUR\/SSL\/CERT\/FILE\r\ndtlsprivatekey=\/PATH\/TO\/YOUR\/SSL\/KEY\/FILE\r\ndtlssetup=actpass\r\nrtcp_mux=yes<\/pre>\n<p>NOTE: in the above template, the text \u201c\/PATH\/TO\/YOUR\/SSL\/CERT\/FILE\u201d &amp;<br \/>\n\u201c\/PATH\/TO\/YOUR\/SSL\/KEY\/FILE\u201d should replaced with the exact file names or your SSL certificate and key files.<\/li>\n<li>In the Admin interface of VICIdial go to Admin -&gt; Phones and edit the agent&#8217;s phone.<\/li>\n<li>On that phone change the following fields to:<br \/>\nSet As Webphone: Y<br \/>\nWebphone Auto-Answer: Y<br \/>\nUse External Server IP: Y<br \/>\nTemplate ID: (select the template created in step #6)<\/li>\n<li>Have the agent log into the HTTPS encrypted agent web interface.<\/li>\n<li>Once they have selected the campaign and<br \/>\nclicked \u201csubmit\u201d, VICIphone should be launched with all of the correct settings. It<br \/>\nruns embedded in the upper right corner of the agent&#8217;s browser, as part of their VICIdial agent interface.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Requirements: Each Asterisk Server in the Vicidial cluster configured to work with VICIphone (instructions here). The agent web interface accessible via HTTPS using VALID SSL certificates from a VALID Certificate Authority like GoDaddy or LetsEncrypt. SELF SIGNED SSL CERTIFICATES DO NOT WORK!!! The URL where the agents will be loading VICIphone from. We provide this [&hellip;]<\/p>\n","protected":false},"author":101011,"featured_media":0,"parent":346,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-353","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/pages\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/users\/101011"}],"replies":[{"embeddable":true,"href":"https:\/\/test.viciphone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=353"}],"version-history":[{"count":8,"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/pages\/353\/revisions"}],"predecessor-version":[{"id":426,"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/pages\/353\/revisions\/426"}],"up":[{"embeddable":true,"href":"https:\/\/test.viciphone.com\/index.php?rest_route=\/wp\/v2\/pages\/346"}],"wp:attachment":[{"href":"https:\/\/test.viciphone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}