Page 1 of 1

Auto Dialing is not working, manual dial works

PostPosted: Thu Aug 02, 2007 9:34 am
by eclise123
Hi

Manual dialing is perfectly ok, But when i use auto dialing call gets through but as soon as customer pickup the phone it hangup, and call disconnected. I have checked Ntpd, ASTautodial.pl, /var/log/astguiclient, I also run AST_auto_dial.pl file manually. But nothing happen, Please Help :(

I have followed the SCRATCHED INSTALLATION, I install vicidial 10 times but every time I get the same error in auto dialing. No data is tranfered to agent screen and call disconnect in 5 sec.

I hope somebody will help me ...

Thanks

Eclise

PostPosted: Thu Aug 02, 2007 9:51 am
by Op3r
asterisk cli output?

screen -x output?

agiout?

PostPosted: Fri Aug 03, 2007 1:43 am
by eclise123
Asterisk CLI output...


== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/91442081445522@default-2ff6,2", "agi://127.0.0.1:457 7/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/91442081445522@default-2ff6,2", "sip/91442081445522 @SIPtrunk|55|o") in new stack
-- Called 91442081445522@SIPtrunk
-- SIP/SIPtrunk-081b7fa8 is making progress passing it to Local/91442081445522@default-2ff6,2
-- Executing AGI("Local/91442081445522@default-2ff6,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/91442081445522@default-2ff6,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/91442081445522@default-2ff6,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/91442081445522@default-2ff6,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/91442081445522@default-2ff6,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/91442081445522@default-2ff6,1'
-- Executing DeadAGI("Local/91442081445522@default-2ff6,1", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/91442081445522@default-2ff6,1", "VD_hangup.agi|PRI-----NODEBUG-----16---------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
== Spawn extension (default, 91442081445522, 2) exited non-zero on 'Local/91442081445522@default-2ff6,2'
-- Executing DeadAGI("Local/91442081445522@default-2ff6,2", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/91442081445522@default-2ff6,2", "VD_hangup.agi|PRI-----NODEBUG-----16-----ANSWER-----16-----3") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0


Screen -x Output

root@voxtel:~# screen -x
There are several suitable screens on:
4713.asterisk (Detached)
4879.ASTupdate (Detached)
4882.ASTsend (Detached)
4885.ASTlisten (Detached)
4660.ASTVDadapt (Detached)
4662.ASTfastlog (Detached)
4891.ASTVDremote (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.


Hope somebody help me..

PostPosted: Fri Aug 03, 2007 2:29 am
by eclise123
When i run AGI-out it show me error:

root@voxtel:/var/lib/asterisk/agi-bin# /var/lib/asterisk/agi-bin/call_log.agi

DBD::mysql::db do failed: Duplicate entry '0.0000000' for key 1 at /var/lib/asterisk/agi-bin/call_log.agi line 277, <STDIN> line 1.

PostPosted: Fri Aug 03, 2007 2:58 am
by eclise123
When i run AGI-out it show me error:

root@voxtel:/var/lib/asterisk/agi-bin# /var/lib/asterisk/agi-bin/call_log.agi

DBD::mysql::db do failed: Duplicate entry '0.0000000' for key 1 at /var/lib/asterisk/agi-bin/call_log.agi line 277, <STDIN> line 1.


mysql> use asterisk;
Database changed
mysql> select * from call_log;
+--------------------+-------------------------------------+---------------+-------+------------+----------------+---------------+----------------------+---------------------+-------------+---------------------+------------+---------------+---------------+
| uniqueid | channel | channel_group | type | server_ip | extension | number_dialed | caller_code | start_time | start_epoch | end_time | end_epoch | length_in_sec | length_in_min |
+--------------------+-------------------------------------+---------------+-------+------------+----------------+---------------+----------------------+---------------------+-------------+---------------------+------------+---------------+---------------+
| 1186127468.1900001 | Local/91442081445522@default-9821,2 | | Local | 10.0.0.240 | 91442081445522 | | V0803125108000001621 | 2007-08-03 12:51:08 | 1186127468 | 2007-08-03 12:51:23 | 1186127483 | 15 | 0.25 |
| 1186127468.1800001 | Local/91442081445522@default-9821,1 | | Local | 10.0.0.240 | 8365 | | V0803125108000001621 | 2007-08-03 12:51:20 | 1186127480 | 2007-08-03 12:51:22 | 1186127482 | 2 | 0.03 |
| 1186127486.2200000 | Local/91442081445522@default-2392,2 | | Local | 10.0.0.240 | 91442081445522 | | V0803125126000001622 | 2007-08-03 12:51:26 | 1186127486 | 2007-08-03 12:51:58 | 1186127518 | 32 | 0.53 |
| 1186127486.2100000 | Local/91442081445522@default-2392,1 | | Local | 10.0.0.240 | 8365 | | V0803125126000001622 | 2007-08-03 12:51:55 | 1186127515 | 2007-08-03 12:51:57 | 1186127517 | 2 | 0.03 |
| 1186127544.2700000 | Local/91442081445522@default-a2bf,2 | | Local | 10.0.0.240 | 91442081445522 | | V0803125224000001623 | 2007-08-03 12:52:24 | 1186127544 | 2007-08-03 12:52:35 | 1186127555 | 11 | 0.18 |
| 1186127544.2600000 | Local/91442081445522@default-a2bf,1 | | Local | 10.0.0.240 | 8365 | | V0803125224000001623 | 2007-08-03 12:52:34 | 1186127554 | 2007-08-03 12:52:36 | 1186127556 | 2 | 0.03 |
| 1186127559.3000000 | Local/91442081445522@default-04f9,2 | | Local | 10.0.0.240 | 91442081445522 | | V0803125239000001624 | 2007-08-03 12:52:39 | 1186127559 | 2007-08-03 12:52:53 | 1186127573 | 14 | 0.23 |
| 1186127559.2900000 | Local/91442081445522@default-04f9,1 | | Local | 10.0.0.240 | 8365 | | V0803125239000001624 | 2007-08-03 12:52:50 | 1186127570 | 2007-08-03 12:52:53 | 1186127573 | 3 | 0.05 |
| 1186127577.3299999 | Local/91442081445522@default-0169,2 | | Local | 10.0.0.240 | 91442081445522 | | V0803125257000001625 | 2007-08-03 12:52:57 | 1186127577 | 2007-08-03 12:53:09 | 1186127589 | 12 | 0.20 |
| 1186127577.3199999 | Local/91442081445522@default-0169,1 | | Local | 10.0.0.240 | 8365 | | V0803125257000001625 | 2007-08-03 12:53:06 | 1186127586 | 2007-08-03 12:53:09 | 1186127589 | 3 | 0.05 |
| 1186127592.3599999 | Local/91442081445522@default-d6cc,2 | | Local | 10.0.0.240 | 91442081445522 | | V0803125312000001626 | 2007-08-03 12:53:12 | 1186127592 | 2007-08-03 12:54:07 | 1186127647 | 55 | 0.92 |
| 0.0000000 | | | | 10.0.0.240 | | | | 2007-08-03 12:53:51 | 1186127631 | 0000-00-00 00:00:00 | 0 | 0 | 0.00 |
+--------------------+-------------------------------------+---------------+-------+------------+----------------+---------------+----------------------+---------------------+-------------+---------------------+------------+---------------+---------------+
12 rows in set (0.00 sec)

PostPosted: Sun Aug 05, 2007 4:21 pm
by Polis_ttt
try to re-install all your perl-modules and look for errors. Install everything in cpan as told in "SUBPHASE 3.2.4" to times when you got it to work, then install asterisk-perl-module 0.08 as in "SUBPHASE 3.2.5". Then try to reload everything and try again, looks like some problem with database-perl-modules in your case. Maby some packages on your server that isn't installed correct. What distrubution of linux/unix do you got your server installed on?

PostPosted: Mon Aug 06, 2007 12:31 am
by eclise123
Thanks for reply, I installed it and then re-installed it many times, While during installation I donot receive any errors. SQL & Perl every module is loaded and working. I'm using Slackware 10.2.

But I really don't understand why Auto-dialing is not working.


any more sugesstions..?

PostPosted: Tue Aug 07, 2007 4:19 am
by mflorell
Attach to the ASTVDauto screen and post some output.

Make sure your campaign is set to RATIO with a dial_level of 1, and that you have no entries in vicidial_auto_calls when you do this.