Kristian Kielhofner
2004-Oct-01 13:46 UTC
[Asterisk-Users] OT: Opensource "Sipura Profile Compiler" for SPA2K, 3K
Hello list, I have several SPA-2000's and 3000's scattered about the Internet (all behind NATs). Because I do not qualify as an ITSP, Sipura will not license their "Sipura Profile Compiler" so that I can have the units remote upgrade, remote re-configure, etc (via TFTP or HTTP). This is extremely annoying. Right now if I have to make a config change to any of these SPA's I have to get a hold of the client, run my custom remote-admin tool on their windows machine, and fire up a web browser to log on to the Sipura to make the changes. What a pain. This is what I propose... If Sipura won't license their profile compiler (to generate config files for the SPA2K and 3K). I will have to "make my own". Because I live in the US (and don't want to risk messing with the DMCA), I think that the only way to do this is to use the HTTP GET/PUT method. Sipura already claims that you can do a HTTP GET (lynx -dump) and put the config for a device into a file. I know that this works. What I don't know will work is doing a PUT to put it back on the device. If I can get this to work, then I should be able to somehow create a utility (running under Windows) to go to my web server, download a file (if it has changed) and PUT it on the device. I already have the details worked out, but I just wanted to see what the list thought since I would (of course) release anything that I came up with GPL. Does this seem viable, has anyone done this, or is there a better way to do it? Thanks. -- Kristian Kielhofner
Kevin Walsh
2004-Oct-01 14:47 UTC
[Asterisk-Users] OT: Opensource "Sipura Profile Compiler" for SPA2K, 3K
Kristian Kielhofner [kris@krisk.org] wrote:> This is what I propose... If Sipura won't license their profile > compiler (to generate config files for the SPA2K and 3K). I will have > to "make my own". Because I live in the US (and don't want to risk > messing with the DMCA), I think that the only way to do this is to use > the HTTP GET/PUT method. > > Sipura already claims that you can do a HTTP GET (lynx -dump) and put > the config for a device into a file. I know that this works. What I > don't know will work is doing a PUT to put it back on the device. If I > can get this to work, then I should be able to somehow create a utility > (running under Windows) to go to my web server, download a file (if it > has changed) and PUT it on the device. I already have the details > worked out, but I just wanted to see what the list thought since I would > (of course) release anything that I came up with GPL. Does this seem > viable, has anyone done this, or is there a better way to do it? >I can confirm that GET and POST work as a backup and restore method. It'd be trivial to write a small Perl script that uses GET to download a Sipper's configuration, or uses POST to update a Sipura. The script could read/write the configuration data using whatever store is deemed necessary (XML file(s), SQL database etc.). Of course, it'd be less trivial to create a MS Windows application, but there's probably no need for that anyway. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
Brandon Patterson (peering)
2004-Oct-01 15:05 UTC
[Asterisk-Users] OT: Opensource "Sipura Profile Compiler" for SPA2K, 3K
Anyone think that Sipura is going to stay Sipura for long? I mean they are the ones behind the new cheap Linksys boxes. Why pay higher prices for the same stuff...? Then they could turn into a Cisco company..Hmmm.. Just wondering out loud.> Sipura already claims that you can do a HTTP GET (lynx -dump) and put > the config for a device into a file. I know that this works. What I > don't know will work is doing a PUT to put it back on the device. If I > can get this to work, then I should be able to somehow create a utility > (running under Windows) to go to my web server, download a file (if it >
Kristian Kielhofner
2004-Oct-01 15:10 UTC
[Asterisk-Users] OT: Opensource "Sipura Profile Compiler" for SPA2K, 3K
Brandon Patterson (peering) wrote:> Anyone think that Sipura is going to stay Sipura for long? I mean they are > the ones behind the new cheap Linksys boxes. Why pay higher prices for the > same stuff...? Then they could turn into a Cisco company..Hmmm.. Just > wondering out loud. >Funny that you say Cisco. Most of the people who formed Sipura left Komodo technology when Cisco bought Komodo for their ATA (the now Cisco ATA-186). They formed Sipura, which now makes those Linksys (a Cisco subsidary) boxes. Hmmm... -- Kristian Kielhofner
William Suffill
2004-Oct-01 21:02 UTC
[Asterisk-Users] OT: Opensource "Sipura Profile Compiler" for SPA2K, 3K
Curl will probably be able to do all the HTTP Get and Post for you. The library can be used in linux and windows coding so you could make a version for both platforms
Andrew Thompson
2004-Oct-01 21:07 UTC
[Asterisk-Users] OT: Opensource "Sipura Profile Compiler" for SPA2K, 3K
Kristian Kielhofner wrote:> I know that such a script can be writen, but remember that I need to > access these Sipura's behind a NAT (not mine, a clients). And they > may not necesarily have a Unix-ish machine to run a perl (or something > script). I would like something very simple that my clients could run > (or task scheduler, service, etc.) that would go to my website, get > the configuration, and PUT it to the sipura. I would love to PUT it > there myself, but I don't want them to have to mess with port > forwarding, etc.Do they not have a setting that has the device check for a new file on a tftp(or other) server? -- Andrew Thompson http://aktzero.com/