Problem with NOone in the sessions

All installation and configuration problems and questions

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

Problem with NOone in the sessions

Postby llc » Thu Dec 28, 2006 9:38 am

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
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Thu Dec 28, 2006 10:28 am

post output of "screen -r"

post output from Asterisk CLIwhen you do not receive a call upon login.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

web user/phone creation time mysql password problem

Postby ramindia » Thu Dec 28, 2006 11:58 am

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
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby ramindia » Thu Dec 28, 2006 12:09 pm

Hi

sorry ignore my reply

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby llc » Fri Dec 29, 2006 12:16 am

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
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Fri Dec 29, 2006 10:51 am

if screen is not found, then vicidial will not work at all.

Did you install screen from source?

Did it compile properly without error?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Fri Dec 29, 2006 7:48 pm

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
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Sat Dec 30, 2006 6:16 am

What Linux distro are you using?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Sat Dec 30, 2006 8:57 am

Im using Centos Distribution but I manage to install the 1st vicidial version but not the latest version.


Thansk :cry:
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Sat Dec 30, 2006 9:26 am

updatedb
locate bin/screen
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Sat Dec 30, 2006 10:10 am

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.
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Sat Dec 30, 2006 11:22 am

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
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Tue Jan 02, 2007 10:05 am

#]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
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Tue Jan 02, 2007 12:50 pm

What zaptel timing source are you using?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Tue Jan 02, 2007 7:46 pm

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
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby gerski » Wed Jan 03, 2007 10:38 am

what matt means is what zaptel timing are you using.. is it ztdummy? X100P?

just ignore the sendcron =)
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby llc » Fri Jan 05, 2007 7:58 pm

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.
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Fri Jan 05, 2007 8:37 pm

post output of "screen -r"

What version of Asterisk are you using?

Did you apply the cli patch before compiling Asterisk?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Fri Jan 05, 2007 11:35 pm

[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.
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby llc » Fri Jan 05, 2007 11:36 pm

[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.
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby mflorell » Sat Jan 06, 2007 9:39 am

Al versions of 1.2 tree Asterisk need the cli patch. It's the 1.4 tree that does not.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby llc » Sun Jan 07, 2007 10:52 am

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...
llc
 
Posts: 13
Joined: Thu Dec 28, 2006 9:17 am

Postby rudra_ach » Mon Jan 08, 2007 12:45 am

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...
rudra_ach
 
Posts: 108
Joined: Fri Jun 23, 2006 11:22 am

No attached screens

Postby jonsolbg » Tue Feb 13, 2007 8:49 pm

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?
jonsolbg
 
Posts: 18
Joined: Tue Feb 13, 2007 4:53 pm

Postby Op3r » Wed Feb 14, 2007 3:29 am

Did you add the crontab?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Thank you for reply

Postby jonsolbg » Wed Feb 14, 2007 12:59 pm

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
jonsolbg
 
Posts: 18
Joined: Tue Feb 13, 2007 4:53 pm

Postby mflorell » Wed Feb 14, 2007 1:30 pm

Did you install all of the Perl modules listed in SCRATCH_INSTALL?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Installed Modules

Postby jonsolbg » Wed Feb 14, 2007 3:49 pm

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)
jonsolbg
 
Posts: 18
Joined: Tue Feb 13, 2007 4:53 pm

It seems that works..

Postby jonsolbg » Wed Feb 14, 2007 7:33 pm

: )
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.
jonsolbg
 
Posts: 18
Joined: Tue Feb 13, 2007 4:53 pm


Return to Support

Who is online

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