Script that would remotely log a user into a device

Hi,

Any tips where to start. Would this talk to the DB directly?

Thanks.

the FreePBX AGI script user_login_logout.agi does this.

You could port that script so that it does everything it needs to through the manager, and any other tweaks necessary and it would do what you need.

Ah, perfect thanks.

I need just the same, but i have troubles with porting this script.
Have succeed? Can you help?