[asterisk-gui] UpdateConfig has a limited URI length

Pari Nannapaneni pari at digium.com
Wed Dec 20 12:12:05 MST 2006


Hi steve,

I think this is a restriction on the HTTP GET
request length (2 kb or something)
ftp://ftp.isi.edu/in-notes/rfc2616.txt
http://support.microsoft.com/kb/208427

I faced the same problem when trying to add
the [asterisk_guitools] context during the setup process
and so had to make the context short.

This is also the reason why in voice-menus,
When a priority is updated, I'm not deleting all the entries
and writing them in the updated order and instead
I'm just updating the priorities of only the updated
entries.

We definitely need _POST_ support in the asterisk web server
so that we can make XMLHTTP post requests and also to upload files to 
the web server. POST support might not be possible to add in Asterisk 
1.4 (already in feature freeze), but I guess will definitely be 
implemented soon (in trunk).

-Pari


Steven Sokol wrote:
> I've been working with the framework for a few weeks now and one thing
> I've noticed is that you can only save so much data at a time.  For
> example, I've added several options to the User's General
> configuration but only the first 10 or so items get saved.
> 
> My guess, and please correct me if I am wrong, is that either the http
> server will only accept (buffer) a URI of up to X characters, or the
> Http XML request object has limits the length of the URI.
> 
> So far I've gotten around it by taking multiple passes when saving
> large objects.  Is there any other fix for this?
> 
> Thanks,
> 
> Steve
> 



More information about the asterisk-gui mailing list