Page 1 of 1

Vicidial DISPO URL

PostPosted: Fri Oct 12, 2018 3:38 am
by rbbumanlag
Hi Vicidial,

Specification: ViciBox 8.0.1.(iso) | Asterisk 11.25.3-vici | VERSION: 2.14-682a BUILD: 180807-1653 | Cluster Setup | Intel(R) Xeon(R) CPU E5-2680 V3 @ 2.5GHz | 16GB DDR4 RAM | 1TB (SAS) 10kRPM |No Digium/Sangoma Hardware | No Extra Software After Installation | Virtualized on XenServer | SVN Version 3019

Im trying to use vicidial dispo url.

VARhttps://test.example.com/test.php?le ... dispo--B--

When I am using below url for webform, it is working.
VARhttps://test.example.com/test.php?le ... ename--B--

I am getting below error on the vicidial_uri_log url_response field for dispo url.

"https://test.example.com/test.php.php?lead_ID=92013&phone=0999999&recording_filename=DEMO_testuser_20181012-102634_0999999&duration=23&dispo=NOANS" "Fri, 12 Oct 2018 10:27:00 +0800|PHP ERROR: Type=2 - Message=file(https://test.example.com/test..php?lead ... ispo=NOANS): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
- Line=14061 - File=/srv/www/htdocs/agc/vdc_db_query.php"

I believe there is no problem on the webserver side. Im thinking if it something got to do with https on test.example.com?

Do you have any idea?

Thanks!

Re: Vicidial DISPO URL

PostPosted: Fri Oct 12, 2018 3:50 am
by dspaan
Check the apache log on the webserver where you want to open this form. It could be what you say or it could be a permissions issue.

Re: Vicidial DISPO URL

PostPosted: Sat Oct 13, 2018 9:08 pm
by rbbumanlag
Hi dspaan,

Thank you for the suggestion. :)
There were no error on the logs of the webserver.
Also I am using sames test.php script. It runs on webform but does not run in dispourl.

Thanks!

Re: Vicidial DISPO URL

PostPosted: Tue Oct 16, 2018 11:55 pm
by rbbumanlag
To provide an update.

DispoURL works on http, when I use https the call of the script is failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
- Line=14061 - File=/srv/www/htdocs/agc/vdc_db_query.php"

Thanks!