VICIDIAL Api support?

Any and all non-support discussions

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

VICIDIAL Api support?

Postby munam.nauman » Mon May 31, 2021 5:56 am

Hi
How can i get VICIDIAL calls data by Api?
munam.nauman
 
Posts: 2
Joined: Fri May 28, 2021 5:19 am

Re: VICIDIAL Api support?

Postby carpenox » Mon May 31, 2021 10:15 am

refer to http://www.vicidial.org/docs/NON-AGENT_API.txt for info, i have a few examples on my blog in the signature below, if you cant figure it out let me know and ill add that function to the API functions on the article in refernce to vicidial API's

https://cyburityllc.com/?p=1366

I hope this helps

-nox
Leap 15.2 | Version: 2.14-822a | BUILD: 210715-1248| SVN Version: 3483 | DB Schema Version: 1639 | Asterisk 13.38.2-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1483
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: VICIDIAL Api support?

Postby munam.nauman » Tue Jun 01, 2021 1:11 am

Hi Sir when i want to get total_calls from using api an error accurs "ERROR: NO FUNCTION SPECIFIED"
I did not see any option in VICIdial to add function
MY VICIdial version is 2.9-441a .
munam.nauman
 
Posts: 2
Joined: Fri May 28, 2021 5:19 am

Re: VICIDIAL Api support?

Postby carpenox » Tue Jun 01, 2021 5:03 am

Did you read the non_agent_api? there is no function for "total_calls" - try one of the following, and READ the instructions :-p

call_status_stats - report on number of calls made by campaign and ingroup, with hourly and status breakdowns
call_dispo_report - call disposition breakdown report

let me know if you figure it out, if not ill add some basic instructions to the api article I have with examples, just post a comment on my blog and itll get done
Leap 15.2 | Version: 2.14-822a | BUILD: 210715-1248| SVN Version: 3483 | DB Schema Version: 1639 | Asterisk 13.38.2-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1483
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 48 guests