Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Typo Astersik -> Asterisk

Make sure that manager.conf has:

Code Block

[general]
enabled = yes
webenabled = yes

and that http.conf has:

Code Block

[general]
enabled = yes
bindaddr = 192.168.1.1 ; Your IP here
bindport = 8088 ; Or port 80 if it is the only http server running on the machine

With phoneprov.conf and users.conf in place, start AstersikAsterisk. From the CLI, type "http show status". An example output:

No Format

HTTP Server Status: 
Prefix: /asterisk 
Server Enabled and Bound to 192.168.1.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 
Enabled Redirects: 
 None. 
POST mappings:
 None.

There should be a phoneprov URI listed. Next, from the CLI, type "phoneprov show routes" and verify that the information there is correct. An example output for Polycom phones woud look like:

No Format

Static routes

Relative URI Physical location
sip.ver configs/sip.ver
sip.ld configs/sip.ld
bootrom.ver configs/bootrom.ver
sip.cfg configs/sip.cfg
bootrom.ld configs/bootrom.ld
custom.cfg configs/custom.cfg
Dynamic routes
Relative URI Template
deadbeef4dad.cfg 000000000000.cfg
deadbeef4dad-directory.xml
000000000000-directory.xml
deadbeef4dad-phone.cfg
000000000000-phone.cfg
config/deadbeef4dad polycom.xml

...