Dead screen & agent do not communicate with asterisk hel

All installation and configuration problems and questions

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

Dead screen & agent do not communicate with asterisk hel

Postby sridhar » Fri Apr 04, 2008 7:51 am

HI,

I did new server installation , my server is dell PE2900 with 4gb RAM
Vicidial releases 2.0.4 and asterisk svn checkout 1.2

I used scratch installation notes.I am using digium card TDM shows 2 channels configured correctly , using codec g729 and Bria soft phone with g729 codec.

Normal through phone I am able to dial the numbers.when dial through agent web client no communication takes place, phone do not ring on logging. there is no error messages in pbx logs and vicidial logs.I check the dial plan and data base conferences everything looks okay. I am clueless any clue :?:


Thanks in advance for your advise.


Regards

Sridhar
sridhar
 
Posts: 13
Joined: Mon Oct 15, 2007 3:41 am

Postby mcargile » Fri Apr 04, 2008 8:18 am

Please post the output of running the following command on the Linux command line:
Code: Select all
screen -ls
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Postby sridhar » Fri Apr 04, 2008 9:23 am

mcargile wrote:Please post the output of running the following command on the Linux command line:
Code: Select all
screen -ls


Here I post the output of the screen

There are screens on:
3121.ASTfastlog (Detached)
3149.asterisk (Detached)
3119.ASTVDadapt (Detached)
3 Sockets in /var/run/screen/S-r


And output from command screen -r

There are several suitable screens on:
3121.ASTfastlog (Detached)
3149.asterisk (Detached)
3119.ASTVDadapt (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.

Thanks again.

Kind regards

Sridhar
sridhar
 
Posts: 13
Joined: Mon Oct 15, 2007 3:41 am

Postby mcargile » Fri Apr 04, 2008 9:57 am

The output of screen -ls on a 2.0.4 system should look something like this on a single server setup:
Code: Select all
#> screen -ls
There are screens on:
        9291.ASTupdate  (Detached)
        9300.ASTVDauto  (Detached)
        3470.ASTfastlog (Detached)
        26545.ASTVDadapt        (Detached)
        9297.ASTlisten  (Detached)
        9271.asterisk   (Detached)
        9294.ASTsend    (Detached)
7 Sockets in /var/run/screens/S-root.


There is something preventing some of these scripts to run. Please post the contents of your /etc/astguiclient.conf file.

Also please try running the following command in the Linux command line and post the results:
Code: Select all
/usr/share/astguiclient/AST_update.pl
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Postby sridhar » Fri Apr 04, 2008 10:00 am

mcargile wrote:The output of screen -ls on a 2.0.4 system should look something like this on a single server setup:
Code: Select all
#> screen -ls
There are screens on:
        9291.ASTupdate  (Detached)
        9300.ASTVDauto  (Detached)
        3470.ASTfastlog (Detached)
        26545.ASTVDadapt        (Detached)
        9297.ASTlisten  (Detached)
        9271.asterisk   (Detached)
        9294.ASTsend    (Detached)
7 Sockets in /var/run/screens/S-root.


There is something preventing some of these scripts to run. Please post the contents of your /etc/astguiclient.conf file.

Also please try running the following command in the Linux command line and post the results:
Code: Select all
/usr/share/astguiclient/AST_update.pl


Dear Sir,

Thank you very much for your prompt reply. Currently I am away from my system. I will do as you suggested and post you the output after 3 hours.

Thank you very much again for your precious time.

Kind regards

Sridhar
sridhar
 
Posts: 13
Joined: Mon Oct 15, 2007 3:41 am

Postby sridhar » Fri Apr 04, 2008 1:19 pm

sridhar wrote:
mcargile wrote:The output of screen -ls on a 2.0.4 system should look something like this on a single server setup:
Code: Select all
#> screen -ls
There are screens on:
        9291.ASTupdate  (Detached)
        9300.ASTVDauto  (Detached)
        3470.ASTfastlog (Detached)
        26545.ASTVDadapt        (Detached)
        9297.ASTlisten  (Detached)
        9271.asterisk   (Detached)
        9294.ASTsend    (Detached)
7 Sockets in /var/run/screens/S-root.


There is something preventing some of these scripts to run. Please post the contents of your /etc/astguiclient.conf file.

Also please try running the following command in the Linux command line and post the results:
Code: Select all
/usr/share/astguiclient/AST_update.pl


Dear Sir,

Thank you very much for your prompt reply. Currently I am away from my system. I will do as you suggested and post you the output after 3 hours.

Thank you very much again for your precious time.

Kind regards

Sridhar



HI I did as you suggested here is the output:

##################################
# astguiclient.conf - configuration elements for the astguiclient package
# this is the astguiclient configuration file
# all comments will be lost if you run install.pl again

# Paths used by astGUIclient
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /var/www
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
PATHDONEmonitor => /var/spool/asterisk/monitorDONE

# The IP address of this machine
VARserver_ip => 192.168.1.2

# Database connection information
VARDB_server => localhost
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306

# Alpha-Numeric list of the astGUIclient processes to be kept running
# (value should be listing of characters with no spaces: 123456)
# X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
# 1 - AST_update
# 2 - AST_send_listen
# 3 - AST_VDauto_dial
# 4 - AST_VDremote_agents
# 5 - AST_VDadapt (If multi-server system, this must only be on one server)
# 6 - FastAGI_log
# 7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one ser ver)
VARactive_keepalives => 123456

# FTP recording archive connection information
VARFTP_host => 192.168.1.2
VARFTP_user => ftpadmin
VARFTP_pass => XXXXXXXX
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://192.168.1.2

# REPORT server connection information
VARREPORT_host => 192.168.1.2
VARREPORT_user => cron
VARREPORT_pass => 1234
VARREPORT_port => 21
VARREPORT_dir => REPORTS

# Settings for FastAGI logging server
VARfastagi_log_min_servers => 3
VARfastagi_log_max_servers => 16
VARfastagi_log_min_spare_servers => 2
VARfastagi_log_max_spare_servers => 8
VARfastagi_log_max_requests => 1000
VARfastagi_log_checkfordead => 30
VARfastagi_log_checkforwait => 60

#######################################


ind-strepx02:~# /usr/share/astguiclient/AST_update.pl

SHOW CHANNELS format: 1
LOOKING FOR Zap clients assigned to this server:
LOOKING FOR IAX2 clients assigned to this server:
LOOKING FOR SIP clients assigned to this server:
Zap Clients: |
IAX2 Clients: |
SIP Clients: |
unknown remote host: at /usr/share/astguiclient/AST_update.pl line 369
sridhar
 
Posts: 13
Joined: Mon Oct 15, 2007 3:41 am

Postby mcargile » Fri Apr 04, 2008 2:13 pm

It looks like the Vicidial scripts are unable to communicate with asterisk.

Please check that your /etc/asterisk/manager.conf file looks like this:
Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[updatecron]
secret = 1234
read = command
write = command

[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command

[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Postby sridhar » Fri Apr 04, 2008 2:40 pm

mcargile wrote:It looks like the Vicidial scripts are unable to communicate with asterisk.

Please check that your /etc/asterisk/manager.conf file looks like this:
Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[updatecron]
secret = 1234
read = command
write = command

[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command

[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user


#######################
Thanks again , I checked that it is exactly you said , and calls are okay thru soft phone , here I print some debug message which popup often: is that causing any problem ?

Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '4511980c165b4a00210365dd5dd57812@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '7bdd56204ad0ed4711983e411d538fdf@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '62a11f1c1b65a2284e53102a4b5225f3@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '27fba80c2a60d0146eb49c9b23d8fe2c@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '7cb0cfe16d73796e187ac724583f5c3d@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '622760d877e22c6c472ff44306005f04@192.168.1.2'


DEBUG[3427]: chan_sip.c:1413 __sip_ack: Stopping retransmission on '66860ec67d127631273c5df85ef9af37@192.168.1.2' of Request 102: Match Found

In addition I get these messages ---

Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'spa2001' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc100' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc101' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc102' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc103' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc104' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc105' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc106' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc107' in family 'SIP/Registry'
sridhar
 
Posts: 13
Joined: Mon Oct 15, 2007 3:41 am

IT Works

Postby sridhar » Fri Apr 04, 2008 8:24 pm

sridhar wrote:
mcargile wrote:It looks like the Vicidial scripts are unable to communicate with asterisk.

Please check that your /etc/asterisk/manager.conf file looks like this:
Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[updatecron]
secret = 1234
read = command
write = command

[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command

[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user


#######################
Thanks again , I checked that it is exactly you said , and calls are okay thru soft phone , here I print some debug message which popup often: is that causing any problem ?

Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '4511980c165b4a00210365dd5dd57812@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '7bdd56204ad0ed4711983e411d538fdf@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '62a11f1c1b65a2284e53102a4b5225f3@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '27fba80c2a60d0146eb49c9b23d8fe2c@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '7cb0cfe16d73796e187ac724583f5c3d@192.168.1.2'
Apr 5 01:06:37 DEBUG[3427]: chan_sip.c:1334 __sip_autodestruct: Auto destroying call '622760d877e22c6c472ff44306005f04@192.168.1.2'


DEBUG[3427]: chan_sip.c:1413 __sip_ack: Stopping retransmission on '66860ec67d127631273c5df85ef9af37@192.168.1.2' of Request 102: Match Found

In addition I get these messages ---

Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'spa2001' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc100' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc101' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc102' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc103' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc104' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc105' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc106' in family 'SIP/Registry'
Apr 5 01:38:25 DEBUG[5105]: db.c:200 ast_db_get: Unable to find key 'cc107' in family 'SIP/Registry'


Hello ,

I am very thankful for vicidial community for active support. I solved the problem. when I type screen -r it was not displaying all screen. issue was with configuration files manager.conf and astguiclient.conf . some missconfigurations result in screens did not started.I took configurations from my working production server now my outbound calls are working properly.

I thanks again .

Greetings
Sridhar
sridhar
 
Posts: 13
Joined: Mon Oct 15, 2007 3:41 am

Postby mcargile » Sat Apr 05, 2008 8:57 am

I am glad to hear that.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 251 guests