Summary: | ASTERISK-14853: phoneprov route variable values missing | ||
Reporter: | Paul Dugas (pdugas) | Labels: | |
Date Opened: | 2009-09-20 13:48:17 | Date Closed: | 2011-06-07 14:08:19 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) conf.tar.gz | |
Description: | Running "phoneprov show routes" at the CLI after * starts shows Relative URI entries with variables like ${TOLOWER(${MAC})} replaced with an empty string. Requests to the HTTP interface an affected URI returns a not-found result. Running "module reload res_phoneprov" manually restores the proper operation as far as I can tell. ****** ADDITIONAL INFORMATION ****** A snip from "phoneprov show routes" just after starting: Relative URI Template -phone.cfg 000000000000-phone.cfg -phone.cfg 000000000000-phone.cfg -phone.cfg 000000000000-phone.cfg .cfg 000000000000.cfg .cfg 000000000000.cfg .cfg 000000000000.cfg An after "module reload res_phoneprov": Relative URI Template 0004f201196f-user.cfg 000000000000-user.cfg 0004f21d1345.cfg 000000000000.cfg 0004f206339f.cfg 000000000000.cfg 0004f201196f-phone.cfg 000000000000-phone.cfg 0004f206339f-phone.cfg 000000000000-phone.cfg 0004f201196f.cfg 000000000000.cfg | ||
Comments: | By: Leif Madsen (lmadsen) 2009-09-21 09:36:37 Can you provide your phoneprov.cfg and your sip.conf (I presume it is SIP devices you're loading from phoneprov), along with anything else you feel may be related or relative? This feels like it could be solved with a preload somewhere in modules.conf. By: Paul Dugas (pdugas) 2009-09-21 10:06:44 conf.tar.gz attached containing: * modules.conf * users.conf * http.conf * sip.conf * phoneprov.conf I have also noticed after further digging that there are some unexpected Relative URI entries in the output of "phoneprov show routes". I'm finding multiple (3 specifically) copies of SPIP501-site.cfg, SPIP601-site.cfg, and site.cfg. I'm wondering if this is by design or a related issue. By: Jason Parker (jparker) 2009-09-21 10:56:42 This is actually a documented issue (see asterisk.pdf in the Asterisk release tarballs). You need to add a preload line to modules.conf for any modules that are used for filename generation. In this case, I believe the module is func_strings.so |