That's great, but the Polycom phones and the Cisco phones are already capable of this. We just need asterisk to comply:
>From the Polycom admin manual at: http://www.polycom.com/common/pw_item_show_doc/0,1276,2545,00.pdf 5.2.6 Shared Call Appearance Signaling A shared line is an address of record managed by a back to back user agent (B2BUA) server. The B2B server allows multiple endpoints to register locations against the address of record. SoundPoint® IP supports shared call appearances (SCA) using the SUBSCRIBENOTIFY method in the "SIP Specific Event Notification" framework (RFC 3265). The events used are: . "call-info" for call appearance state notification . "line-seize for the telephone to ask to seize the line 5.2.6.1.1 Call-info header The "call-info" header is used in INVITE, SUBSCRIBE, and NOTIFY to give appearance index information. "call-info" header format: Call-Info = "Call-Info" HCOLON info *(COMMA info) info = LAQUOT absoluteURI RAQUOT *( SEMI info-param) info-param = ( "purpose" EQUAL ( "icon" / "info" / "card" / token)) / generic-param Two "generic-param" fields are defined: "appearance-index" EQUAL ( (1*DIGIT) / STAR ) ) "appearance-state" EQUAL ( "idle" / "seized" / "progressing" / "alerting" / "active" / "held" ) Example of call-info header in INVITE request: INVITE sip:[EMAIL PROTECTED] ... From: <sip:[EMAIL PROTECTED]>... To: <sip:[EMAIL PROTECTED]>... Call-Info: <sip:polycom.com>;appearance-index=3 ... Example of call-info header in response: SIP/2.0 200 OK ... From: <sip:[EMAIL PROTECTED]>... To: <sip:[EMAIL PROTECTED]>... Call-Info: <sip:polycom.com>;appearance-index=3 ... Example of call-info header in NOTIFY request: NOTIFY sip:[EMAIL PROTECTED] ... From: <sip:[EMAIL PROTECTED]>... To: <sip:[EMAIL PROTECTED]>... Call-Info: <sip:polycom.com;appearance-index=1;appearance-state=active, <sip:polycom.com>;appearance-index=2;appearance-state=held, <sip:polycom.com>;appearance-index=3;appearance-state=idle, <sip:polycom.com>;appearance-index=4;appearance-state=idle Event: call-info ... 5.2.6.1.2 Call-info event package SoundPoint® IP sends a SUBSCRIBE message with "event" set to "call-info" to subscribe to call information for a specific address of record. For example: SUBSCRIBE sip:[EMAIL PROTECTED] ... From: <sip:[EMAIL PROTECTED]>... To: <sip:[EMAIL PROTECTED]>... event: call-info ... The server sends NOTIFY messages to all telephones which share that line to indicate the line state. For example: NOTIFY sip:[EMAIL PROTECTED] ... From: <sip:[EMAIL PROTECTED]>... To: <sip:[EMAIL PROTECTED]>... Call-Info: <sip:polycom.com>;appearance-index=1;appearance-state=active, <sip:polycom.com>;appearance-index=2;appearance-state=held, <sip:polycom.com>;appearance-index=3;appearance-state=idle, <sip:polycom.com>;appearance-index=4;appearance-state=idle Event: call-info ... And there's more. Now, if someone could point me in the right direction. Chan_Sip2, maybe? Olle E. Johansson, where are you? John ----- Original Message ----- From: "Tim Sailer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 24, 2004 9:37 PM Subject: Re: [Asterisk-Users] Simulating the "lighted line in use" type of phone > On Tue, Feb 24, 2004 at 04:33:41PM -0500, mattf wrote: > > Take a look at my GUI app: > > > > http://sourceforge.net/projects/astguiclient/ > > > > It'll run on Linux and Windows, it's written in perl and it'll list every > > channel(Zap/SIP/Local) that is active on your system updated every second. > > > > You can also do a lot of other things with it too. > > > > We've been using it here at my company for months on over 60 computers and > > it scales rather well. > > I looked at it, and it won't work for me the way you have written it > without me hacking at it. You insist on having MySQL run in network > mode. I really don't want another port/service running on a box that > is internet-facing... call me silly. :) For things like this, I'll only > have the service running locally. > > Tim > > -- > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > >> Tim Sailer >< Coastal Internet, Inc. << > >> Network and Systems Operations >< PO Box 726 << > >> http://www.buoy.com >< Moriches, NY 11955 << > >> [EMAIL PROTECTED] >< (631) 399-2910 (888) 924-3728 << > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users