Page 1 of 1

Problem with NOone in the sessions

PostPosted: Thu Dec 28, 2006 9:38 am
by llc
Hi there,

I have manage to install vicidial. But my problem is when i try to login to vicidial with my softphone, sometimes the phone will ring but something it doesn trigger the AST_manager_send.pl.

I have follow the installation step on crontab but seem not working.

Hope someone can help confusing now

thanks

PostPosted: Thu Dec 28, 2006 10:28 am
by mflorell
post output of "screen -r"

post output from Asterisk CLIwhen you do not receive a call upon login.

web user/phone creation time mysql password problem

PostPosted: Thu Dec 28, 2006 11:58 am
by ramindia
Hi

i just downloaded latest SVN, and testing my test server
when iam installing time, i have changed the password of CRON user

when iam installing time also install.pl will ask the same question
i have entered latest information of my password

iam able to see the update in /etc/astguicong file also
but when iam creating phone, iam getting still cron/1234, where is this getting from ? any idea

how can i ask this script to pick up from new password and display

ram

PostPosted: Thu Dec 28, 2006 12:09 pm
by ramindia
Hi

sorry ignore my reply

ram

PostPosted: Fri Dec 29, 2006 12:16 am
by llc
I am not sure why when i type screen -r , i got command not found. I have install the screen packages already.

I have try to look at asterisk -rvvv CLI action when i click on login via web for vicidial but seem like the web vicidial doesnt seem to link together.

I have put vicidial into a db callcenter then the context of extensions.conf as [callcenter] not sure whether this effect it.

Thanks

PostPosted: Fri Dec 29, 2006 10:51 am
by mflorell
if screen is not found, then vicidial will not work at all.

Did you install screen from source?

Did it compile properly without error?

PostPosted: Fri Dec 29, 2006 7:48 pm
by llc
Yes i did compile without error with the following steps. I am using version 4.02

4. Go to http://www.gnu.org/software/screen/ and download the screen package
- to install this directly on the command line type:
- cd /usr/local
- wget http://ftp.gnu.org/gnu/screen/screen-4.0.2.tar.gz
or for older version:
- wget http://mirrors.kernel.org/gnu/screen/sc ... .15.tar.gz
- gunzip screen-4.0.2.tar.gz
- tar xvf screen-4.0.2.tar
- cd screen-4.0.2
- ./configure
- make
- make install
- you are done

After i do the "makeinstall" the last lines give me
" You may also want to install ./etc/etcscreenrc in ./etc/screenrc"

I have also tried to install version 3.915 as well but still cant use screen -r

thanks~! :D

PostPosted: Sat Dec 30, 2006 6:16 am
by mflorell
What Linux distro are you using?

PostPosted: Sat Dec 30, 2006 8:57 am
by llc
Im using Centos Distribution but I manage to install the 1st vicidial version but not the latest version.


Thansk :cry:

PostPosted: Sat Dec 30, 2006 9:26 am
by mflorell
updatedb
locate bin/screen

PostPosted: Sat Dec 30, 2006 10:10 am
by llc
here is the results.
[root@asterisk1 ~]# updatedb
[root@asterisk1 ~]# locate bin/screen
/usr/local/screen-4.0.2/bin/screen
/usr/local/screen-4.0.2/bin/screen-4.0.2
/usr/local/screen-4.0.2/bin/screen-4.0.2.old
/usr/local/screen-4.0.2/bin/screen.old
/usr/local/screen-3.9.15/bin/screen
/usr/local/screen-3.9.15/bin/screen-3.9.15.old
/usr/local/screen-3.9.15/bin/screen.old
/usr/local/screen-3.9.15/bin/screen-3.9.15
[root@asterisk1 ~]#
[root@asterisk1 ~]# screen -r
-bash: screen: command not found

Thanks 4 ur help. Really appreciate it.

PostPosted: Sat Dec 30, 2006 11:22 am
by mflorell
ln -s /usr/local/screen-4.0.2/bin/screen /usr/local/bin/screen
ln -s /usr/local/screen-4.0.2/bin/screen /usr/bin/screen

PostPosted: Tue Jan 02, 2007 10:05 am
by llc
#]screen -r
There are several suitable screens on:
5111.ASTlisten (Detached)
5117.ASTsend (Detached)
5138.ASTVDremote (Detached)
5133.ASTupdate (Detached)
5126.ASTVDadapt (Detached)
5122.ASTVDauto (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.

thanks thanks...now can connect with the softphone but the

CLI>
Jan 2 23:29:32 WARNING[14669]: app_meetme.c:1541 conf_run: Unable to write frame to channel: Broken pipe


:D thanks

PostPosted: Tue Jan 02, 2007 12:50 pm
by mflorell
What zaptel timing source are you using?

PostPosted: Tue Jan 02, 2007 7:46 pm
by llc
Im using zaptel-1.2.8.tar.gz.

No when the softphone is ringging, it doesnt say "you are the only person in this conference" But just a bit sound.

When i view the CLI> as below....
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("SIP/spa2000-08601c20", "8600051") in new stack
== Manager 'sendcron' logged off from 127.0.0.1

It said sendcron logged off :?:

Thanks

PostPosted: Wed Jan 03, 2007 10:38 am
by gerski
what matt means is what zaptel timing are you using.. is it ztdummy? X100P?

just ignore the sendcron =)

PostPosted: Fri Jan 05, 2007 7:58 pm
by llc
I m using a digium card with 4 channel. This channel is working cause i tested manually dial out.

The problem now is when i login to vicidial, the softphone will ring. After i click on dial next number, then it will prompt as below:

Noone is in your session: 8600051
Go Back

Call Agent Again

but the phone still connected and cant see any conference when i click on "show conference call channel information". I can hear message on "YOu are the only one in the conference" . I have follow all the method suggested in the forum but seem cant.

mysql> select * from vicidial_conferences;
+------------+-------------+-------------+
| conf_exten | server_ip | extension |
+------------+-------------+-------------+
| 8600051 | 10.10.10.55 | SIP/spa2000 |
| 8600052 | 10.10.10.55 | |
| 8600053 | 10.10.10.55 | |
| 8600054 | 10.10.10.55 | |
| 8600055 | 10.10.10.55 | |

Means got extension on the conference but why still prompt the messages???

I also cant add phone at astguiclient. When I enter the phone then it cant be activate. When add the phone, does it suppose to add details on sip.conf or just in DB(got)?

thanks very much.

PostPosted: Fri Jan 05, 2007 8:37 pm
by mflorell
post output of "screen -r"

What version of Asterisk are you using?

Did you apply the cli patch before compiling Asterisk?

PostPosted: Fri Jan 05, 2007 11:35 pm
by llc
[root@asterisk1 src]# screen -r
There are several suitable screens on:
3578.ASTVDremote (Detached)
3567.ASTVDadapt (Detached)
3581.ASTupdate (Detached)
3571.ASTVDauto (Detached)
3556.ASTlisten (Detached)
3562.ASTsend (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.


i m using asterisk 1.2.12.1. I taught the patch is for version asterisk-1.2.14 therefore i didnt patch.

PostPosted: Fri Jan 05, 2007 11:36 pm
by llc
[root@asterisk1 src]# screen -r
There are several suitable screens on:
3578.ASTVDremote (Detached)
3567.ASTVDadapt (Detached)
3581.ASTupdate (Detached)
3571.ASTVDauto (Detached)
3556.ASTlisten (Detached)
3562.ASTsend (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.


i m using asterisk 1.2.12.1. I taught the patch is for version asterisk-1.2.14 therefore i didnt patch. Do i need ?

thanks.

PostPosted: Sat Jan 06, 2007 9:39 am
by mflorell
Al versions of 1.2 tree Asterisk need the cli patch. It's the 1.4 tree that does not.

PostPosted: Sun Jan 07, 2007 10:52 am
by llc
I have already patch the cli but seem the same. :roll:

There is live call, which i can see at astguiclient.php. Means there is a conference but vicidial cant detect the conference therefore prompt the screen. What trigger the call back again screen?

thanks thanks...

PostPosted: Mon Jan 08, 2007 12:45 am
by rudra_ach
chk weather you installed all perl modules especially the Net:server.

after you login is confernce saying there is nobody in the session??

also chk the mysql is started.




llc wrote:I have already patch the cli but seem the same. :roll:

There is live call, which i can see at astguiclient.php. Means there is a conference but vicidial cant detect the conference therefore prompt the screen. What trigger the call back again screen?

thanks thanks...

No attached screens

PostPosted: Tue Feb 13, 2007 8:49 pm
by jonsolbg
Hi all, I'm experiencing similar problems, the agent log in but the phone don't ring, I also check the screen -r but all I got is this:

> screen -r
> There is no screen to be resumed.

I'm new with vicidial but not about php, mysql and asterisk (that last I use it since almost one year)

I still can't get it work, mysql is running, apache is running, asterisk is running, I configured a soft phone and a hard phone and I do can get them call each other.

The config files I'm using are the samples that comes with vicidial 2.0.2
Any ideas?

PostPosted: Wed Feb 14, 2007 3:29 am
by Op3r
Did you add the crontab?

Thank you for reply

PostPosted: Wed Feb 14, 2007 12:59 pm
by jonsolbg
In my crontab I have this:
### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl

### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q

### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl

### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q

### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl

## adjust time on the server with ntp
30 * * * * /usr/local/bin/ntpdate -u localhost 2>/dev/null 1>&2

### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl

###
* * * * * /usr/share/astguiclient/AST_VDauto_dial.pl

That last line (AST_VDauto_dial.pl) was a desperate try, not sure if it should be there

PostPosted: Wed Feb 14, 2007 1:30 pm
by mflorell
Did you install all of the Perl modules listed in SCRATCH_INSTALL?

Installed Modules

PostPosted: Wed Feb 14, 2007 3:49 pm
by jonsolbg
Yes, I re-install all of them, reboot the machine and still nothing:
[jon@accesscvm ~]$ screen -r
There is no screen to be resumed.

Even when asterisk start it shows a message:
Asterisk started, screen logging on (or something like that)

But when I type "screen -r" I get the same result that before.

apache is runing, mysql is runing, asterisk is runing (with verbose=21 wich means that is loaded by the perl script)

It seems that works..

PostPosted: Wed Feb 14, 2007 7:33 pm
by jonsolbg
: )
Now I want to tell you how was it.
In the installation everything was ok, but I needed to add in every single line of the crontab the user root, so this:
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
changes for this:
* * * * * root /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

Also had to add "export SCREENDIR=/root/tmp" every single time that you use the screen command in /usr/share/astguiclient/ADMIN_keepalive_ALL.pl file
So, this line (351):
/usr/bin/screen -d -m -S ASTsend $PATHhome/AST_manager_send.pl
Change to this:
export SCREENDIR=/root/tmp && /usr/bin/screen -d -m -S ASTsend $PATHhome/AST_manager_send.pl

It was all, at least for now.
I post in several topics, so I will copy and paste this same explanation.
Now if someone could tell me off (politely) about what was doing wrong, I'll really appreciate it.
Thanks all for your responses.