C# vicidial agent interface using API

Posted:
Thu Nov 09, 2023 2:38 pm
by Op3r
Hello,
as strange as it sounds PHP was deemed not suitable for a tier 1 application in a company im working with. So we thought about just writing the interface using the API of vicidial and write it on c#. is the agent api capable of achieving this?
Re: C# vicidial agent interface using API

Posted:
Thu Nov 09, 2023 3:12 pm
by carpenox
Technically, it should be. AGI is just to interact with Asterisk and the database. That's what seems logical to be anyways.
Re: C# vicidial agent interface using API

Posted:
Thu Dec 07, 2023 9:14 am
by bbakirtas
I think it will be difficult with the API, agent login and triggers may be a problem.
Re: C# vicidial agent interface using API

Posted:
Wed May 07, 2025 7:20 am
by williamconley
Any language CAN be used to create a Vicidial Agent Interface. But since C# is still not an executable and must be compiled at runtime, it's more of a "we don't understand php, HTML, Javascript" than "not suitable for tier 1". Note that it would decrease the likelihood of an agent hacking their javascript in their browser, which is definitely a plus if you have local hacking as a concern. Using a packet capture system to grab and replay output when not using SSL will show you that any applicaiton (compiled or not) is really capable of generating that output client-side. The same applies to the php and perl packages on the server. Just know that there's a couple million dollars worth of time in that code already. Not going to be quick or simple.
Even the amount of work necessary to re-create the Vicidial Agent screen is not light.
Also, The Vicidial Group pushes updates daily. So you'll be behind a week after you've finished writing. As long as you've either no need of upgrading or have a team that can upgrade the agent interface at intervals (annually?) there's no reason you can't re-write the agent screen in C#, C++, JAVA or any other language capable of sending the same net packets the agent screen sends.
Now, if your problem is that the admins-that-be have determined IIS to be the required web service and asp.net the only "certified/allows/whatever" technology because they've been praying to bill gates for too long, that presents a problem. Vicidial on IIS *is* technically possible, but it will need to communicate with the MySQL database server. Bit of a fun conversion system. I'd love to see it. Biggest challenge: To date every client who has "priced out" any dialer system with Vicidial as one option and ANYTHING that runs on windows has chosen Vicidial on Linux while laughing hysterically at the price difference between the two. The setup price difference is fairly notable, but the ongoing licensing fees are ... nonexistent in the Vicidial world.