[asterisk-bugs] [Asterisk 0018958]: [patch] Configurable phoneprov path

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 11 09:44:12 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18958 
====================================================================== 
Reported By:                pdugas
Assigned To:                lathama
====================================================================== 
Project:                    Asterisk
Issue ID:                   18958
Category:                   Resources/res_phoneprov
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-10 22:33 CST
Last Modified:              2011-03-11 09:44 CST
====================================================================== 
Summary:                    [patch] Configurable phoneprov path
Description: 
I maintain a few Asterisk installations using the RPMs from Digium's YUM
repository and have to deal with files in my AST_DATADIR/phoneprov folder
being overwritten with packages are updated.  I keep /etc/asterisk in an
SVN repository.   I keep my provisioning files and templates in
/etc/asterisk/phoneprov and change /var/lib/asterisk/phoneprov to be a link
to there.  

I'm not sure what the "right" way to do this is but I'd like to be able to
point the res_phoneprov module to an alternate path for its content and
templates.  I can code and am willing to develop a patch but would like
some guidance on the "correct" way to handle this.  Is this worthy of a new
entry in asterisk.conf's [directories] section?  Or, is this a new setting
in phoneprov.conf?  Perhaps another I'm not thinking of?
====================================================================== 

---------------------------------------------------------------------- 
 (0132859) pdugas (reporter) - 2011-03-11 09:44
 https://issues.asterisk.org/view.php?id=18958#c132859 
---------------------------------------------------------------------- 
I used your demo with 500 users.  Browser says it took 29ms to get the
response.  Not sure what that helps with as this patch only affects the
initial loading of the template.  Maybe I'm not understanding what you're
asking for? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-11 09:44 pdugas         Note Added: 0132859                          
======================================================================




More information about the asterisk-bugs mailing list