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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to