[asterisk-gui] UpdateConfig has a limited URI length
Steven Sokol
ssokol at sokol-associates.com
Wed Dec 20 12:48:46 MST 2006
Yea. I was afraid of that. For the time being I have a means of
writing as many lines as I need using multiple calls. It seems to
work quite well. I'll update the public display of my stuff and you
can see it in the menu configuration and in the system setup wizard.
Speaking of which, check out the setup wizard (right now it runs from
a button on the "Home" tab but eventually it will kick off
automatically if the system has not been configured). Still a work in
progress, but it gets the idea across.
Also check out the new "Dialplan Settings" tab which allows you to
renumber your entire system.
http://www.sokol-associates.com:8088/asterisk/static/config/cfglinksys.html
Login with "manager" as both user and password.
-S
On 12/20/06, Pari Nannapaneni <pari at digium.com> wrote:
> 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
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
>
--
Steven Sokol
CEO
Sokol & Associates, LLC
Asterisk Training: http://www.sokol-associates.com/
AstriCon 2006: http://www.astricon.net/
More information about the asterisk-gui
mailing list