Page 1 of 1

VDADtransfer does not connect up call

PostPosted: Wed Sep 17, 2008 7:37 am
by pgalfi
I have completed installation of the latest astguiclient (2.0.4.1rc4) following the scratch install instructions. I started off with CentOS 5.2. I have the system up and running, but I have an issue with the predictive dialer. What happens is that once the agent logs in the system starts to dial the numbers but when a call is answered the VDADtransfer.agi does not connect it up to the agent, but instead hangs up the call. There is no error reported in the asterisk CLI. Based on what is logged in the FASTagiout log I could determine that in the agi script itself there is this section which basically exits the script:
if ( ($channel =~ /Local/i) && ($AST_ver !~ /^1\.0\.8|^1\.0\.9/) )
{
if ($AGILOG) {$agi_string = "+++++ VDAD START LOCAL CHANNEL: EXITING- $priority"; &agi_output;}
if ($priority > 2) {sleep(1);}
exit;
}
Since all the calls that are being generated by the dialer have "Local" at the beginning the script basically exits on all. Once I commented out this section of the script it works and people are getting connected up with the calls that are answered.
But there must be something else wrong that is causing this and I would like to sort that out instead of the above.
Let me know if anyone has any suggestion.
(Note: earlier I installed using the vicidialNOW iso and the same problem occured.)
My asterisk version is 1.2.24, os is CentOS 5.2. The machine is a quad core PowerEdge T300.

PostPosted: Wed Sep 17, 2008 8:35 am
by mflorell
That's not the way to fix the problem, and doing that will result in other problems. I would recommend using the sip-silence playback in your 8365 exten as is shown in the example extensions.conf files.

Also, make sure you have the 'o' flag in the Dial command.

PostPosted: Fri Feb 27, 2009 12:19 pm
by binbash
I had this same problem ... i tried the 'o' and the sip-silence but doesnt work. I tried the SVN trunk for vicidial and followed the instructions on the scratch install, ... i noticed that ...

1.) the VDADtransfer.agi ... is not copied to the /var/lib/asterisk/agi-bin directory during installation as seen on an error when i make an autodial call ...

2.) the part where we

\. /usr/share/astguiclient/MySQL_AST_CREATE_tables.sql
or you may need to run this if you get an error:
\. /usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql

and the instructions after that, ... will break the installation afterwards ...

It would result in erorrs about columns not equal to the one inserted by the agi file ...

and that resulted to the autodial problem i had encountered where it just dials, .. it connects, .. but doesnt transfer to the agent and just disconnects call .. then after wards it spits out a bunch of errors like the insert error and the VDADtransfer.agi doesnt exist


i hope this helps ... i hope the new version that is in the trunk comes out soon as a release version.

PostPosted: Fri Feb 27, 2009 1:35 pm
by mflorell
Did you read the UPGRADE document?

PostPosted: Fri Feb 27, 2009 2:09 pm
by binbash
It was a fresh install for me .... and i got those errors

PostPosted: Fri Feb 27, 2009 2:31 pm
by mflorell
If this was a true fresh install then you would not be looking for VDADtransfer.agi at all, it is not part of the SVN trunk codebase or documentation or default conf files at all.

PostPosted: Sat Feb 28, 2009 7:46 am
by binbash
Yup true, ... i went looking for it .. only when after my fresh install, i got the error about not finding vdadtransfer.agi, ... i found it in the OLD folder, .. and kept me thinking that it's no longer used in the trunk version.

It puzzled me that the system was looking for it when in fact its no longer used in the SVN Trunk .

PostPosted: Sat Feb 28, 2009 8:20 am
by mflorell
The system would only look for it if you were using an old dialplan.

PostPosted: Sat Feb 28, 2009 10:40 am
by binbash
But i'm using the one in the scratch install .....

Anyway, .. i'll try to reinstall again on a new server ... and see where it takes me, .. anyway.. thanks a lot matt for always taking the time to answer support questions. I always appreciate that you always answer all my posts. .. on the side as Offtopic, .. could i ask when is the next upcoming version going to be released, .. and someone refered me to vicidial now, but i found one post by you that code has not yet been shared back to the vicidial project, is this true? I haven't tried it yet, and will possibly will do try. but i always treasure your opinion.

As for New installations, I always use Centos, .. so i'd appreciate your recommendation to the best OS to use for vicidial.

Thanks

PostPosted: Sat Feb 28, 2009 10:57 am
by mflorell
I can't seem to find VDADtransfer.agi anywhere in the SVN trunk SCRATCH_INSTALL, can you tell me where you saw it?

As for a distro to use I would recommend Ubuntu, OpenSuse or Slackware. We are getting close to putting out another release and we will have new install instructions included for OpenSuse and Ubuntu in that release.

As for VICIDIALnow, it is true that they have not released some of their alterations and they have not responded to the posts that question them about this.

PostPosted: Tue Nov 03, 2009 10:24 am
by ramaseshi
Hello

I am facing same problem in Vicidial Now CE 1.2 please suggest me solution. Calls are not connected to agents. SIP trunk calls are disconnected.