[asterisk-gui] 501 not implemented

dima dima at scancom.es
Mon Oct 18 02:09:42 CDT 2010


Here it is:

# ls -R /var/lib/asterisk/static*
/var/lib/asterisk/static-http:
config  index.html

/var/lib/asterisk/static-http/config:
asterisklogs.html  dialplans.html      gtalk.html           index.html
networking.html      ringgroups.html     trunks_analog.html
users.html
backup.html        digital.html        guialert.html        js
paging.html          sip.html            trunks_digital.html
vmgroups.html
blank.html         directory.html      hardware_aa50.html
language.html            password.html        skype.html
trunks_providers.html      voicemail.html
bulkadd.html       emailsettings.html  hardware_dahdi.html  meetme.html
preferences.html     smtp_settings.html  trunks_sps.html
welcome.html
callingrules.html  features.html       hardware.html
menuprompts_record.html  private              status.html
trunks_voip.html
cdr.html           feditor.html        home.html
menuprompts_upload.html  queues.html          stylesheets
update_phonefirmware.html
cfgbasic.html      flashupdate.html    iax.html             menus.html
reboot.html          sysinfo.html        upload2.html
cli.html           flipadvanced.html   images               misdn.html
registerg729.html    timeintervals.html  upload_abe_overlay.html
date.html          followme.html       incoming.html
mohfiles.html            reset_defaults.html  timezone.html
upload_form.html

/var/lib/asterisk/static-http/config/images:
1.gif               agent_loggedin.png   arrow_down.png
bandwidth.gif       dots.gif      loading.gif       split-v.gif
tick.gif
aa50.png            agent_loggedout.png  arrow_up.png
cancel.gif          down_arr.gif  ngt.jpg           status_blue.png
title_gradient.gif
accordion-icon.gif  agent_ringing.png    asterisk-arrow-down.png
checkbox_blank.gif  edit.gif      panel.png         status_gray.png
tooltip_info.gif
add.gif             ar_down.png          asterisk-arrow-up.png
delete_circle.png   favicon.ico   refresh.png       status_green.png
voicepulse.gif
adv-v.gif           ar_right.png         asterisk_green.gif
delete.gif          home.png      simplesignal.jpg  status_orange.png
agent_busy.png      arrow_blank.png      asterisk_red.gif
digiumlogo.gif      iaxtel.jpg    slice-v.gif       status_red.png

/var/lib/asterisk/static-http/config/js:
astgui.js        effects.highlight.js  hardware.js
jquery.tablesorter.js        menuprompts_record.js  pbx.js
timeintervals.js     vmgroups.js
astman2.js       features.js           iax.js
jquery.tablesorter.pager.js  menuprompts_upload.js  preferences.js
timezone.js          voicemail.js
astman.js        feditor.js            incoming.js
jquery.tooltip.js            menus.js               queues.js
tooltip.js           welcome.js
backup.js        flashupdate.js        index.js
jquery.ui.core.js            misdn.js               registerg729.js
trunks_analog.js
bulkadd.js       followme.js           jquery.autocomplete.js
jquery.ui.draggable.js       mohfiles.js            ringgroups.js
trunks_digital.js
callingrules.js  gtalk.js              jquery.date_input.js
jquery.ui.sortable.js        networking.js          session.js
trunks_providers.js
cdr.js           guiversion.js         jquery.delegate-1.1.js
jquery.ui.tabs.js            object.customs.js      sip.js
trunks_sps.js
dialplans.js     hardware_aa50.js      jquery.fixedheader.js   log.js
paging.js              status.js        trunks_voip.js
effects.core.js  hardware_dahdi.js     jquery.js               meetme.js
pbx2.js                sysinfo.js       users.js

/var/lib/asterisk/static-http/config/private:
bkps

/var/lib/asterisk/static-http/config/private/bkps:

/var/lib/asterisk/static-http/config/stylesheets:
cfgbasic.css  schwing.css  tables.css  ui-tabs.css
> Ok, that is a great start.... HTTP is working and not limiting you by
> network....
> 
> Next, can you do a directory listing of the /var/lib/asterisk/static* folder
> 
> 
> ~
> Andrew "lathama" Latham
> lathama at gmail.com
> 
> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
> * Learn more about Linux http://en.wikipedia.org/wiki/Linux
> * Learn more about Tux http://en.wikipedia.org/wiki/Tux
> 
> 
> 
> On Sun, Oct 17, 2010 at 6:39 PM, dima <dima at scancom.es> wrote:
> >> can you open http://ipaddress:8088/asterisk/httpstatus
> >
> > Yes. When I open it, I get something like:
> >
> > Asterisk™ HTTP Status
> > Prefix  /asterisk
> > Bind Address    0.0.0.0
> > Bind Port       8088
> >
> >
> >>
> >> if not can you post the whole http.conf and manager.conf (remove password)
> >>
> >>
> >> ~
> >> Andrew "lathama" Latham
> >> lathama at gmail.com
> >>
> >> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
> >> * Learn more about Linux http://en.wikipedia.org/wiki/Linux
> >> * Learn more about Tux http://en.wikipedia.org/wiki/Tux
> >>
> >>
> >>
> >> On Sun, Oct 17, 2010 at 5:09 AM, dima <dima at scancom.es> wrote:
> >> > Yes, I did.
> >> >
> >> > CLI> http show status
> >> > HTTP Server Status:
> >> > Prefix: /asterisk
> >> > Server Enabled and Bound to 0.0.0.0:8088
> >> >
> >> > Enabled URI's:
> >> > /asterisk/httpstatus => Asterisk HTTP General Status
> >> > /asterisk/phoneprov/... => Asterisk HTTP Phone Provisioning Tool
> >> > /asterisk/manager => HTML Manager Event Interface
> >> > /asterisk/rawman => Raw HTTP Manager Event Interface
> >> > /asterisk/static/... => Asterisk HTTP Static Delivery
> >> > /asterisk/mxml => XML Manager Event Interface
> >> >
> >> > Enabled Redirects:
> >> >  / => /static/config/index.html
> >> >
> >> >
> >> >
> >> >
> >> >> did you reload and run httpstatus?
> >> >>
> >> >>
> >> >> ~
> >> >> Andrew "lathama" Latham
> >> >> lathama at gmail.com
> >> >>
> >> >> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
> >> >> * Learn more about Linux http://en.wikipedia.org/wiki/Linux
> >> >> * Learn more about Tux http://en.wikipedia.org/wiki/Tux
> >> >>
> >> >>
> >> >>
> >> >> On Sat, Oct 16, 2010 at 9:05 PM, dima <dima at scancom.es> wrote:
> >> >> > That didn't help either.
> >> >> >
> >> >> >> Try changing http.conf:
> >> >> >>
> >> >> >> bindaddr=0.0.0.0
> >> >> >>
> >> >> >>
> >> >> >> reload asterisk and visit
> >> >> >> http://pbxip:8088/asterisk/static/config/index.html
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> On 10/15/2010 07:08 PM, dima wrote:
> >> >> >> > Asterisk is actually responding (even if it is responding a "501
> >> >> >> > error").
> >> >> >> >
> >> >> >> > This is "http show status" output:
> >> >> >> > HTTP Server Status:
> >> >> >> > Prefix: /asterisk
> >> >> >> > Server Enabled and Bound to 127.0.0.1:8088
> >> >> >> >
> >> >> >> > Enabled URI's:
> >> >> >> > /asterisk/httpstatus =>  Asterisk HTTP General Status
> >> >> >> > /asterisk/phoneprov/... =>  Asterisk HTTP Phone Provisioning Tool
> >> >> >> > /asterisk/manager =>  HTML Manager Event Interface
> >> >> >> > /asterisk/rawman =>  Raw HTTP Manager Event Interface
> >> >> >> > /asterisk/static/... =>  Asterisk HTTP Static Delivery
> >> >> >> > /asterisk/mxml =>  XML Manager Event Interface
> >> >> >> > dima-laptop*CLI>
> >> >> >> > Enabled Redirects:
> >> >> >> >    / =>  /static/config/index.html
> >> >> >> >
> >> >> >> >> ahh
> >> >> >> >>
> >> >> >> >> You may want to check the bind?  is it being bound to 127.0.0.1?
> >> >> >> >>
> >> >> >> >> you can do many things to test.
> >> >> >> >>
> >> >> >> >> at the asterisk cli>  http show status
> >> >> >> >> HTTP Server Status:
> >> >> >> >> Prefix:
> >> >> >> >> Server Enabled and Bound to 0.0.0.0:8088
> >> >> >> >>
> >> >> >> >> Enabled URI's:
> >> >> >> >> /httpstatus =>  Asterisk HTTP General Status
> >> >> >> >> /phoneprov/... =>  Asterisk HTTP Phone Provisioning Tool
> >> >> >> >> /backups =>  HTTP POST mapping
> >> >> >> >> /manager =>  HTML Manager Event Interface
> >> >> >> >> /rawman =>  Raw HTTP Manager Event Interface
> >> >> >> >> /static/... =>  Asterisk HTTP Static Delivery
> >> >> >> >> /mxml =>  XML Manager Event Interface
> >> >> >> >> /moh =>  HTTP POST mapping
> >> >> >> >>
> >> >> >> >> Enabled Redirects:
> >> >> >> >>    / =>  /static/config/index.html
> >> >> >> >>
> >> >> >> >> or try
> >> >> >> >>
> >> >> >> >> http://ipaddress:8088/httpstatus
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> ~
> >> >> >> >> Andrew "lathama" Latham
> >> >> >> >> lathama at gmail.com
> >> >> >> >>
> >> >> >> >> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
> >> >> >> >> * Learn more about Linux http://en.wikipedia.org/wiki/Linux
> >> >> >> >> * Learn more about Tux http://en.wikipedia.org/wiki/Tux
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> On Fri, Oct 15, 2010 at 4:17 AM, dima<dima at scancom.es>  wrote:
> >> >> >> >>> Hello Andrew
> >> >> >> >>>
> >> >> >> >>> Thanks for your reply. I guess this line is a vi command. I don't
> >> >> >> >>> exactly understand what it means to do. Anyway I have tried to change
> >> >> >> >>> "redirect" config parameter in http.conf to:
> >> >> >> >>>
> >> >> >> >>> redirect = / /static/config/index.html
> >> >> >> >>>
> >> >> >> >>> But the result is still the same. When I navigate to
> >> >> >> >>> http://localhost:8088 asterisk redirects me to
> >> >> >> >>> http://localhost:8088/static/config/index.html and then replies with
> >> >> >> >>> 501.
> >> >> >> >>>
> >> >> >> >>> Same thing (error 501) occurs if I try to navigate to
> >> >> >> >>> http://localhost:8088/static/config/index.html directly.
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>>> s/;redirect\s*=\s*\/\s*\/static\/config\/index.html/redirect = \/
> >> >> >> >>>> \/static\/config\/index.html/g
> >> >> >> >>>>
> >> >> >> >>>> go to http://<ipaddress>:8088/static/config/index.html
> >> >> >> >>>>
> >> >> >> >>>> ~
> >> >> >> >>>> Andrew "lathama" Latham
> >> >> >> >>>> lathama at gmail.com
> >> >> >> >>>>
> >> >> >> >>>> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
> >> >> >> >>>> * Learn more about Linux http://en.wikipedia.org/wiki/Linux
> >> >> >> >>>> * Learn more about Tux http://en.wikipedia.org/wiki/Tux
> >> >> >> >>>>
> >> >> >> >>>>
> >> >> >> >>>
> >> >> >> >>>> On Thu, Oct 14, 2010 at 8:49 PM, dima<dima at scancom.es>  wrote:
> >> >> >> >>>>> Hello everyone,
> >> >> >> >>>>>
> >> >> >> >>>>> I'm trying to test asterisk-gui. After installing, configuring and
> >> >> >> >>>>> restarting asterisk and asterisk-gui I have no luck connecting to
> >> >> >> >>>>> asterisk-gui via browser. For any request I make, I get "501 Not
> >> >> >> >>>>> Implemented" error.
> >> >> >> >>>>>
> >> >> >> >>>>> Something like:
> >> >> >> >>>>>
> >> >> >> >>>>> GET /static/config/cfgbasic.html HTTP/1.1
> >> >> >> >>>>> Host: localhost:8088
> >> >> >> >>>>> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10)
> >> >> >> >>>>> Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10
> >> >> >> >>>>> ...
> >> >> >> >>>>>
> >> >> >> >>>>>
> >> >> >> >>>>> HTTP/1.1 501 Not Implemented
> >> >> >> >>>>> Server: Asterisk/1.6.2.7-1ubuntu1
> >> >> >> >>>>> ...
> >> >> >> >>>>>
> >> >> >> >>>>> Am I missing something? Or may be asterisk-gui does not work with
> >> >> >> >>>>> asterisk 1.6.2?
> >> >> >> >>>>>
> >> >> >> >>>>> Here is my setup.
> >> >> >> >>>>> Asterisk 1.6.2 (installed from ubuntu repository)
> >> >> >> >>>>> Asterisk-GUI SVN-branch-2.0-r5092
> >> >> >> >>>>>
> >> >> >> >>>>> manager.conf
> >> >> >> >>>>> [general]
> >> >> >> >>>>> enabled = yes
> >> >> >> >>>>> webenabled = yes
> >> >> >> >>>>> port = 5038
> >> >> >> >>>>> bindaddr = 127.0.0.1
> >> >> >> >>>>> [admin]
> >> >> >> >>>>> secret = 123456
> >> >> >> >>>>> read = system,call,log,verbose,command,agent,config,read,write
> >> >> >> >>>>> write = system,call,log,verbose,command,agent,config,read,write
> >> >> >> >>>>>
> >> >> >> >>>>> httpd.conf
> >> >> >> >>>>> [general]
> >> >> >> >>>>> enabled=yes
> >> >> >> >>>>> bindaddr=127.0.0.1
> >> >> >> >>>>> bindport=8088
> >> >> >> >>>>> prefix=asterisk
> >> >> >> >>>>> enablestatic=yes
> >> >> >> >>>>> redirect = / /static/config/cfgbasic.html
> >> >> >> >>>>>
> >> >> >> >>>>>
> >> >> >> >>>>>
> >> >> >> >>>>> --
> >> >> >> >>>>> _____________________________________________________________________
> >> >> >> >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >> >> >>>>>
> >> >> >> >>>>> asterisk-gui mailing list
> >> >> >> >>>>> To UNSUBSCRIBE or update options visit:
> >> >> >> >>>>>    http://lists.digium.com/mailman/listinfo/asterisk-gui
> >> >> >> >>>>>
> >> >> >> >>>> --
> >> >> >> >>>> _____________________________________________________________________
> >> >> >> >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >> >> >>>>
> >> >> >> >>>> asterisk-gui mailing list
> >> >> >> >>>> To UNSUBSCRIBE or update options visit:
> >> >> >> >>>>     http://lists.digium.com/mailman/listinfo/asterisk-gui
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> --
> >> >> >> >>> _____________________________________________________________________
> >> >> >> >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >> >> >>>
> >> >> >> >>> asterisk-gui mailing list
> >> >> >> >>> To UNSUBSCRIBE or update options visit:
> >> >> >> >>>    http://lists.digium.com/mailman/listinfo/asterisk-gui
> >> >> >> >>>
> >> >> >> >> --
> >> >> >> >> _____________________________________________________________________
> >> >> >> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >> >> >>
> >> >> >> >> asterisk-gui mailing list
> >> >> >> >> To UNSUBSCRIBE or update options visit:
> >> >> >> >>     http://lists.digium.com/mailman/listinfo/asterisk-gui
> >> >> >>
> >> >> >>
> >> >> >
> >> >> > --
> >> >> > Dima Fadeyev
> >> >> > Departamento de Ingeniería de Scancom S.L.
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > _____________________________________________________________________
> >> >> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >> >
> >> >> > asterisk-gui mailing list
> >> >> > To UNSUBSCRIBE or update options visit:
> >> >> >   http://lists.digium.com/mailman/listinfo/asterisk-gui
> >> >>
> >> >> --
> >> >> _____________________________________________________________________
> >> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >>
> >> >> asterisk-gui mailing list
> >> >> To UNSUBSCRIBE or update options visit:
> >> >>    http://lists.digium.com/mailman/listinfo/asterisk-gui
> >> >
> >> > --
> >> > Dima Fadeyev
> >> > Departamento de Ingeniería de Scancom S.L.
> >> >
> >> >
> >> >
> >> > --
> >> > _____________________________________________________________________
> >> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >> >
> >> > asterisk-gui mailing list
> >> > To UNSUBSCRIBE or update options visit:
> >> >   http://lists.digium.com/mailman/listinfo/asterisk-gui
> >>
> >> --
> >> _____________________________________________________________________
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> asterisk-gui mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>    http://lists.digium.com/mailman/listinfo/asterisk-gui
> >
> > --
> > Dima Fadeyev
> > Departamento de Ingeniería de Scancom S.L.
> >
> >
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-gui mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-gui
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui

-- 
Dima Fadeyev
Departamento de Ingeniería de Scancom S.L.





More information about the asterisk-gui mailing list