<div dir="ltr">Thanks for confirming that Joshua. Thought that might be the case. I'll look at a workaround.<div><br></div><div>Andrew</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 October 2016 at 20:20, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Andrew Ivins wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list.<br>
<br>
I use sorcery to configure an astdb backend to my pjsip endpoints.<br>
<br>
This works well, but it would be even better if I could set attribute<br>
defaults for these endpoints in the config file. The way I do it now<br>
forces me to store all endpoint attributes for each endpoint, even when<br>
most of them are effectively defaults. If I need to change one, I need<br>
to update each endpoint in the astdb.<br>
<br>
<br>
Any suggestions?<br>
</blockquote>
<br></span>
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).<br>
<br>
Cheers,<br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
<br>
<br>
-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016<br>
<a href="http://www.asterisk.org/community/astricon-user-conference" rel="noreferrer" target="_blank">http://www.asterisk.org/commu<wbr>nity/astricon-user-conference</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wik<wbr>i/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailma<wbr>n/listinfo/asterisk-users</a><br>
</blockquote></div><br></div>