Help editing VICIdial.php

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Help editing VICIdial.php

Postby dcd80 » 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!
dcd80
 
Posts: 1
Joined: Mon Mar 03, 2014 11:14 pm

Re: Help editing VICIdial.php

Postby williamconley » Tue Mar 04, 2014 1:27 am

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-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Help editing VICIdial.php

Postby boybawang » Tue Mar 04, 2014 2:51 am

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
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 39 guests