# Trying to use "include =\>"

**URL:** <https://community.asterisk.org/t/trying-to-use-include/15324>\
**Category:** Asterisk Support\
**Created:** [June 29, 2007, 9:19am UTC](https://community.asterisk.org/t/trying-to-use-include/15324 "2007-06-29T09:19:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![powystraining](https://avatars.discourse-cdn.com/v4/letter/p/8c91f0/32.png) [@powystraining](https://community.asterisk.org/u/powystraining)\
**Post date:** [June 29, 2007, 9:19am UTC](https://community.asterisk.org/t/trying-to-use-include/15324/1 "2007-06-29T09:19:57Z")

</div>

Hi,

I have a basic installation running OK 😃

As we have ~70 users to set up I have thought about exporting their details from an existing database into a suitable format for sip.conf instead of having to type all the details individually.

Rather than adding them to the end of sip.conf I thought I could create a file “mysip.conf” and put a line at the end of the original sip.conf “include =\> mysip.conf” but it doesn’t seem to work.

Am I trying to do something that just won’t work ? I’d like to do similar with extensions.conf too.

Thanks

Mike

---

<div class="post-metadata">

**Author:** ![mbruni](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mbruni](https://community.asterisk.org/u/mbruni)\
**Post date:** [June 29, 2007, 10:21am UTC](https://community.asterisk.org/t/trying-to-use-include/15324/2 "2007-06-29T10:21:15Z")

</div>

Try “#include mysip.conf”,  
infact [voip-info.org/tiki-index.php … sions.conf](http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf) tells:  
With the #include statement in extensions.conf, other files are included. This way you can setup a system where extensions.conf is the main file, users.conf contain your local users, services.conf contain various services, like conferencing. This way, the dial plan may be easier to maintain, depending on the size of your setup. The #include statement is not the same as the include statement. The #include statement works in all Asterisk configuration files.

Regards.

---

<div class="post-metadata">

**Author:** ![powystraining](https://avatars.discourse-cdn.com/v4/letter/p/8c91f0/32.png) [@powystraining](https://community.asterisk.org/u/powystraining)\
**Post date:** [June 29, 2007, 10:35am UTC](https://community.asterisk.org/t/trying-to-use-include/15324/3 "2007-06-29T10:35:38Z")

</div>

Perfect, many thanks

Mike 😄
