Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to Asterisk, and I, would like to include a file that stores all of the common settings for my SIP phones to avoid duplication. Can I use #include more than once in sip.conf to accomplish this?

share|improve this question
up vote 2 down vote accepted

Have you actually tried to do it and see what happens?

(The answer is yes).

share|improve this answer
I figured it was so. I just don't have more than one phone yet :) – Sean W. May 22 '12 at 21:06
OK, but Asterisk doesn't know that, does it? :) Also, you can use this to include other options as well, just for testing. – Sven May 22 '12 at 21:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.