<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Helvetica, Arial, sans-serif">Hello list,<br> <br> is it save to send manager events from a remote website (php) to an Asterisk-server ? Is there some tutorial on how to implement a tight safety policy ?<br> <br> <br> Jonas.<br> </font></font> </body> </html>
Use simple PHP's telnet classes for AMI. If you need special security - use Stunnel (SSL tunnel) and iptables on asterisk side for IP forwarding. This all is really straight-forward, I doubt you need a tutorial here.. Both stunnel and PHP Telnet have tutorials on how to accomplish this. You just need to merge 2 techniques :) Good luck On Sat, Apr 24, 2010 at 12:30 PM, Jonas Kellens <jonas.kellens at telenet.be> wrote:> Hello list, > > is it save to send manager events from a remote website (php) to an > Asterisk-server ? Is there some tutorial on how to implement a tight safety > policy ? > > > Jonas. > > -- > _____________________________________________________________________ > -- 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 >
Hi, Please avoid HTML-only mail. On Sat, Apr 24, 2010 at 12:30 PM, Jonas Kellens <jonas.kellens at telenet.be> wrote:> Hello list, > > is it save to send manager events from a remote website (php) to an > Asterisk-server ? Is there some tutorial on how to implement a tight safety > policy ?What do you mean by "safe"? For instance, allowing a remote user to apss any event through a manager account that has full priviliges, provides that remote user practically full control over Asterisk. Is that a problem for you? -- 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