Keywords: asterisk

### Additional Examples

(in top-level sip.conf)

-     [defaults](!)
      type=friend
      nat=yes
      qualify=on
      dtmfmode=rfc2833
      disallow=all
      allow=alaw

      #include accounts/*/sip.conf

(in accounts/customer1/sip.conf)

-     [def-customer1](!,defaults)
      secret=this_is_not_secret
      context=from-customer1
      callerid=Customer 1 <300>
      accountcode=0001

      [phone1](def-customer1)
      mailbox=phone1@customer1

      [phone2](def-customer1)
      mailbox=phone2@customer1

This example defines two phones - phone1 and phone2 with settings inherited from "def-customer1". The "def-customer1" is a template that inherits from "defaults", which also is a template.