Neat and tidy SIP.CONF


is there a way to use macro’s for sip.conf ?

Or put stuff in general ?

I would like to add sip peers in sip.conf without repeating al the parameters, sonce most of them have the same value



The neatest way is to create a seperate directory for example sipconfs_d

then include this with a wild card, and add all your peers in their own conf files for example 1100.conf 1101.conf etc.


wow, so i’ll have 500 files for 500 phones ?? Doesn’t sound neat and tidy to me…but then again, i’m new to *

Macro’s are not possible ?

And putting all in the database, is this a often used mothod ?


you need asterisk realtime