Help editing VICIdial.php
Posted: Mon Mar 03, 2014 11:38 pm
Hi all,
I have installed VICIdial on CentOS and have registered my carrier successfully and checked that registration was successful in asterisk with sip show registry. However, I get the following error when logging into VICIdial: Sorry, your phone login and password are not active in this system, please try again.
I noticed in the wiki that there is an explanation for this that says the following: if the password is using special characters go to vicidial.php, and comment: $phone_pass=ereg_replace("[^0-9a-zA-Z]","",$phone_pass);
This is indeed the case since my carrier does use two special characters in the password, so I wanted to ask you guys how can I go about editing the vicidial.php and comment the section listed above. It will help greatly if you can show step by step instructions as to how to do this since I am a complete newbie to VICIdial and CentOS.
Thanks for the support!
I have installed VICIdial on CentOS and have registered my carrier successfully and checked that registration was successful in asterisk with sip show registry. However, I get the following error when logging into VICIdial: Sorry, your phone login and password are not active in this system, please try again.
I noticed in the wiki that there is an explanation for this that says the following: if the password is using special characters go to vicidial.php, and comment: $phone_pass=ereg_replace("[^0-9a-zA-Z]","",$phone_pass);
This is indeed the case since my carrier does use two special characters in the password, so I wanted to ask you guys how can I go about editing the vicidial.php and comment the section listed above. It will help greatly if you can show step by step instructions as to how to do this since I am a complete newbie to VICIdial and CentOS.
Thanks for the support!