Outbound campaign, doesn't executing agi-VDAD_ALL_outbound

All installation and configuration problems and questions

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

Outbound campaign, doesn't executing agi-VDAD_ALL_outbound

Postby areon » Tue Sep 08, 2015 9:19 am

Hello friends! I need help.

My config:
1) VERSION OF VICIDIAL
VERSION: 2.12-500A
2) LOADAVG
0-5%
3) SERVER SPECS
RAM-2GB/HDD 40G/1CPU – 1GHZ
4) CODECS USED
ULAW,ALAW,GSM
5) VOIP OR PSTN
Sip trunk
6) OS
CENTOS 6.6 -2.6.32-504.30.3.EL6.X86_64
ALL IN ONE SERVER.
Install Method = Manual by striker24x7.blogspot

I have a problem (trim spaces):
i11 . pixs . ru/storage/2/4/8/printscree_7243631_18723248 .png

Code: Select all
 -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000162                                                                           ;2", "8600051,F") in new stack
[Sep  8 17:01:07]        > Channel Local/8600051@default-00000162;1 was answered.
[Sep  8 17:01:07]     -- Executing [44442205@default:1] AGI("Local/8600051@default-00000162;1                                                                           ", "agi://127.0.0.1:4577/call_log") in new stack
[Sep  8 17:01:07]     -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=COM                                                                           POUT))
[Sep  8 17:01:07]     -- <Local/8600051@default-00000162;1>AGI Script agi://127.0.0.1:4577/ca                                                                           ll_log completed, returning 0
[Sep  8 17:01:07]     -- Executing [44442205@default:2] Dial("Local/8600051@default-00000162;                                                                           1", "SIP/trunk/44442205,,tTro") in new stack
[Sep  8 17:01:07]   == Using SIP RTP CoS mark 5
[Sep  8 17:01:07]     -- Called SIP/trunk/44442205
[Sep  8 17:01:07]     -- SIP/trunk-00000120 is ringing
[Sep  8 17:01:07]     -- SIP/trunk-00000120 is ringing
[Sep  8 17:01:08]   == Manager 'sendcron' logged on from 127.0.0.1
[Sep  8 17:01:08]     -- Executing [58600051@default:1] MeetMe("Local/58600051@default-000001                                                                           63;2", "8600051,Fmq") in new stack
[Sep  8 17:01:08]        > Channel Local/58600051@default-00000163;1 was answered.
[Sep  8 17:01:08]     -- Executing [8310@default:1] Answer("Local/58600051@default-00000163;1                                                                           ", "") in new stack
[Sep  8 17:01:08]     -- Executing [8310@default:2] Monitor("Local/58600051@default-00000163;                                                                           1", "gsm,20150908-170107_44442205_agent2_114_M9081701070000000114") in new stack
[Sep  8 17:01:08]     -- Executing [8310@default:3] Wait("Local/58600051@default-00000163;1",                                                                            "3600") in new stack
[Sep  8 17:01:08]   == Manager 'sendcron' logged off from 127.0.0.1
[Sep  8 17:01:09]   == Manager 'sendcron' logged off from 127.0.0.1
[Sep  8 17:01:12]   == Manager 'sendcron' logged off from 127.0.0.1
[Sep  8 17:01:37]     -- Got SIP response 603 "Declined" back from 192.168.3.108:5060
[Sep  8 17:01:37]     -- SIP/trunk-00000120 is busy
[Sep  8 17:01:37]   == Everyone is busy/congested at this time (1:1/0/0)
[Sep  8 17:01:37]     -- Executing [44442205@default:3] Hangup("Local/8600051@default-0000016                                                                           2;1", "") in new stack
[Sep  8 17:01:37]   == Spawn extension (default, 44442205, 3) exited non-zero on 'Local/86000                                                                           51@default-00000162;1'
[Sep  8 17:01:37]     -- Executing [h@default:1] AGI("Local/8600051@default-00000162;1", "agi                                                                           ://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----BUSY----------") in new stac                                                                           k
[Sep  8 17:01:37]     -- <Local/8600051@default-00000162;1>AGI Script agi://127.0.0.1:4577/ca                                                                           ll_log--HVcauses--PRI-----NODEBUG-----21-----BUSY---------- completed, returning 0
[Sep  8 17:01:37]   == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/860005                                                                           1@default-00000162;2'
[Sep  8 17:01:37]     -- Executing [h@default:1] AGI("Local/8600051@default-00000162;2", "agi                                                                           ://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Sep  8 17:01:37]     -- <Local/8600051@default-00000162;2>AGI Script agi://127.0.0.1:4577/ca                                                                           ll_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0


channel doesn't correctly determined by the outbound dialing and is doesn't displayed label LIVE CALL in the corner of the screen.
I'm calling with Asterisk 192.168.3.108 (my webphone) to 192.168.3.122 (vicidial agent). Connection successfully, correct SIPtrunk, all ok.
When I make a call from 108 to 122 - all successful. My IN-company catches the call, catches the channel and it's working fine.
If the reverse situation (OUTBOUND-company calls dialing 122 on the server 108) - i have a trouble. The agent and the client can hear each other, in table vicidial_auto_calls arrives new record, but her channel IS NULL; script outbound_ALL.agi does not start and the label LIVE CALL is not displayed.
My OUT-Campaign options: Dial Method = Manual, Minimum Hopper Level = 500, Routing Extension = 8368.
My dialplan (carrier):
Code: Select all
[trunk]
type=friend

secret=passwd
fromuser=5555500
host=dynamic
port= 5060
dtmf=rfc2833
context=default
disallow=all
allow=ulaw,alaw,gsm
insecure=port,invite
qualify = yes

[default]

exten => _4444XXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _4444XXXX,n,Dial(SIP/trunk/${EXTEN},,tTro)
exten => _4444XXXX,n,Hangup()

exten => _5555500,1,AGI(agi-DID_route.agi,,rtTo)
exten => _5555500,n,Hangup()

Anything else?
Tell me, please, dear experts, where dig?
areon
 
Posts: 59
Joined: Tue Sep 08, 2015 7:17 am

Re: Outbound campaign, doesn't executing agi-VDAD_ALL_outbou

Postby omarrodriguezt » Wed Sep 09, 2015 2:34 pm

Hello,
Show the output of crontab -l
and also cat /etc/astguiclient.conf

Don't forget to hide any sensitive information like user, password, ip, etc
http://www.ITContinental.com
Dedicated USA Servers - Vicibox - Vicidial - Limesurvey - Vtiger CRM - More than 15 years experience - Hablamos Español
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Re: Outbound campaign, doesn't executing agi-VDAD_ALL_outbou

Postby areon » Fri Sep 11, 2015 6:41 am

omarrodriguezt wrote:Hello,
Show the output of crontab -l
and also cat /etc/astguiclient.conf

Don't forget to hide any sensitive information like user, password, ip, etc


CARONETAB
Code: Select all
###recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM

### keepalive script for astguiclient processes

* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --cu3way

### 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 and the full day run at night

33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl

50 0 * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --last-24hours

## uncomment below if using QueueMetrics

#*/5 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --only-qm-live-call-check


## uncomment below if using Vtiger

#1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

## uncomment below if using Vtiger

#1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

### 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,7 * * * /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/sbin/ntpdate -u pool/ntp/org 2>/dev/null 1>&2

### VICIDIAL agent time log weekly and daily summary report generation

2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl

22 0 * * * /usr/share/astguiclient/AST_agent_day.pl

### VICIDIAL campaign export scripts (OPTIONAL)

#32 0 * * * /usr/share/astguiclient/AST_VDsales_export.pl

#42 0 * * * /usr/share/astguiclient/AST_sourceID_summary_export.pl

### remove old recordings more than 7 days old

24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f


### roll logs monthly on high-volume dialing systems

#30 1 1 * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl

### remove old vicidial logs and asterisk logs more than 2 days old

28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f

29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f

30 0 * * * /usr/bin/find / -maxdepth 1 -name "screenlog.0*" -mtime +4 -print | xargs rm -f
### cleanup of the scheduled callback records

25 0 * * * /usr/share/astguiclient/AST_DB_dead_cb_purge.pl --purge-non-cb -q


### GMT adjust script - uncomment to enable

#45 0 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --list-settings


### Dialer Inventory Report

1 7 * * * /usr/share/astguiclient/AST_dialer_inventory_snapshot.pl -q --override-24hours


### inbound email parser

* * * * * /usr/share/astguiclient/AST_inbound_email_parser.pl

ASTGUICLIENT

Code: Select all
# /etc/astguiclient.conf - configuration elements for the astguiclient/vicidial 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/html
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.3.122

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

# Alpha-Numeric list of the astGUIclient processes to be kept running
# (value should be listing of characters with no spaces: 1234568)
#  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 server)
#  8 - ip_relay (used for blind agent monitoring)
#  9 - Timeclock auto logout
#  E - Email processor, (If multi-server system, this must only be on one server)
VARactive_keepalives => 1234568E

# Asterisk version VICIDIAL is installed for
VARasterisk_version => 1.8

# FTP recording archive connection information
VARFTP_host => XXXXXXX
VARFTP_user => XXXXXX
VARFTP_pass => XXXXXX
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => XXXXXXX
# REPORT server connection information
VARREPORT_host => XXXXXXXXX
VARREPORT_user => XXXXX
VARREPORT_pass => XXXXX
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

# Expected DB Schema version for this install
ExpectedDBSchema => 1423

Added output screeen -ls
Code: Select all
There are screens on:
        6011.ASTlisten  (Detached)
        6026.ASTconf3way        (Detached)
        6014.ASTVDauto  (Detached)
        6020.ASTVDadapt (Detached)
        6005.ASTupdate  (Detached)
        1869.astshell20150910101339     (Detached)
        6169.pts-0.vicidialdemostend    (Detached)
        6008.ASTsend    (Detached)
        6023.ASTemail   (Detached)
        1874.asterisk   (Detached)
        2049.ASTfastlog (Detached)
        6017.ASTVDremote        (Detached)



button to highlight the call live , we figured out the settings has been exhibited version of Asterisk 1.4 . change to 1.8 - it's ok. But we do not understand why an outgoing call is not called/executing script agi-VDAD_ALL_outbound.
Thx.
areon
 
Posts: 59
Joined: Tue Sep 08, 2015 7:17 am

Re: Outbound campaign, doesn't executing agi-VDAD_ALL_outbou

Postby omarrodriguezt » Fri Sep 11, 2015 8:30 am

In the shell run this command:
Code: Select all
asterisk -rvvvvv


then look for asterisk version, in my case I have: 1.8.32.2-vici

then go to Vicidial->Admin -> Servers -> your server ->asterisk version
and make sure that asterisk version is the same that you have installed. Example: 1.8.32.2-vici
Then reboot the dialer and try again.
http://www.ITContinental.com
Dedicated USA Servers - Vicibox - Vicidial - Limesurvey - Vtiger CRM - More than 15 years experience - Hablamos Español
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Re: Outbound campaign, doesn't executing agi-VDAD_ALL_outbou

Postby areon » Thu Sep 17, 2015 9:50 am

omarrodriguezt, thx, but this doesn't help.
Label LIVE CALL lights, but outbound-script doesn't executes. Why?
areon
 
Posts: 59
Joined: Tue Sep 08, 2015 7:17 am


Return to Support

Who is online

Users browsing this forum: No registered users and 102 guests