Page 1 of 1

problem with agent login

PostPosted: Tue Jul 18, 2006 2:45 pm
by rudra_ach
Hi all,

I've installed vicidial by following each and every step of the scratch install but when I tried to login with the agent user login ,password and phone user login and password , the call is not coming to the phone for conference.I'm not sure what exactly the problem.Is it a mysql problem??
I'm using fedora core5, with mysql rpm 5.0 version.Last time I've installed with vicidial v.1.1.12 worked fine.Any idea.In my asterisk logs I can see sendcron user frequently logged in and logged out.

Thanks in advance
regards
rudra

PostPosted: Tue Jul 18, 2006 2:48 pm
by mflorell
Is there any output on the Asterisk CLI when you login?

If not then something is certainly wrong.

Do you get any output in your Javascript Console of Firefox?

PostPosted: Tue Jul 18, 2006 11:59 pm
by rudra_ach
Hi

here some output while I login

After login the vicidial log in window comes but after 1 min none is in the session 865....

regards
rudra

*CLI> Jul 19 10:24:13 NOTICE[2265]: chan_iax2.c:5698 update_registry: Restricting registration for peer '100' to 60 seconds (requested 300)
Jul 19 10:24:13 NOTICE[2265]: chan_iax2.c:5698 update_registry: Restricting registration for peer '100' to 60 seconds (requested 300)
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Remote UNIX connection
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1

PostPosted: Wed Jul 19, 2006 6:08 am
by mflorell
Post the results of this command on Linux command line:
"screen -r"

Also, post the contents of the vicidial_manager table after you try to login:
select * from vicidial_manager;

PostPosted: Wed Jul 19, 2006 6:44 am
by rudra_ach
Hi

this is the out put of vicidial_manager table after I login.

regards
rudra

Database changed
mysql> select * from vicidial_manager;
+--------+-----------+---------------------+--------+----------+---------------+---------+-----------+----------------------+-------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| man_id | uniqueid | entry_date | status | response | server_ip | channel | action | callerid | cmd_line_b | cmd_line_c | cmd_line_d | cmd_line_e | cmd_line_f | cmd_line_g | cmd_line_h | cmd_line_i | cmd_line_j | cmd_line_k |
+--------+-----------+---------------------+--------+----------+---------------+---------+-----------+----------------------+-------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| 65 | 0.0000000 | 2006-07-19 17:10:10 | NEW | N | 192.168.1.240 | | Originate | S0607191710108600051 | Channel: IAX2/100 | Context: default | Exten: 8600051 | Priority: 1 | Callerid: S0607191710108600051 | | | | | |
+--------+-----------+---------------------+--------+----------+---------------+---------+-----------+----------------------+-------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
1 row in set (0.00 sec)


I'm not using the screen.I just manually stated the server the out put of that

Jul 19 17:11:36 NOTICE[2325]: chan_iax2.c:7438 socket_read: Registration of 'demo' rejected: 'Registration Refused' from: '59.93.130.228'
Jul 19 17:11:36 NOTICE[2325]: chan_iax2.c:7438 socket_read: Registration of 'demo' rejected: 'Registration Refused' from: '59.93.130.228'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
Jul 19 17:12:26 NOTICE[2325]: chan_iax2.c:7438 socket_read: Registration of 'demo' rejected: 'Registration Refused' from: '59.93.130.228'
Jul 19 17:12:26 NOTICE[2325]: chan_iax2.c:7438 socket_read: Registration of 'demo' rejected: 'Registration Refused' from: '59.93.130.228'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1

PostPosted: Wed Jul 19, 2006 7:14 am
by gschaller
Try
iax show peers
or
sip show peers
to look for registered phones. It seems your phone is not registered to Asterisk.

PostPosted: Wed Jul 19, 2006 7:21 am
by mflorell
VICIDIAL will not work without "screen" installed. That is what all of the keepalive scripts in your crontab use to run all of the server-side applications

PostPosted: Wed Jul 19, 2006 9:59 am
by rudra_ach
Hi Dear,

Many many thankx for the solution.I've never through the screen is playing such an imporatnat role in vicidial.I installed it and it's working fine for me.

Thankx a lot

regards
rudra