Re: [Asterisk-java-devel] Samples
Brought to you by:
srt
From: Richard H. <ri...@ha...> - 2009-03-11 23:22:59
|
Stefan Reuter wrote: > Martin B. Smith wrote: > >> Yes, I have seen that. I think it will work. The big problem is going to >> be configuring an available test-Asterisk for the non-trivial >> demonstrations like AGI and AMI. These also pose a high risk when you >> think about things like Manager exec. >> > > That's why I would prefer if people were able to use their own Asterisk > server. This requires that > 1. The applet is able to access the local Asterisk server > 2. No complex configuration is needed, i.e. an entry in manager.conf > should be all users have to add > > (1) can be achieved by signing the applet and requesting additional > network permissions like the IAX applet does. > (2) can be probably be achieved by designing the samples wisely, i.e. > showing a list of active channels for AMI, originating calls with > channels/extensions the user can define. AGI would also be possible if > we use originateToApplication and pass the ip address of the system the > applet is run on as url. > > What do you think of this approach? > > =Stefan > > Stefan, I agree with this approach. I think that having a test server is a serious security risk, especially given how vulnerable asterisk has been of late. Allowing a connection to a specific IP is certainly the way to go, and originating to the local AGI is a good idea. It's a shame you cannot really use RCP/SWT inside an applet. Another option is to take a stripped down version of ADM ( http://adm.hamnett.org for those who haven't heard of it) and use that (with a control panel style frame) as a container for the demo which can be a download. Richard |