Manual dialing: ability to set max dial attempts

All installation and configuration problems and questions

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

Manual dialing: ability to set max dial attempts

Postby tchristeas » Mon Mar 03, 2025 1:00 pm

Hello, for manual dialing, i have Manual Alt Num Dialing enabled, however the agent has the ability to dial the same lead indefinitely without observing any max dial attempts similar to auto dial campaigns when the following settings are enabled...

Auto Alt-Number Dialing
Auto Alt-Number Dialing Threshold

Is there a way to do that? I saw one topic whereby it was suggested to use the Dispo Call URL setting (I added space in the URL so that it would fully display below)....

I setup the following...
VARhttps://myserver.com /agc/dispo_move_list.php?lead_id=--A--lead_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&new_list_id=111&called_count=--A--called_count--B--&called_count_trigger=3&lead_age=0&log_to_file=1

I checked the URL log and got the following error...

https://myserver.com /agc/dispo_move_list.php?lead_id=755&dispo=SPL&user=agentdemo1&pass=dcBHL3XLqB&new_list_id=111&called_count=1&called_count_trigger=3&lead_age=0&entry_date=2025-02-25+16%3A00%3A20&exclude_status=Y&sale_status=SALE---XFER&reset_dialed=Y&log_to_file=1

Wed, 26 Feb 2025 17:23:08 -0500|PHP ERROR: Type=2 - Message=file(https://myserver.com/agc /dispo_move_list.php?lead_id=755&dispo=SPL&user=agentdemo1&pass=dcBHL3XLqB&new_list_id=111&called_count=1&called_count_trigger=3&lead_age=0&entry_date=2025-02-25+16%3A00%3A20&exclude_status=Y&sale_status=SALE---XFER&reset_dialed=Y&log_to_file=1): failed to open stream: operation failed - Line=17023 - File=/srv/www/htdocs/agc/vdc_db_query.php


https://myserver.com /agc/dispo_move_list.php?lead_id=756&dispo=PIF&user=agentdemo1&pass=dcBHL3XLqB&new_list_id=111&called_count=1&called_count_trigger=3&lead_age=0&log_to_file=1

Wed, 26 Feb 2025 17:33:35 -0500|PHP ERROR: Type=2 - Message=file(https://myserver.com /agc/dispo_move_list.php?lead_id=756&dispo=PIF&user=agentdemo1&pass=dcBHL3XLqB&new_list_id=111&called_count=1&called_count_trigger=3&lead_age=0&log_to_file=1): failed to open stream: operation failed - Line=17023 - File=/srv/www/htdocs/agc/vdc_db_query.php
tchristeas
 
Posts: 14
Joined: Tue Aug 27, 2024 2:23 pm

Re: Manual dialing: ability to set max dial attempts

Postby williamconley » Mon Mar 03, 2025 1:30 pm

failed to open stream: operation failed - Line=17023 - File=/srv/www/htdocs/agc/vdc_db_query.php


1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (11.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (EG: vSphere Version 6.X.X). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox 11.X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC Mbd | Core2Quad Q6600 CPUs

3) It seems likely that the file listed in the error message is missing or has the wrong permissions (which is what "failed to open means" literally). But we know nothing of your installation so all we can really do is repeat what the server said. Does that file exist? Can the web service access that file?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20410
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Manual dialing: ability to set max dial attempts

Postby tchristeas » Mon Mar 03, 2025 2:24 pm

Hi William,
Here are the server details...

Vicibox 11.0.1 from .iso (ViciBox_v11.x86_64-11.0.1.iso) | Vicidial: 2.14-710c BUILD: 240830-1112 |Asterisk: 16.30.0-vici Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation |

Bare metal server with the following
32 GB Ram
500 GB disk space
Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
12 CPU(s)
tchristeas
 
Posts: 14
Joined: Tue Aug 27, 2024 2:23 pm

Re: Manual dialing: ability to set max dial attempts

Postby williamconley » Mon Mar 03, 2025 5:28 pm

Stock install. Excellent. Which means that location should be correct for that file. Is it there? Can the web service access it?
Code: Select all
ll /srv/www/htdocs/agc/vdc_db_query.php
cat /srv/www/htdocs/agc/vdc_db_query.php

ll gives permissions
cat gives content
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20410
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Manual dialing: ability to set max dial attempts

Postby tchristeas » Mon Mar 03, 2025 8:59 pm

Yes, web server can access the file.. Permissions are 755 (root:root owner)
tchristeas
 
Posts: 14
Joined: Tue Aug 27, 2024 2:23 pm

Re: Manual dialing: ability to set max dial attempts

Postby carpenox » Tue Mar 04, 2025 9:37 am

try setting perms to the apache user, for leap its wwwrun:www or redhat its apache:apache
Alma Linux 9.5 | SVN Version: 3919 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2581
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Manual dialing: ability to set max dial attempts

Postby williamconley » Wed Mar 05, 2025 12:40 pm

if the file is there, apache can access it, but you're getting an error stating "failed to open stream", there's something else going on. perhaps look at the file/line number provided to find out what is going on so we can find the real failure.

what process is requesting this url to cause the failure? Is it a javascript/AJAX request directly from the agent's browser session?

you might consider reconstructing the full url in your web browser to see what the result is without having to make a call.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20410
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 64 guests