Page 1 of 1

Cannot login to phone

PostPosted: Thu Dec 07, 2006 11:07 am
by stevers
SIP phones are registered with Asterisk, no problem.
But when I try to login via it says "Sorry, your phone login and password are not active in this system..."

I've ran the grants, the phones are listed under Asterisk Admin, with matching passwords and IP's.

But when I try to login I don't see it in the CLI.

PostPosted: Thu Dec 07, 2006 11:31 am
by enjay
THere are two sections where the user/phone need to be added

What verison of VICIDIAL are you using?

2.0.1bX you need to add the phone/user under users (with user username/pass and phone username/pass) and under phones section as well.

-enjay

PostPosted: Thu Dec 07, 2006 6:06 pm
by stevers
(Wow, that was some outage!)

I'm on 2.0, and yes I have added it.

PostPosted: Thu Dec 07, 2006 6:19 pm
by enjay
Check the phone make sure its set as ACTIVE (in both "Status" and "Active Account")

-Art

PostPosted: Thu Dec 07, 2006 6:33 pm
by stevers
Interesting, yes Active account does not set automatically as the doc indicates. Thanks!

It logged in and prompted me for an agent login.
Now it says No leads in the hopper even though there are.

PostPosted: Thu Dec 07, 2006 6:45 pm
by enjay
It doesnt lie :) there may be leads in the list just not in the hopper goto the campaign and look to see what leads are in the hopper..

-Art

PostPosted: Thu Dec 07, 2006 6:49 pm
by stevers
There are 5 leads in the hopper.

PostPosted: Thu Dec 07, 2006 7:00 pm
by enjay
That is bazaar uhmm.. force a reset of the hopper and run /usr/share/astguiclient/AST_VDhopper.pl and see if it populates the hopper again.

-Art

PostPosted: Thu Dec 07, 2006 8:04 pm
by stevers
OK, what parameter do I need to use with AST_VDhopper.pl?

PostPosted: Thu Dec 07, 2006 8:07 pm
by stevers
Well I guess cron took care of that. It's now populated.
I still cannot login though.

PostPosted: Fri Dec 08, 2006 2:39 am
by stevers
What does "Sorry, there are no available sessions" mean when you try to login?

Hmm, just noticed the new extensions I added are not showing up, though on a manual check in mysql I see them.

I also discovered that certain things would come back from when I used dual servers. Maybe the problem is reading from browser cash. Also when I add a new phone, on the detail screen all is empty.

Definitely some communications problems.

PostPosted: Fri Dec 08, 2006 10:39 am
by mflorell
Do you have entries in the vicidial_conferences table for this server_ip?

PostPosted: Fri Dec 08, 2006 3:16 pm
by stevers
Yes, but I had localhost (from your suggestion for easier moving). I changed it to the IP and I can now login. Though it did not call my phone.

I checked the hopper and it's populated, maybe resetting it will help.

At this point I'm probably going to drop the db and recreate it to ensure it only has IP's.

PostPosted: Mon Jan 08, 2007 4:02 am
by llc
I have add a phone in astguiclient/admin.php. I can see the information in phones db. But it doesnt appear in CLI. Therefore it cant register the phone.

any idea why? thanks

PostPosted: Mon Jan 08, 2007 7:57 am
by mflorell
You need to enter your phone's details in either the sip.conf or iax.conf files for registration, the you need to add it's dialplan entry in extensions.conf, then reload Asterisk on the Asterisk CLI.

PostPosted: Thu Jan 18, 2007 3:05 am
by llc
Does this mean, if i want to add a phone then need to do it manually at sip.conf? then add in phone db?

can we do realtime on sip?

thanks

PostPosted: Thu Jan 18, 2007 7:58 am
by gerski
yes.. you need to input your phones in sip.conf as well in the web admin interface, in order to integrate both system and asterisk.