Page 1 of 1

Can the Vicidial API be used to login to Vicidial?

PostPosted: Tue Oct 11, 2016 10:01 pm
by mrgunston
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.

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

PostPosted: Wed Oct 12, 2016 5:52 am
by mflorell
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.

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

PostPosted: Thu Mar 02, 2017 4:48 pm
by williamconley
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.

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

PostPosted: Thu Mar 02, 2017 5:43 pm
by mflorell
William, that's exactly what the "extras/crm_iframe" code included in the VICIdial codebase does, and we have several clients using it :)

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

PostPosted: Thu Mar 02, 2017 7:31 pm
by williamconley
Excellent. That was a cool result. All because somebody spammed this thread and got deleted (but it got me here).