VICIDIAL not dialing

All installation and configuration problems and questions

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

VICIDIAL not dialing

Postby shawno » Mon Sep 24, 2007 6:04 pm

Hi All,

I've read through the FAQ and searched on the forum before posting here. I'm having a bit of trouble getting VICIDIAL to start dialing from the campaign hopper.

My asterisk configuration is all set properly, as I can successfully dial out by manually dialling the keys on the SIP phone. When I try and start a manual dial through the astGUI interface, the system times out after 50 seconds waiting for a ring. I'm not really sure how to debug this at all, could someone point me in the right direction of where to start figuring out what is wrong? Thanks in advance.

-Shawn
shawno
 
Posts: 18
Joined: Mon Sep 24, 2007 3:03 pm

Postby ramindia » Tue Sep 25, 2007 4:33 am

Hi

yes that is kept in the extension.conf

if no one answer after 50sec, the call will disconnect..

try looking asterisk cli and vicidial log to get some information

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby shawno » Tue Sep 25, 2007 9:29 am

Hi ram,

Upon examining the Asterisk CLI there's no output at all when I try and dial from the GUI.

When I dial manually from the SIP Phone, I get this output:

Code: Select all
 Executing [99961117@internal:1] Dial("SIP/ryan-082230b8", "Zap/4/9961117") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called 4/9961117
    -- Zap/4-1 is proceeding passing it to SIP/ryan-082230b8
    -- Zap/4-1 is ringing
    -- Zap/4-1 answered SIP/ryan-082230b8
    -- Hungup 'Zap/4-1'
  == Spawn extension (internal, 99961117, 1) exited non-zero on 'SIP/ryan-082230b8'
    -- Executing [h@internal:1] DeadAGI("SIP/ryan-082230b8", "agi://127.0.0.1:4577/call_log") in new stack
[Sep 25 11:19:54] WARNING[30997]: res_agi.c:216 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused


That connection refused, could that be an issue? Still, nothing happens when I dial from the GUI client...
shawno
 
Posts: 18
Joined: Mon Sep 24, 2007 3:03 pm

Postby ramindia » Tue Sep 25, 2007 12:03 pm

Hi

== Spawn extension (internal, 99961117, 1) exited non-zero on 'SIP/ryan-082230b8'
-- Executing [h@internal:1] DeadAGI("SIP/ryan-082230b8", "agi://127.0.0.1:4577/call_log") in new stack
[Sep 25 11:19:54] WARNING[30997]: res_agi.c:216 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused


check manager.conf

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby shawno » Tue Sep 25, 2007 12:47 pm

ramindia wrote:Hi
check manager.conf
ram


Hi ram,

Here is my manager.conf:

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


It is exactly as the SCRATCH_INSTALL depicts.

It seems to me that VICIDIAL isn't properly connecting to my Asterisk server. is there anyway to tell this? I see the cron jobs running fine:

Code: Select all
 == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1


Not sure what to do next...
shawno
 
Posts: 18
Joined: Mon Sep 24, 2007 3:03 pm

Postby shawno » Tue Sep 25, 2007 1:26 pm

Ok something strange is happening...

Once I engage dialing from the VICIDIAL Agent GUI, the system says the dialing timed out. (Which is true, nothing happens in the Asterisk CLI).

But when I run AST_manager_send.pl --debug from the bash prompt it goes through a series of messages and then the extension rings. It calls the external number as well. So my question is, do I not have the proper perl script running to allow the GUI to make calls? Here is my crontab -l output:

Code: Select all
root@asterisk:/usr/share/astguiclient# crontab -l
### 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 --post                                              al-code-gmt

### 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 18.145.0.30 2>/dev/null 1>&2

### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl


Could someone shed light on this for me?
shawno
 
Posts: 18
Joined: Mon Sep 24, 2007 3:03 pm

Postby enjay » Tue Sep 25, 2007 4:36 pm

Sounds like your scripts may not be running?

What is the output of your screen -x

Art
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah


Return to Support

Who is online

Users browsing this forum: No registered users and 151 guests