by jatomusic » Fri Mar 06, 2015 6:15 pm
Hello, First I'd like to say this is one amazing community. The fact that untill now I had not needed to post shows how much involvement everyone has.
I'm having a very frustrating issue. I am attempting to utilize the non agent api. My use is to automatically update our clients on updates from our crm with voice broadcast. So I tried first to just test resetting a list
I tried this
/vicidial/non_agent_api.php?source=test&user=XXXX&pass=XXXX&function=update_list&list_id=501&delete_leads=Y
and it returend list not found, although I know the list exist and its name is proper
ERROR: update_list LIST DOES NOT EXIST: |XXXX|501
So just for testing I tried to create a list.
/vicidial/non_agent_api.php?source=test&function=add_list&user=XXXX&pass=XXXX&list_id=1101&list_name=Test+API+list&campaign_id=PSLS
I get this.
ERROR: add_list CAMPAIGN DOES NOT EXIST: |XXXX|PSLS
What am I overlooking. I know the campaign and list both exist, this happens regardless of campaig nor list i try to change. I have not tested other api code.
This has had me going crazy for a while.
I enabled non agent api access for the user, and for testing enabled all the options except the ones that limited the user, I even checked the db for the user incase there were fields unavailable.
I do not understand why it returns that the list and campaign do not exist. Does anyone have any experience in this?
I totally cannot remember the required system stats to post, I see them all the time and now I just cant remember. But I did build the system from goautodial ce 3.3
Last edited by
jatomusic on Tue Mar 10, 2015 10:36 am, edited 1 time in total.
Vicibox 8.0.1 from .iso | Vicidial 2.14-647a Build 171229-2309 | Asterisk 11.25.3-vici | Cluster | No Digium/Sangoma | No Extra Software |
Dedicated Servers | ~50 Agents | DB 500+ Agents, Web+ 2voice standard | backup to AWS S3