Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
+--------+----------+
| status | count(*) |
+--------+----------+
| A | 826 |
| APT | 301 |
| B | 1 |
| BUS | 153 |
| CBHOLD | 98 |
| DC | 62 |
| DNC | 92 |
| DROP | 88 |
| INCALL | 14 |
| IRATE | 32 |
| L | 16 |
| N | 29 |
| NA | 16 |
| NI | 498 |
| NS | 619 |
| QUEUE | 17 |
| RD | 3621 |
| SB | 290 |
+--------+----------+
+--------+----------+
| status | count(*) |
+--------+----------+
| A | 1402 |
| APT | 367 |
| B | 154 |
| BUS | 213 |
| CALLBK | 3 |
| CBHOLD | 90 |
| DC | 96 |
| DNC | 144 |
| DNCL | 4286 |
| DROP | 222 |
| IRATE | 37 |
| L | 21 |
| N | 46 |
| NA | 28 |
| NEW | 17978 |
| NI | 718 |
| NS | 666 |
| RD | 4594 |
| SB | 350 |
+--------+----------+
-- Executing DeadAGI("Local/1520xxxxxxx@default-795b,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/1520xxxxxxx@default-67d4,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/8500998@default-201f,1", "VD_hangup.agi|PRI-----NODEBUG-----0---------------") in new stack
-- Executing DeadAGI("Local/1520xxxxxxx@default-3ea9,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- Hungup 'Zap/59-1'
== Spawn extension (default, 1520xxxxxxx, 1) exited non-zero on 'Local/1520xxxxxxx@default-ce83,2'
-- Executing DeadAGI("Local/1520xxxxxxx@default-ce83,2", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script VD_hangup.agi completed, returning 0
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/1520xxxxxxx@default-0666,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/1520xxxxxxx@default-ce83,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- AGI Script VD_hangup.agi completed, returning 0
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/15202070010@default-0666,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/15203273738@default-ce83,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
+------------+---------------------+-------------+--------+------------------+---------------------+-------------+-------------+----------------+--------------+----------------------+----------------------+--------------------+-----------+----------------------+-----------------------+-------------+--------------+----------------+------------+
| server_id | server_description | server_ip | active | asterisk_version | max_vicidial_trunks | telnet_host | telnet_port | ASTmgrUSERNAME | ASTmgrSECRET | ASTmgrUSERNAMEupdate | ASTmgrUSERNAMElisten | ASTmgrUSERNAMEsend | local_gmt | voicemail_dump_exten | answer_transfer_agent | ext_context | sys_perf_log | vd_server_logs | agi_output |
+------------+---------------------+-------------+--------+------------------+---------------------+-------------+-------------+----------------+--------------+----------------------+----------------------+--------------------+-----------+----------------------+-----------------------+-------------+--------------+----------------+------------+
| AsteriskOn | COB Asterisk server | 192.168.0.5 | Y | 1.2 | 90 | localhost | 5038 | cron | 1234 | updatecron | listencron | sendcron | -5 | 85026666666666 | 8365 | default | Y | Y | FILE |
| AsteriskTw | COB Asterisk server | 192.168.0.6 | Y | 1.2 | 30 | LOCALHOST | 5038 | cron | 1234 | updatecron | listencron | sendcron | -5 | 85026666666666 | 8365 | default | Y | Y | FILE |
+------------+---------------------+-------------+--------+------------------+---------------------+-------------+-------------+----------------+--------------+----------------------+----------------------+--------------------+-----------+----------------------+-----------------------+-------------+--------------+----------------+------------+
2006-09-14 10:17:45|VD_hangup.agi|DEBUG: NODEBUG
2006-09-14 10:17:45|VD_hangup.agi|VD_hangup : V0914101705000621807 Local/6024945482@default-47f9,2 2 621807
2006-09-14 10:17:45|VD_hangup.agi|-- VDhangup Local DEBUG: |PRI|V0914101705000621807|CANCEL|0|
2006-09-14 10:17:45|VD_hangup.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
2006-09-14 10:17:48|call_log.agi|AGI Environment Dump:
2006-09-14 10:17:48|call_log.agi| -- accountcode =
2006-09-14 10:17:48|call_log.agi| -- callerid = 16233888899
2006-09-14 10:17:48|call_log.agi| -- calleridname = V0914101725000610469
2006-09-14 10:17:48|call_log.agi| -- callingani2 = 0
2006-09-14 10:17:48|call_log.agi| -- callingpres = 0
2006-09-14 10:17:48|call_log.agi| -- callingtns = 0
2006-09-14 10:17:48|call_log.agi| -- callington = 0
2006-09-14 10:17:48|call_log.agi| -- channel = Local/6024045794@default-d971,2
2006-09-14 10:17:48|call_log.agi| -- context = default
2006-09-14 10:17:48|call_log.agi| -- dnid = unknown
2006-09-14 10:17:48|call_log.agi| -- enhanced = 0.0
2006-09-14 10:17:48|call_log.agi| -- extension = h
2006-09-14 10:17:48|call_log.agi| -- language = en
2006-09-14 10:17:48|call_log.agi| -- priority = 1
2006-09-14 10:17:48|call_log.agi| -- rdnis = unknown
2006-09-14 10:17:48|call_log.agi| -- request = call_log.agi
2006-09-14 10:17:48|call_log.agi| -- type = Local
2006-09-14 10:17:48|call_log.agi| -- uniqueid = 1158254245.1440
2006-09-14 10:17:48|call_log.agi|AGI Variables: |1158254245.1440|Local/6024045794@default-d971,2|h|Local|V0914101725000610469|
2006-09-14 10:17:48|call_log.agi||CALL HUNG UP|
2006-09-14 10:17:48|call_log.agi||DELETE from live_inbound where uniqueid='1158254245.1440' and server_ip='192.168.0.5'|
2006-09-14 10:17:48|call_log.agi|+++++ CALL LOG HUNGUP: |1158254245.1440|Local/6024045794@default-d971,2|h|2006-09-14 10:17:48|min: |
if ($AGILOG) {$agi_string = "VD_hangup : $callerid $channel $priority $CIDlead_id"; &agi_output;}
#if ($channel =~ /^Local/)
#{
if ( ($PRI =~ /^PRI$/) && ($callerid =~ /\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d/) && ( ($dialstatus =~ /BUSY/) || ( ($dialstatus =~ /CHANUNAVAIL/) && ($hangup_cause =~ /^1$|^28$/) ) ) )
{
if ($dialstatus =~ /BUSY/) {$VDL_status = 'B'; $VDAC_status = 'BUSY';}
if ($dialstatus =~ /CHANUNAVAIL/) {$VDL_status = 'DC'; $VDAC_status = 'DISCONNECT';}
$stmtA = "UPDATE vicidial_auto_calls set status='$VDAC_status' where callerid = '$callerid';";
if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;}
$affected_rows = $dbhA->do($stmtA);
if ($AGILOG) {$agi_string = "-- VDAC update: |$affected_rows|$CIDlead_id"; &agi_output;}
$stmtA = "UPDATE vicidial_list set status='$VDL_status' where lead_id = '$CIDlead_id';";
if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;}
$affected_rows = $dbhA->do($stmtA);
if ($AGILOG) {$agi_string = "-- VDAD vicidial_list update: |$affected_rows|$CIDlead_id"; &agi_output;}
$stmtA = "UPDATE vicidial_log set status='$VDL_status' where uniqueid = '$uniqueid';";
if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;}
$affected_rows = $dbhA->do($stmtA);
if ($AGILOG) {$agi_string = "-- VDAD vicidial_log update: |$affected_rows|$uniqueid|"; &agi_output;}
$dbhA->disconnect();
}
else
{
if ($AGILOG) {$agi_string = "-- VDhangup Local DEBUG: |$PRI|$callerid|$dialstatus|$hangup_cause|"; &agi_output;}
}
if ($AGILOG) {$agi_string = "+++++ VDAD START LOCAL CHANNEL: EXITING- $priority"; &agi_output;}
if ($priority > 2) {sleep(1);}
exit;
}
2006-09-14 19:27:07|VD_hangup.agi|Perl Environment Dump:
2006-09-14 19:27:07|VD_hangup.agi|0|PRI-----NODEBUG-----34-----CANCEL----------
2006-09-14 19:27:07|VD_hangup.agi|AGI Environment Dump:
2006-09-14 19:27:07|VD_hangup.agi| -- accountcode =
2006-09-14 19:27:07|VD_hangup.agi| -- callerid = 6233888899
2006-09-14 19:27:07|VD_hangup.agi| -- calleridname = V0914192638000622684
2006-09-14 19:27:07|VD_hangup.agi| -- callingani2 = 0
2006-09-14 19:27:07|VD_hangup.agi| -- callingpres = 0
2006-09-14 19:27:07|VD_hangup.agi| -- callingtns = 0
2006-09-14 19:27:07|VD_hangup.agi| -- callington = 0
2006-09-14 19:27:07|VD_hangup.agi| -- channel = Local/6024822673@default-f9a1,2
2006-09-14 19:27:07|VD_hangup.agi| -- context = default
2006-09-14 19:27:07|VD_hangup.agi| -- dnid = unknown
2006-09-14 19:27:07|VD_hangup.agi| -- enhanced = 0.0
2006-09-14 19:27:07|VD_hangup.agi| -- extension = h
2006-09-14 19:27:07|VD_hangup.agi| -- language = en
2006-09-14 19:27:07|VD_hangup.agi| -- priority = 2
2006-09-14 19:27:07|VD_hangup.agi| -- rdnis = unknown
2006-09-14 19:27:07|VD_hangup.agi| -- request = VD_hangup.agi
2006-09-14 19:27:07|VD_hangup.agi| -- type = Local
2006-09-14 19:27:07|VD_hangup.agi| -- uniqueid = 1158287204.72064
2006-09-14 19:27:07|VD_hangup.agi|AGI Variables: |1158287204.72064|Local/6024822673@default-f9a1,2|h|Local|V0914192638000622684|
2006-09-14 19:27:07|VD_hangup.agi|DEBUG: NODEBUG
2006-09-14 19:27:07|VD_hangup.agi|VD_hangup : V0914192638000622684 Local/6024822673@default-f9a1,2 2 622684
2006-09-14 19:27:07|VD_hangup.agi|-- VDhangup Local DEBUG: |PRI|V0914192638000622684|CANCEL|34|
2006-09-14 19:27:07|VD_hangup.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
2006-09-14 19:27:07|VD_hangup.agi|Perl Environment Dump:
2006-09-14 19:27:07|VD_hangup.agi|0|PRI-----NODEBUG-----34-----CANCEL----------
2006-09-14 19:27:07|VD_hangup.agi|AGI Environment Dump:
2006-09-14 19:27:07|VD_hangup.agi| -- accountcode =
2006-09-14 19:27:07|VD_hangup.agi| -- callerid = 6233888899
2006-09-14 19:27:07|VD_hangup.agi| -- calleridname = V0914192638000530318
2006-09-14 19:27:07|VD_hangup.agi| -- callingani2 = 0
2006-09-14 19:27:07|VD_hangup.agi| -- callingpres = 0
2006-09-14 19:27:07|VD_hangup.agi| -- callingtns = 0
2006-09-14 19:27:07|VD_hangup.agi| -- callington = 0
2006-09-14 19:27:07|VD_hangup.agi| -- channel = Local/6233228745@default-82b4,2
2006-09-14 19:27:07|VD_hangup.agi| -- context = default
2006-09-14 19:27:07|VD_hangup.agi| -- dnid = unknown
2006-09-14 19:27:07|VD_hangup.agi| -- enhanced = 0.0
2006-09-14 19:27:07|VD_hangup.agi| -- extension = h
2006-09-14 19:27:07|VD_hangup.agi| -- language = en
2006-09-14 19:27:07|VD_hangup.agi| -- priority = 2
2006-09-14 19:27:07|VD_hangup.agi| -- rdnis = unknown
2006-09-14 19:27:07|VD_hangup.agi| -- request = VD_hangup.agi
2006-09-14 19:27:07|VD_hangup.agi| -- type = Local
2006-09-14 19:27:07|VD_hangup.agi| -- uniqueid = 1158287202.72014
2006-09-14 19:27:07|VD_hangup.agi|AGI Variables: |1158287202.72014|Local/6233228745@default-82b4,2|h|Local|V0914192638000530318|
2006-09-14 19:27:07|VD_hangup.agi|DEBUG: NODEBUG
2006-09-14 19:27:07|VD_hangup.agi|VD_hangup : V0914192638000530318 Local/6233228745@default-82b4,2 2 530318
2006-09-14 19:27:07|VD_hangup.agi|-- VDhangup Local DEBUG: |PRI|V0914192638000530318|CANCEL|34|
2006-09-14 19:27:07|VD_hangup.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
2006-09-14 19:27:06|VD_hangup.agi|Perl Environment Dump:
2006-09-14 19:27:06|VD_hangup.agi|0|PRI-----NODEBUG-----0-----CANCEL----------
2006-09-14 19:27:06|VD_hangup.agi|AGI Environment Dump:
2006-09-14 19:27:06|VD_hangup.agi| -- accountcode =
2006-09-14 19:27:06|VD_hangup.agi| -- callerid = 6233888899
2006-09-14 19:27:06|VD_hangup.agi| -- calleridname = V0914192638000700486
2006-09-14 19:27:06|VD_hangup.agi| -- callingani2 = 0
2006-09-14 19:27:06|VD_hangup.agi| -- callingpres = 0
2006-09-14 19:27:06|VD_hangup.agi| -- callingtns = 0
2006-09-14 19:27:06|VD_hangup.agi| -- callington = 0
2006-09-14 19:27:06|VD_hangup.agi| -- channel = Local/6235360134@default-09cd,2
2006-09-14 19:27:06|VD_hangup.agi| -- context = default
2006-09-14 19:27:06|VD_hangup.agi| -- dnid = unknown
2006-09-14 19:27:06|VD_hangup.agi| -- enhanced = 0.0
2006-09-14 19:27:06|VD_hangup.agi| -- extension = h
2006-09-14 19:27:06|VD_hangup.agi| -- language = en
2006-09-14 19:27:06|VD_hangup.agi| -- priority = 2
2006-09-14 19:27:06|VD_hangup.agi| -- rdnis = unknown
2006-09-14 19:27:06|VD_hangup.agi| -- request = VD_hangup.agi
2006-09-14 19:27:06|VD_hangup.agi| -- type = Local
2006-09-14 19:27:06|VD_hangup.agi| -- uniqueid = 1158287201.71975
2006-09-14 19:27:06|VD_hangup.agi|AGI Variables: |1158287201.71975|Local/6235360134@default-09cd,2|h|Local|V0914192638000700486|
2006-09-14 19:27:06|VD_hangup.agi|DEBUG: NODEBUG
2006-09-14 19:27:06|VD_hangup.agi|VD_hangup : V0914192638000700486 Local/6235360134@default-09cd,2 2 700486
2006-09-14 19:27:06|VD_hangup.agi|-- VDhangup Local DEBUG: |PRI|V0914192638000700486|CANCEL|0|
2006-09-14 19:27:06|VD_hangup.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
-- Executing DeadAGI("Local/15056320132@default-9700,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------")
mysql> select * from vicidial_log WHERE phone_number="5056320132" && call_date LIKE "2006-09-15 ________";
Empty set (0.36 sec)
mysql>
mysql> select * from vicidial_log WHERE phone_number="5056328523" && call_date LIKE "2006-09-15 ________";
+--------------------+---------+---------+-------------+---------------------+-------------+------------+---------------+--------+------------+--------------+------+----------+-----------+
| uniqueid | lead_id | list_id | campaign_id | call_date | start_epoch | end_epoch | length_in_sec | status | phone_code | phone_number | user | comments | processed |
+--------------------+---------+---------+-------------+---------------------+-------------+------------+---------------+--------+------------+--------------+------+----------+-----------+
| 1158336722.3810101 | 886527 | 81 | 1003 | 2006-09-15 09:12:23 | 1158336743 | 1158336752 | 9 | RD | | 5056328523 | 205 | AUTO | N |
+--------------------+---------+---------+-------------+---------------------+-------------+------------+---------------+--------+------------+--------------+------+----------+-----------+
1 row in set (0.36 sec)
-- Executing DeadAGI("Local/15056328523@default-050f,2", "VD_hangup.agi|PRI-----NODEBUG-----16-----ANSWER-----20-----0") in new stack
### keepalive script for Asterisk updaters
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_update.pl
### keepalive script for Asterisk manager queue system
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_send_listen.pl
### keepalive script for Asterisk VICIDIAL autodial system
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDautodial.pl
### keepalive script for VICIDIAL remote agents
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDremote_agents.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
## adjust time on the server with ntp
30 * * * * /usr/sbin/ntpdate -u 18.145.0.30
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
### keepalive script for VICIDIAL predictive script
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDadapt.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 18.145.0.30
Users browsing this forum: No registered users and 24 guests