[asterisk-users] Sorcery with templates
Joshua Colp
jcolp at digium.com
Sat Oct 1 07:20:41 CDT 2016
Andrew Ivins wrote:
> Hi list.
>
> I use sorcery to configure an astdb backend to my pjsip endpoints.
>
> This works well, but it would be even better if I could set attribute
> defaults for these endpoints in the config file. The way I do it now
> forces me to store all endpoint attributes for each endpoint, even when
> most of them are effectively defaults. If I need to change one, I need
> to update each endpoint in the astdb.
>
>
> Any suggestions?
There's no way to do this. Templates are purely a config file construct
(in fact sorcery and other stuff has no idea you've used templates by
the time it gets the data).
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list