[Home]

Summary:ASTERISK-17160: [patch] Demonstration for all the features of res_phoneprov
Reporter:Andrew Latham (lathama)Labels:
Date Opened:2010-12-25 12:45:15.000-0600Date Closed:2011-01-19 10:01:15.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_phoneprov
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) demo.html
( 1) info.html
( 2) info.html.2
( 3) phoneprov.conf.diff
Description:This is a demonstration file to show the full potential of res_phoneprov

****** ADDITIONAL INFORMATION ******

Will add patchs and files for:

phoneprov.conf
info.html
Comments:By: Andrew Latham (lathama) 2010-12-25 12:49:18.000-0600

For demonstration you will need the users.conf configured.  For an example try this.

[6000]
fullname = User One
email = 1@email.com
secret = 1234
vmsecret = 1234
hassip = yes
context = default
macaddress = 112233445566
autoprov = yes
LINEKEYS = 1
linenumber = 1
cid_number = 6000

[6001]
fullname = User Two
email = 2@email.com
secret = 1234
vmsecret = 1234
hassip = yes
context = default
macaddress = 223344556677
autoprov = yes
LINEKEYS = 1
linenumber = 1
cid_number = 6001


[6002]
fullname = User Three
email = 3@email.com
secret = 1234
vmsecret = 1234
hassip = yes
context = default
macaddress = 334455667788
autoprov = yes
LINEKEYS = 1
linenumber = 1
cid_number = 6002

By: Andrew Latham (lathama) 2010-12-25 13:05:14.000-0600

Static demo file for quick review.  Note the issue with the extension length variable.  I am looking into the cause of that issue.

By: Andrew Latham (lathama) 2010-12-27 08:02:35.000-0600

Fixed typos and output to be cleaner. info.html.2 uploaded

Removed VOICEMAIL_EXTEN AND EXTENSION_LENGTH until the bug with the variables is fixed.



By: Leif Madsen (lmadsen) 2011-01-04 14:56:08.000-0600

Any chance this could be modified and added to the wiki at wiki.asterisk.org ?

By: Andrew Latham (lathama) 2011-01-04 14:57:59.000-0600

Way ahead of you https://wiki.asterisk.org/wiki/display/AST/Phone+Provisioning,+Putting+it+all+together?focusedCommentId=10649984#comment-10649984

We have some updates and other hacks.  I have a json app working with this right now for read only access.

By: Leif Madsen (lmadsen) 2011-01-19 10:00:56.000-0600

OK great! I'm going to close this then because the work should really be on the wiki at this point. Thanks for the submission!

By: Leif Madsen (lmadsen) 2011-01-19 10:01:14.000-0600

Please see wiki for more information.