From: Jamie C. <jam...@po...> - 2003-10-03 07:12:48
|
I did think about doing that also, but only after I wrote the email. Thanx= for the code too. I'll look at it tomorrow (it's almost Beer 0'clock here= ). It would be a much nicer way and the is definitely a way to get PHP to do i= t. PHP has socket functions built in and are super easy to use from what I= can see. <-- J -----Original Message----- From: WipeOut [mailto:wip...@ly...]=20 Sent: Friday, 3 October 2003 17:07 To: ast...@li... Subject: Re: [Astweb-users] Introduction, Status and Plans << File: asterisk.reload >> Jamie Carl wrote: >I may also have some work started on signalling the Asterisk server to rel= oad the configs, cause I'm curious how we're going to pull this part off my= self (will start with a command line reload, if you don't know what I'm tal= king about, never mind :-) ). > > =20 > Have you looked at phpconfig??, they use perl to connect to the Asterisk=20 manager interface and send a restart command.. Works well and is quite=20 simple once you look at the code.. :) I have attached the file.. I wonder if there is not a war to get PHP to=20 do this.. Later.. ********************************************************************** PowerTel Limited, winners of Best Corporate/Wholesale Broadband Initiative, Australian Telecom Awards 20= 02 Broadband Wholesale Carrier of the year, CommsWorld Telecomms Awards 2001 Best Emerging Telco, Australian Telecom Awards 2001 ********************************************************************** This email (including all attachments) is intended solely for the named addressee. It is confidential and may contain commercially sensitive information. If you receive it in error, please let us know by reply email, delete it from your system and destroy any copies. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the prior written consent of the copyright o= wner. Emails may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems. We give no warranties in relation to these matters. If you have any doubts about the authenticity of an email purportedly sent by us, please contact us immediately. ********************************************************************** |