On Mon, 2008-07-28 at 11:03 -0400, Paul Mossman wrote:
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of keccles
> > Sent: July 27, 2008 11:45 AM
> > To: devlist
> > Subject: [sipX-dev] Does anyone use ProcMgmtRpc GetAliasByPID?
> > 
> > Is anyone using an xml-rpc call to get the name of a service?
> 
> Hi Kathy,
> 
> ACDServer.cpp uses it to invoke a restart of itself.  (Lookup its alias
> by PID, then requests a restart of that alias.)

There is no longer any reason to do that lookup.  The "alias" is the
contents of the <name> element in the process definition (which is
fixed).

> It's also in OsProcessMgr.cpp of sipXportLib.  When I worked on this is
> was used by watchdog, which has now been replaced by sipXsupervisor.  I
> haven't worked on sipXsupervisor, but I think the process management
> content is taken largely un-modified from watchdog.

But is being replaced there.... it's there now as a transitional measure
only.

-- 
Scott Lawrence  tel:+1.781.229.0533;ext=162 or sip:[EMAIL PROTECTED]
  sipXecs project coordinator - SIPfoundry http://www.sipfoundry.org/sipXecs
  CTO, Voice Solutions   - Bluesocket Inc. http://www.bluesocket.com/ 
                                           http://www.pingtel.com/

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to