Hot-desk configuration in asterisk

I want to implement hot-desking in asterisk. I have people working on rotating shifts (call centers), or I have people that don’t always work at the same desk.

For this I have gone thorough the following link.
http://etel.wiki.oreilly.com/wiki/index.php/Simple_Hot-desking
http://answers.oreilly.com/topic/2739-hot-desking-with-the-asterisk-database/

I can understand the logic. But will you please provide the details about the database ? Is there any sample db available ? or any help/link will be highly appreciable.

-Thanks

Any suggestions pls ?

[quote=“urmi.l”]I want to implement hot-desking in asterisk. I have people working on rotating shifts (call centers), or I have people that don’t always work at the same desk.

For this I have gone thorough the following link.
http://etel.wiki.oreilly.com/wiki/index.php/Simple_Hot-desking
http://answers.oreilly.com/topic/2739-hot-desking-with-the-asterisk-database/

I can understand the logic. But will you please provide the details about the database ? Is there any sample db available ? or any help/link will be highly appreciable.

-Thanks[/quote]

This is mine :

CREATE TABLE “ast_users” (
“id” integer NOT NULL PRIMARY KEY AUTOINCREMENT,
“extension” integer(8,0) NOT NULL,
“first_name” text,
“last_name” text,
“pin” integer NOT NULL,
“context” text,
“status” integer(1,0) NOT NULL DEFAULT 0,
“location” text,
“queue” text NULL DEFAULT q2
);

SQLite, we use a dialplan in Lua.