[asterisk-users] Sorcery with templates
andrew at ivins.id.au
Sat Oct 1 22:01:57 CDT 2016
Thanks for confirming that Joshua. Thought that might be the case. I'll
look at a workaround.
On 1 October 2016 at 20:20, Joshua Colp <jcolp at digium.com> wrote:
> 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).
> 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
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users