[asterisk-users] Question regarding keywords in sip.conf/users.conf
Barry L. Kline
blkline at attglobal.net
Mon Nov 3 17:10:32 CST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rob Hillis wrote:
> Unfortunately RealTime isn't going to be an option - it's another level
> of configuration I want to avoid, but more importantly since I'm
> planning on being able to run these scripts on an Astlinux install,
> there won't always be a MySQL database available. If worst comes to
> worst, and the extra configuration included in sip.conf becomes a
> problem, I'll move it to another text-based config file - not my
> preferred option (since I'd like to keep everything close-to-hand) but
> not a major problem since I'm likely to need a separate config file for
> global configuration options anyway.
You could still store them in sip.conf, just make each line a comment.
e.g.:
;[myentry]keyword=value
;[myentry]keyword=value
You could then search for ;[myentry] for your keywords and strip them
off when you write out the real entries.
Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFJD4ToCFu3bIiwtTARAiD2AJ4/5xKHZ3dSt1/J7GdrP0Bfqi5y6gCfQIBE
RScZG7kDyLQOpHGTLeCHsIQ=
=OVRk
-----END PGP SIGNATURE-----
More information about the asterisk-users
mailing list