[asterisk-users] Simplifying similiar sip trunks
Larry Alkoff
labradley at mindspring.com
Thu Jan 18 13:37:17 MST 2007
I have over 12 sip trunks that are very similiar, like extension 412 below.
Is there any way to have a single variable in [general] that contains
the 7 lines after 'username=412'? This would reduce clutter in sip.conf.
I don't want to put these common lines in [general].
What I have now repeated 12x:
[412]
username=412
context=default
type=friend
qualify=yes
insecure=very
host=dynamic
canreinvite=no
nat=no
I'd like something in [general] like:
grandstream={
context=default
type=friend
qualify=yes
insecure=very
host=dynamic
canreinvite=no
nat=no }
This would allow me to write 12 sip extensions each something like:
[412]
username=412
include=${grandstream}
Is there any syntax that would do this?
Larry
--
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux
More information about the asterisk-users
mailing list