Vicidial Api and Ajax Call

Discussions about development of VICIDIAL and astGUIclient

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

Vicidial Api and Ajax Call

Postby TrivandAdmin » Mon Aug 04, 2014 4:07 am

Hi,

I have made an vicidial api request as below and its working fine
/agc/api.php?source=test&user=1000&pass=trivand123&agent_user=1000&function=call_agent&value=CALL.

Its described in vicidial that we need to make an ajax request to vicidial to make the system online. So i have created an ajax post to below url. But below url needed a session _name and conf_exten as mandatory fields

/agc/conf_exten_check.php

Please help me how can i get session_name and conf_exten through api.
TrivandAdmin
 
Posts: 3
Joined: Mon Aug 04, 2014 3:52 am

Re: Vicidial Api and Ajax Call

Postby mflorell » Mon Aug 04, 2014 6:49 am

The agent has to be logged in to the agent interface for any of the Agent API functions to work.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Development

Who is online

Users browsing this forum: No registered users and 27 guests