<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Aug 6, 2007, at 9:34 AM, Olivier wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hello,<BR><BR>How would you implement free sitting ?<BR><BR>The idea is to offer teachers the ability to share the same desk and hardphone : for instance, Mr Foo is teaching mechanics on mondays while Mr Bar is teaching english on wednesdays. <BR>Each has his own extension but use the same hardphone.<BR><BR></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>one way to hard code this would be,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>1./ have different MACADDRESS.conf files for each user stored somewhere in your server</DIV><DIV>2./ use a script that checks against your "active user" data to see who's the user currently sitting and have the script replacing the .conf file with the one that needs to be there</DIV><DIV>3./ restart the phone (most sip phones can be restarted running a perl script from the server)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>now if you want to elaborate you could provide an interface for the users to enter when each profile should be active</DIV><DIV>this can be as simple as an url <A href="http://astserver/activate/mrfoo">http://astserver/activate/mrfoo</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite">1. Does a program check a calendar or database somewhere to allocate a phone to a user (as teachers schedules are known in advance) ?<BR>2. Every morning, users have to login (logoff is automatic during nighttime) ? <BR>3. Users have to login/logoff themselves using a dedicated IVR ?<BR>4. Users have to login/logoff themselves using a dedicated program on their PC ?<BR><BR>Do you offer basic services (emergency and internals calls) between logins ? <BR>Do you use any phone specific menu ?<BR><BR>Regards<BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--Bandwidth and Colocation Provided by <A href="http://www.api-digital.com--">http://www.api-digital.com--</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">asterisk-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN><A href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Andres Paglayan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--"Harmony is more important than being right"</DIV><DIV>Bapak</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></BODY></HTML>