Page 1 of 1

Help editing VICIdial.php

PostPosted: Mon Mar 03, 2014 11:38 pm
by dcd80
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!

Re: Help editing VICIdial.php

PostPosted: Tue Mar 04, 2014 1:27 am
by williamconley
Vicidial.php should NOT be edited.

The user and pass involved in an agent logging in is NOT related to the user/pass for your carrier.

The step by step instructions are in the Vicidial Manager's Manual available on EFLO.net for Free (there is also a paid version you should get as soon as you realize this software will run your entire call center).

And you are now eligible for my standard newbie intro:

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) Start at page 1 of the manual. Do NOT skip anything. Your server will be fully functional before you get to the back cover if you do NOT skip anything.

4) If you have a problem, bring the page/line of the manual HERE and post what you expected to happen, what happened, and any relevant details. We'll walk you through it. 8-)

Re: Help editing VICIdial.php

PostPosted: Tue Mar 04, 2014 2:51 am
by boybawang
dcd80 wrote: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!



the easiest way is to modify the entry in the vicidial database under the phones table