API update_list [SOLVED]

All installation and configuration problems and questions

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

API update_list [SOLVED]

Postby lmoreira » Wed Mar 07, 2018 7:48 am

HI Guys,

Setup:
ViciBox v.8.x-trunk | VERSION: 2.14-650a | BUILD: 180111-1544 | Asterisk 11.23.1-vici | Cluster 8+ servers | No Digium/Sangoma Hardware | No Extra Software After Installation
------------------------------------------------------------------------------------

I'm not sure it's a bug or my mistake. I'm trying to reset list using Non-Agent API.

Sending this URL:
http://server-ip/vicidial/non_agent_api ... set_list=Y

I got this error:
ERROR: update_list LIST DOES NOT EXIST: |api|4016

Yep, list exist! I'm wondering where is the catch.
Last edited by lmoreira on Wed Mar 07, 2018 9:24 am, edited 1 time in total.
--
Luciano Moreira
Consultor ViciDial no Brasil | Web: www.logictelecom.com.br | Telegram: https://t.me/luciano_logictelecom | ViciBox V9.x
lmoreira
 
Posts: 54
Joined: Wed Oct 01, 2008 6:51 pm

Re: API update_list

Postby blackbird2306 » Wed Mar 07, 2018 8:42 am

Either it's simple and this list_id is not correct/existing or the api user group is restricted as not allowed.
Make sure the api user is in a group, which has setting "Allowed Campaigns" set to ALL-CAMPAIGNS or the api user is in a group, which has this setting as allowed campaigns to which the list belongs.
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: API update_list [SOLVED]

Postby lmoreira » Wed Mar 07, 2018 9:23 am

blackbird2306 wrote:Either it's simple and this list_id is not correct/existing or the api user group is restricted as not allowed.
Make sure the api user is in a group, which has setting "Allowed Campaigns" set to ALL-CAMPAIGNS or the api user is in a group, which has this setting as allowed campaigns to which the list belongs.


BlackBird, you're wright. I changed it's group to ALL-CAMPAIGNS and it's working now.
--
Luciano Moreira
Consultor ViciDial no Brasil | Web: www.logictelecom.com.br | Telegram: https://t.me/luciano_logictelecom | ViciBox V9.x
lmoreira
 
Posts: 54
Joined: Wed Oct 01, 2008 6:51 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 134 guests