[asterisk-users] Sorcery with templates

Andrew Ivins 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.

Andrew

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).
>
> 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
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
>      http://www.asterisk.org/community/astricon-user-conference
>
> New to Asterisk? Start here:
>      https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> 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/20161002/76e74a6b/attachment.html>


More information about the asterisk-users mailing list