Ok Yea, cause I used both Kphone and Windows messenger, and they successfully registered (and subscribed i think) towards asterisk. Using Kphone I even get a online status on all other users on the asterisk but no interaction with status or IM. So maybe there is some quasi presence avaible? I think it would be a great tool to support IM/Presence. There is so much that can be done with such implementations.
rgds, /staffan kerker On Thu, 2003-11-27 at 04:53, John Todd wrote: > >Hi > >Is there any work being done on implementing IM/SIMPLE support > >for SIP on Asterisk? Like a presence server? > > > >rdgs, > >/Staffan Kerker > > No. > > There are currently requests in the system for that functionality > (http://bugs.digium.com/bug_view_page.php?bug_id=0000134) but it's > waiting for a White Knight to ride up and code a solution. > > However, there are some quasi-presence tools that appear to be built > into Asterisk in ways that nobody has explained yet. I wouldn't use > the term "secret" but the total lack of documentation and/or answers > to the questions on how to use these features makes me wonder... > > JT > > > > >Date: Thu, 16 Oct 2003 03:51:01 -0500 > >To: asterisk-users-lists.digium.com > >From: John Todd <[EMAIL PROTECTED]> > >Subject: Use of the "hint" modifiers - examples, anyone? > >Cc: > >Bcc: > >X-Attachments: > > > > > >I have found some references to the "hint" (or HINT?) variable and > >method in the source code, but quite a bit of Google-ing has not > >turned up any extensive answers as to some real-life examples of how > >to use this perhaps very useful tool. I understand the point of the > >tool, but I need to get some actual configs to look at before I > >think I'll figure it out. Even if my particular equipment doesn't > >support it, there may be other ideas I can get from it. (JerJer - > >maybe SCCP could use that data if there is an SCCP command of > >similar nature to the SIP SUBSCRIBE command - that would be pretty > >handy for those 7914 operator stations.) > > > >Searching through the source gives tantalizing hints (no pun > >intended) in pbx.c, but no actual real-life samples. Can someone > >who is familiar with it put some words to the features? > > > >I found this from March 20, 2003 from Andre Bierwirth: > > > >-------- > >Subject: [Asterisk-Dev] Logged in users > >To: [EMAIL PROTECTED] > > > >I am currently work on it. If i am ready Asterisk have functions to get = > >device or extension state. > > > >int ast_extension_state(struct ast_channel *c, char *context, char = > >*exten) > >returns=20 > >-1 =3D error or no hint(device hint) for extension > > 0 =3D extension is free or unknown > > 1 =3D one device in extension is busy (have a call) > > 2 =3D all devices in extension unavailable(unregistered) > > > >** You can give ast_device_state a Dialstring like SIP/mark or IAX/mark = > >** > > > >int ast_device_state(char *device) > >returns > >-1 =3D error > > 0 =3D device is free or unknown > > 1 =3D device is busy (have a call) > > 2 =3D device is valid but unregistered > > > >So SIP can support SUBSCRIBE requests, and for Snom200 SUBSCIBE Dialogs = > >(Map a Key to an extension and see if the extension have a call (the LED = > >turned on)) > > > >Its easy to implement the device state support for IAX, i have talk with = > >mark about it. I implement only the PBX and Channel and SIP functions. > > > >With IAX you can poll the dialplan and get the extension states if its = > >implemented. > > > >Andre > >----------- > > > >JT > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users -- Staffan Kerker AerotechTelub AB, Communications [EMAIL PROTECTED] ph. +46(0)47042185 cell. +46(0)705391365 -- "Don't get involved in politics man, just play the gig... " /Sgt Floyd, Electric Mayhem Band _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users