# Where do routes get stored?

**URL:** <https://community.asterisk.org/t/where-do-routes-get-stored/15132>\
**Category:** Asterisk Support\
**Created:** [June 19, 2007, 7:24pm UTC](https://community.asterisk.org/t/where-do-routes-get-stored/15132 "2007-06-19T19:24:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ciralia](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Ciralia](https://community.asterisk.org/u/Ciralia)\
**Post date:** [June 19, 2007, 7:24pm UTC](https://community.asterisk.org/t/where-do-routes-get-stored/15132/1 "2007-06-19T19:24:11Z")

</div>

After a SIP device such as an IP phone gets registered correctly with an Asterisk Server, where is the routing information kept? And can it be modified by hand?

---

<div class="post-metadata">

**Author:** ![bmoraca](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bmoraca](https://community.asterisk.org/u/bmoraca)\
**Post date:** [June 20, 2007, 4:13am UTC](https://community.asterisk.org/t/where-do-routes-get-stored/15132/2 "2007-06-20T04:13:25Z")

</div>

The dialplan is stored in /etc/asterisk/extensions.conf, and yes it can be modified by hand.

[voip-info.org/tiki-index.php … sions.conf](http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf) is a great resource for manual editing of the dialplan.

After editing, you’ll need to type either reload at the Asterisk CLI or run the linux command /sbin/service asterisk reload in order to activate the changes.

---

<div class="post-metadata">

**Author:** ![Ciralia](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Ciralia](https://community.asterisk.org/u/Ciralia)\
**Post date:** [June 20, 2007, 12:54pm UTC](https://community.asterisk.org/t/where-do-routes-get-stored/15132/3 "2007-06-20T12:54:00Z")

</div>

I have edited the extensions.conf file before but I’m not sure it is what I need. The reason I want to manually edit where routes are stored is because I am having trouble registering a device with the asterisk server… so I wanted to input routes to the device by hand so the server would know how to relay call packets to it.

---

<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 20, 2007, 1:04pm UTC](https://community.asterisk.org/t/where-do-routes-get-stored/15132/4 "2007-06-20T13:04:43Z")

</div>

You have to check sip.conf, where every sip device that has to work with \* should be defined, so look for the parameter host, in the section where you have defined your phone, if there the keyword “dynamic” the phone needs to register with \*, if there is an ip address the phone doesn’t need to register and \* will use this ip address to contact the phone.

Regards.

---

<div class="post-metadata">

**Author:** ![Ciralia](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Ciralia](https://community.asterisk.org/u/Ciralia)\
**Post date:** [June 20, 2007, 1:19pm UTC](https://community.asterisk.org/t/where-do-routes-get-stored/15132/5 "2007-06-20T13:19:02Z")

</div>

Thank you that is exactly what I needed 😃
