Hey, all. I'm trying to do some fun with auto-provisioning of Polycom phones, and one thing that would make life easier for me would be if I could have a per-phone sip.conf file. If not, no biggie -- but if there's a way to do an include (as per extensions.conf) or something, that would be great. I've gone through docs, and an older version of "Asterisk: the Future of Telephony" implied there was such a feature, but I've seen no mention elsewhere (including, alas, a newer version of the same book). So: can I? Or is it time to just sit down and parse the sip.conf file? Thanks! -Ken -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Ken D'Ambrosio wrote:> Hey, all. I'm trying to do some fun with auto-provisioning of Polycom > phones, and one thing that would make life easier for me would be if I > could have a per-phone sip.conf file. If not, no biggie -- but if there's > a way to do an include (as per extensions.conf) or something, that would > be great. I've gone through docs, and an older version of "Asterisk: the > Future of Telephony" implied there was such a feature, but I've seen no > mention elsewhere (including, alas, a newer version of the same book). > > So: can I? Or is it time to just sit down and parse the sip.conf file? > > Thanks! > > -Ken > >Why not just use asterisk realtime and store all the information in a database. You can use the same database table to create the provisioning file for the phones aswell. http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip
Yes, you could do includes in sip.conference like: [general] ... ... ... #include sip1.conf #include sip2.conf Just make sure to do it AFTER the [general] section. Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-07-19 12:00 PM, "Gareth Blades" <list-asterisk at skycomuk.com> wrote: Ken D'Ambrosio wrote:> Hey, all. I'm trying to do some fun with auto-provisioning of Polycom > pho...Why not just use asterisk realtime and store all the information in a database. You can use the same database table to create the provisioning file for the phones aswell. http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip -- _____________________________________________________________________ -- Bandwidth and Colocati... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100719/16a34400/attachment.htm