<p>Open the <span class="keyword">ROUTING.CFG</span> file found in the  <span class="keyword">\config</span> folder within the main program folder.</p>

<p>Calls can be priced differently when made over certain trunks, by particular extensions,
by using different trunk access codes, and from different sites.</p>

<p>This is made possible by use of this routing table.  Some criteria takes precedence over
others  and the hierarchy is as follows:</p>

<ul>
    <li>Extension Routing</li>
    <li>Least-Cost Routing</li>
    <li>Hard Trunk Routing</li>
	<li>Trunk Access Routing</li>
    <li>Site Routing</li>
</ul>

<p>Each set of criteria should be listed in its own section.  Sections are defined by
inserting the section name in square brackets.</p>

<p>A typical routing configuration may look like this:</p>
[Extension]

3000 = Payphone
3001 = Payphone
3002 = Payphone
3003 = Payphone

[Trunk]

2001 = NTL
2002 = NTL
2003 = NTL
2004 = NTL
2005 = NTL
2006 = NTL
2007 = NTL

[Access Code]

78 = PrivateWire

[Site]

Default Site = BT
<p>In this example, assuming the default tariff table is set to <span class="reference">BT</span>,
then any call data from the site <span class="reference">Default Site</span> would be reinforced as a BT call.</p>

<p>If, however, a call was made using the trunk access code <span class="keyword">78</span>, it would be costed as a <span class="reference">PrivateWire</span> call.</p>

<p>This would be overridden if the call was made over any of the trunks 2001
to 2007.  In this case it would be costed at <span class="reference">NTL</span> rates.</p>

<p>However, taking precedence above all of this, if the call was made from any of the
extensions 3000 to 3003, it would be priced using the <span class="reference">Payphone</span> rate.</p>