PHONE NOT ADDED - error

All installation and configuration problems and questions

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

PHONE NOT ADDED - error

Postby stevers » Sat Dec 09, 2006 7:47 am

Having started out from scratch with the db, I got a "PHONE NOT ADDED - Please go back and look at the data you entered" msg when I try to add an extension. All fields are blank.

Having executed the grant statements I thought I'd check on the passwords. They are all recorded as an encrypted pw.

Running "UPDATE mysql.user set password=OLD_PASSWORD('1234') where user='cron';"
Query OK, 0 rows affected (0.00 sec)
Rows matched: 2 Changed: 0 Warnings: 0

Mysql is V. 4.1.20

I think that under an earlier install (which was Trixbox) I had to make it read 1234 in plain text, which I thought the above command would do. (Current is plain CentOS.) So it looks like I have to overcome that one, but I'm not sure.

The setup does show default server and phones. Asterisk server admin does let me update the server, but not add phones.

I have two sql scripts which I run to create my vicidial db that I can share if needed, (And yes I do update the DB line in admin.php to say vicidial instead of asterisk.)


Starting with a even more minimalistic db setup I only have a default phone (102) and I add the server. Looks good.
I add a list and leads. Restart the hopper and 5 leads goes in it. I login as 102 and user 6666 and when the client screen loads I press the dial next number button which then populates the fields with data. Shortly thereafter it times out, probably as it has not connected me to the phone.

Asterisk sees the two phones connected (one being 102) which is registered. The correct IP is in the admin config. Ditto with all other data as far as I can see. (IP, login, pwd, active etc.)

I noticed that it tried to use a non existent conference # (8600051) so I added it. Restarting hopper and so on I still get the PHONE NOT ADDED message from the vicidial client. Lead is loaded, all looks good except no connect to the phone.

Three dbconnects are all updated with correct info.

(I'm certainly learning more in depth than I knew before, but I still cannot debug this fully.)
stevers
 
Posts: 26
Joined: Mon Jul 31, 2006 10:51 pm
Location: USA

Postby stevers » Sat Dec 09, 2006 8:27 am

I also get Noone is in your session: 8600051.
stevers
 
Posts: 26
Joined: Mon Jul 31, 2006 10:51 pm
Location: USA

Postby mflorell » Sat Dec 09, 2006 8:48 am

It looks like you aren't following the SCRATCH_INSTALL exactly. You really need to go step-by-step and make sure you do all of it. Leaving one step out can cause further steps not to work right.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby stevers » Sat Dec 09, 2006 9:21 am

Well that's clear, I was just hoping to cut down the chase. But if it's not obvious to you then that's what I'll do.
stevers
 
Posts: 26
Joined: Mon Jul 31, 2006 10:51 pm
Location: USA

Postby stevers » Sat Dec 09, 2006 10:10 am

OK so I discovered that I cannot find perl_TK. I have added all the perl modules as far as I can tell. But in trying to verify what it is I cannot see any reference to it in your instructions. (Except saying it has been replaced by AJAX in 6.8.)
Yet it is listed under phone install directory:

/usr/local/perl_TK

I certainly don't have that dir. What's up with that?
stevers
 
Posts: 26
Joined: Mon Jul 31, 2006 10:51 pm
Location: USA

Postby mflorell » Sun Dec 10, 2006 1:19 am

perl Tk is not required as of a long time ago and none of the code is present in the distribution. Perl TK is not needed for VICIDIAL.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby stevers » Sun Dec 10, 2006 7:19 pm

Turns out there's a bug with installing Module::Build on a few releases. The error msg is "Argument list too long..."

It's known to affect RHL9, FC1-FC3, and RHEL3-4. Which of course includes CentOS.

I found an earlier version 0.2612-1.rhel4, which installed fine.
(http://www.city-fan.org/ftp/contrib/per ... PMS.rhel4/)

Since I'm running a script which installs all the Perl modules I don't see all the messages it generates.
stevers
 
Posts: 26
Joined: Mon Jul 31, 2006 10:51 pm
Location: USA

Postby Op3r » Mon Dec 11, 2006 7:05 am

do you mind if you can post that script which auto install the perl modules?

Im kinda working on a installer for vicidial.

thanks

Ed
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby stevers » Mon Dec 11, 2006 7:22 am

The next thing to do is to add verification of successful install.
I've scripted most steps which I will release when done.

If you contact me off list I can share them with you. Just send me a private message.

---------------------- step 3.1.4 ----------------------
#!/bin/bash
echo;echo;echo;echo "install MD5"
perl -MCPAN -e 'install MD5'

echo;echo;echo;echo "install Digest::MD5"
sleep 1
perl -MCPAN -e 'install Digest::MD5'

echo;echo;echo;echo "install Digest::SHA1"
sleep 1
perl -MCPAN -e 'install Digest::SHA1'

echo;echo;echo;echo "install readline"
sleep 1
perl -MCPAN -e 'install readline'

#echo;echo;echo;echo "install Module::Signature"
#sleep 1
#perl -MCPAN -e 'install Module::Signature'

#echo;echo;echo;echo "install ExtUtils::ParseXS"
#sleep 1
#perl -MCPAN -e 'install ExtUtils::ParseXS'

#echo;echo;echo;echo "install Archive::Tar"
#sleep 1
#perl -MCPAN -e 'install Archive::Tar'

#echo;echo;echo;echo "install Pod::Readme"
#sleep 1
#perl -MCPAN -e 'install Pod::Readme'

echo;echo;echo;echo "install Bundle::CPAN"
sleep 1
perl -MCPAN -e 'install Bundle::CPAN'

echo;echo;echo;echo "reload cpan"
sleep 1
perl -MCPAN -e 'reload cpan'

echo;echo;echo;echo "install DBI"
sleep 1
perl -MCPAN -e 'install DBI'

echo;echo;echo;echo "install DBD::mysql"
sleep 1
perl -MCPAN -e 'force install DBD::mysql'

echo;echo;echo;echo "install Net::Telnet"
sleep 1
perl -MCPAN -e 'install Net::Telnet'

echo;echo;echo;echo "install Time::HiRes"
sleep 1
perl -MCPAN -e 'install Time::HiRes'

echo;echo;echo;echo "install OLE::Storage_Lite"
sleep 1
perl -MCPAN -e 'install OLE::Storage_Lite'

echo;echo;echo;echo "install Spreadsheet::ParseExcel"
sleep 1
perl -MCPAN -e 'install Spreadsheet::ParseExcel'

echo;echo;echo "DONE."
stevers
 
Posts: 26
Joined: Mon Jul 31, 2006 10:51 pm
Location: USA


Return to Support

Who is online

Users browsing this forum: No registered users and 85 guests