On May 16, 2016 22:15, "Telium Technical Support" <support at telium.ca> wrote:> > You don't mention a configuration generator (like Elastix/FreePBX) so I'll > assume you are using a plain old vanilla Asterisk installation. In which > case all user/endpoint information is kept in config (ini) files, and no > user/endpoint manipulation is done through the CLI or AMI. > > In this case a very simple solution is to modify the Asterisk config files > to add/remove users, then tell Asterisk to reload from the CLI/AMI. And > that's it! > > -Raj- > > > -- >Thanks Raj You are correct. Is there any open source application in that? regards_____________________________________________________________________> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160516/b47f4725/attachment.html>
> On 17/05/2016, at 9:55 am, Goke Aruna <goksie at gmail.com> wrote: > On May 16, 2016 22:15, "Telium Technical Support" <support at telium.ca <mailto:support at telium.ca>> wrote: > > <SNIP> > > > > In this case a very simple solution is to modify the Asterisk config files > > to add/remove users, then tell Asterisk to reload from the CLI/AMI. And > > that's it! > > Thanks Raj > > You are correct. Is there any open source application in that? >According to WikiPedia, there are open-source implementations of vi available: https://en.wikipedia.org/wiki/Vi Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160517/36fa63e4/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4118 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160517/36fa63e4/attachment-0001.bin>
You are correct. Is there any open source application in that?> According to WikiPedia, there are open-source implementations of vi > available: >All my instincts say "No no! Use emacs not vi!" but I think the OP might not know saying "vi" is intended as a joke? For small systems using a text editor is okay... watch out for typos that will disable your entire pbx... do "dialplan reload" when you change extensions.conf and then scroll back looking for ERROR messages. I find the color coding to be extremely helpful. Likewise open "asterisk -r" immediately after starting asterisk and watch for error messages. Be warned that sometimes the errors will lead you far far astray. Usually they are useful. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160516/059cfa51/attachment.html>
> On May 16, 2016 22:15, "Telium Technical Support" <support at telium.ca> wrote:> > In this case a very simple solution is to modify the Asterisk config files > > to add/remove users, then tell Asterisk to reload from the CLI/AMI.? And > > that's it!> On 17/05/2016, at 9:55 am, Goke Aruna <goksie at gmail.com> wrote: > You are correct. Is there any open source application in that?On Tue, 17 May 2016, Pete Mundy wrote:> According to WikiPedia, there are open-source implementations of vi available: > https://en.wikipedia.org/wiki/ViBut that only takes care of the configuration. Is there an open source application to execute "sudo asterisk -r -x 'reload'"? However, if we use emacs instead of vi, we could write an 'asterisk' mode and hook the 'reload' into the 'save-buffer' function... -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281
>Thanks Raj >You are correct. Is there any open source application in that?Not that I know of ? I think it?s getting too simplistic J We created some C++ functions for our High Availability for Asterisk product (HAAst) which modify config files and extensions files, but it?s more work to adapt them than just write your own. In a few hours of coding you should be able to have it done? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160516/d7d08fe8/attachment.html>