Page 1 of 1
Call Dispo URL
Posted:
Tue May 03, 2011 6:03 pm
by fibres
Hi
I am wondering how to check if my call dispo url is working.
I have a script which is I hit it from a browser with
http://server_ip/calldispo.php?lead_id=xxxxx&dispo="SALE" works fine.
When it is hit by the system it does not work.
In the campaign i have
http://server_ip/calldispo.php as the call dispo url
I am unsure as it is not displayed if it is an error in the code or if it is infact not hitting the script at all.
Any ideas on how to debug this?
Regards
Posted:
Tue May 03, 2011 6:37 pm
by williamconley
use the apache log on the machine expecting the "hit".
if you don't have access to it, modify the url temporarily to pull another page from the vicidial system to use the apache log on your vici server (those logs ARE on and accessible
)
Posted:
Tue May 03, 2011 7:02 pm
by mflorell
you can also point it to the local ./agc/vdc_call_url_test.php file which will log what it received to a file in the agc directory.
Posted:
Wed May 04, 2011 4:51 am
by fibres
Thanks for the tips guys.
Well firstly I found that the .htaccess on the folder with the script was blocking it from running so I had to allow the localhost in the ip based .htaccess
That still did not fix the issue. But now it was at least launching the script.
I tried matts suggestion and got the following in the text file
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Which to me seems as if the url is being hit but without and data being passed.
Any ideas how to fix this?
Regards
Posted:
Wed May 04, 2011 10:05 am
by mflorell
What exactly do you have in the Call Dispo URL field?
Posted:
Wed May 04, 2011 10:28 am
by fibres
http://server_ip/agc/vdc_call_url_test.php
Same as we have in the web form button. Well except calling a different .php file.
Do I need some variables on the end with the dispo link to make it pass what I want?
If so what do I need to add to send lead_id and dispo?
Regards
Posted:
Wed May 04, 2011 12:16 pm
by mflorell
Posted:
Wed May 04, 2011 1:47 pm
by fibres
That would be why it didnt work!
Working now!
Thanks a lot MATT
Keep up all your great work!!
Re: Call Dispo URL
Posted:
Thu Jan 17, 2013 7:37 am
by mnhbanagare
Hi please share the code . I need to implement the same
Re: Call Dispo URL
Posted:
Thu Jan 17, 2013 10:10 am
by brett05
same thing
i need the same script of php mail sender with dispo call url that i can send just the "SALE" disposition with lead information to mail
Re: Call Dispo URL
Posted:
Thu Jan 17, 2013 7:35 pm
by williamconley
look in /srv/www/htdocs/agc