Hi,
I known that in order to add agents to a queue I can use either agentlogin() or agentcallbacklogin() commands, and that I can do dialing an extension where I can setup that command.
But… How can I do it if I am doing from Web ? I want to do a simple application where users, from a web, can log, as operators, and say they are ready to take calls (or change their status, to take a break, for example, and have that break recorder)… Problem is that if I can the agentlogin() or agentcallbacklogin() from an AGI from a Web Page, it would try to assing the agent to the IP that made the petition…
On my case, the agent can do the log-in from the browser on their PC, that has his own IP, but wants to receive the calls from a hardphone (not softphone), that is not sharing that IP…
Can I call agentlogin or agentcallbacklogin with arguments, specifying WHERE the agent should be loged ? Any hint of how to do that ?