[asterisk-users] realtime sip.conf and templates

Olle E. Johansson oej at edvina.net
Fri Jun 7 04:18:19 CDT 2013


6 jun 2013 kl. 17:41 skrev Daniel Pocock <daniel at pocock.com.au>:

> On 06/06/13 15:51, Daniel Pocock wrote:
>> Is the template capability in sip.conf compatible with realtime sip.conf
>> entries such as users in a database?
>> 
>> I notice that contrib/realtime/mysql/sippeers.sql and the wiki page
>> don't mention a template column:
>> 
>> https://wiki.asterisk.org/wiki/display/AST/SIP+Realtime%2C+MySQL+table+structure
>> 
>> while some third-party examples do suggest that a column named
>> "template" is permitted:
>> 
>> http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip
> 
> I have actually tried adding that column "template" into sippeers and
> setting the value as the name of a template from my sip.conf - on
> Asterisk 11.4, it seems to ignore the column.  If there is a way to do
> this, it would be useful to have it in the wiki.
> 
The templates are part of the configuration file (text files) parser and 
not supported in databases.

/O

-----
SIP Masterclass in Malaga Spain - July 2013!
Register now - read more at 
http://edvina.net/blog/2013/01/sipmaster-malaga-2013/


More information about the asterisk-users mailing list