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

Reply via email to