In elastix 2.0 the vtigerCRM click to dial normally won’t work . We have to change the following file to make it work.
Edit the following file
/var/www/html/vtigercrm/modules/PBXManager/utils/AsteriskClass.php
Search for default:
change the $context = "default"; to $context = "from-internal";
(from-interna is default context for extensions in FreePBX)
where "from-internal" is the dial plan context for oubound dialing for the user extension who logged in to vtigercrm.
See /etc/asterisk/sip_additional.conf for FreePBX or /etc/asterisk/users.conf for bare asterisk