Asterisk standalone voicemail server.

Hi,
I am using Asterisk 13 as a standalone voicemail.  I have it connected to a mobile phone network with SIP.
The question I have is, is it possible to have new subscribers automatically populating in the sip.conf and voicemail.conf?
I currently have to manually add subscribers and this will become laborious as the amount of subscribers increase.
Any help or advice will be greatly received.
TIA
doddeers668Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

José MéndezCommented:
In sip.conf you may use templates, reducing the amount of information you have to type for each user:

http://www.voip-info.org/wiki/view/Asterisk+config+template

You may easily write a script (bash, python, perl) that will take a few parameters such as username, description, etc and then let it automatically spit out a new configuration file for each individual user, under for example a folder called /etc/asterisk/sip-users/

Then you tell asterisk to read all those configuration files using an #include statement:

https://wiki.asterisk.org/wiki/display/AST/Using+The+include+and+exec+Constructs

Same deal for the voicemail configuration. One file per subscriber, or you can just let the script append to the end of voicemail.conf and sip.conf

The other option would be to integrate asterisk with a realtime database
https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configuration

And then use database forms to quickly fill in the necessary values, or create store procedures.

Now, this is a task that requires labour. There is no way to have the system guess the values of the new users, therefore you have to feed them to it somehow. That part is laborious. Period. Even if you create a script, you have to feed the script with the necessary values, write them down in a CSV file with the correct format to configure many users in bulk, it all requires you to type the information. Of course, if the system can automatically write 10 or 20 configuration lines  and leave a couple of inputs to you , then that would be a notorious decrease in labour time.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
doddeers668Author Commented:
Hi, thank you for your helpful input. I'll take a look at this next week. I'm already using templates and I think the Db may increase the workload that I'm trying to avoid.
Thanks again and I'll be return with my findings.
José MéndezCommented:
Yup, so like I mentioned, processes that help automate and reduce the workload require an initial workload of its own. So the right question to ask is, in the long run, is it worth the pain?
doddeers668Author Commented:
Thank you for your help and time.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Telecommunications

From novice to tech pro — start learning today.