Hello All i need your help i have asterisk installed in my server (unix centos) and i want to create php code in order to start the asterisk service using a agent poste (windows xp ) without acces to the server with putty thanks and regards salah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100402/03e4c491/attachment.htm
On Fri, Apr 02, 2010 at 03:41:57PM +0000, salaheddine elharit wrote:> Hello All > > i need your help i have asterisk installed in my server (unix centos) and i > want to create php code in order to start the asterisk service > > using a agent poste (windows xp ) without acces to the server with puttyHuh? why? (Though generally you do that by allowing the user that runs the web server to execute a specific command that will restart asterisk through sudo) However, reinventing the wheel is not that much fun. Look into e.g. monit. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
thank you for your response but i need this solution as soon as possible to restart the asterisk service via a agent poste if ther is any solution please thanks 2010/4/2 Tzafrir Cohen <tzafrir.cohen at xorcom.com>> On Fri, Apr 02, 2010 at 03:41:57PM +0000, salaheddine elharit wrote: > > Hello All > > > > i need your help i have asterisk installed in my server (unix centos) and > i > > want to create php code in order to start the asterisk service > > > > using a agent poste (windows xp ) without acces to the server with putty > > Huh? why? > > (Though generally you do that by allowing the user that runs the web > server to execute a specific command that will restart asterisk through > sudo) > > However, reinventing the wheel is not that much fun. Look into e.g. monit. > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com> > +972-50-7952406 mailto:tzafrir.cohen at xorcom.com > http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100402/e72cb5e4/attachment.htm