Can the Vicidial API be used to login to Vicidial?

Discussions about development of VICIDIAL and astGUIclient

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

Can the Vicidial API be used to login to Vicidial?

Postby mrgunston » Tue Oct 11, 2016 10:01 pm

I am building a customised interface for the Vicidial Agent Screen using PHP. I found the following information regarding the Vicidial API: http://vicidial.org/docs/AGENT_API.txt
Has anyone ever successfully used the API to log an agent into Vicidial and then begin calling? I cannot find any information on this.
mrgunston
 
Posts: 33
Joined: Tue Oct 11, 2016 9:51 pm

Re: Can the Vicidial API be used to login to Vicidial?

Postby mflorell » Wed Oct 12, 2016 5:52 am

The vicidial agent interface requires that the vicidial.php page and it's javascript be running. There is no method to log in outside of using the vicidial.php page. The Agent API is intended to control a vicidial.php session, not to replace it.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Can the Vicidial API be used to login to Vicidial?

Postby williamconley » Thu Mar 02, 2017 4:48 pm

That being said: if you put vicidial.php in an iframe the agent can't see, it's technically possible. I've just never seen anyone try it. It may require some minor code changes.
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: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Can the Vicidial API be used to login to Vicidial?

Postby mflorell » Thu Mar 02, 2017 5:43 pm

William, that's exactly what the "extras/crm_iframe" code included in the VICIdial codebase does, and we have several clients using it :)
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Can the Vicidial API be used to login to Vicidial?

Postby williamconley » Thu Mar 02, 2017 7:31 pm

Excellent. That was a cool result. All because somebody spammed this thread and got deleted (but it got me here).
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: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Development

Who is online

Users browsing this forum: No registered users and 36 guests