[Asterisk-biz] Looking for a configuration software

Colin Anderson ColinA at landmarkmasterbuilder.com
Wed Sep 28 11:18:03 MST 2005


>1)Once AMP is in place, we cannot make changes to the config files using
>any editor as they are overwritten. This is a major issue as some times
>it is esssential to by pass what AMP configures. What is the remedy for
>this? Do you have plans to sync-up config files to the DB also?

I create the extension in AMP which writes the sip.conf correctly and
creates the voicemail box, then in extensions.conf:

[from-pstn]

include => mycustomcontext

and in extensions_custom.conf:

[mycustomcontext]

exten => myextension,s,1,DoStuff()

As long as the include is at the top of the from-pstn context, it is parsed
before hitting the AMP stuff, thereby bypassing any AMP logic. AMP is good
about not fooling around with includes in extensions.conf and leaves them
alone. extensions_custom.conf AMP leaves alone 100%.

Reason I do it this way is I don't trust my fingers to not make a typo in
sip.conf and voicemail.conf. 

Only drawback to this is sometimes you and AMP have to dance around each
other for precisely the reason you mention and eventually you have spaghetti
conf files from hell. I don't know how this could be done otherwise though
with a flat file. 

hth



More information about the asterisk-biz mailing list