<div>Hi All,</div>
<div> </div>
<div>I have a real simple load balancer proxy setup using the dispatcher module, works great.  I want to do an alias lookup before I send the calls through to the dispatcher, but I can&#39;t seem to find a good example of how that should be setup in the config script.  I&#39;ve tried different things, the aliase_db_lookup is working but if a user is not in the database, the call loops and does not continue on to the dispatcher.  Here is my current route script (this does not work):</div>

<div> </div>
<div>route{</div>
<div>        # initial sanity checks -- messages with<br>        # max_forwards==0, or excessively long requests               <br>        if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>                sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);<br>
                exit;<br>        };</div>
<div>        if (msg:len &gt;=  2048 ) {<br>                sl_send_reply(&quot;513&quot;, &quot;Message too big&quot;);<br>                exit;<br>        };</div>
<div><br>        alias_db_lookup(&quot;dbaliases&quot;);<br>        t_on_failure(&quot;1&quot;);<br>        t_relay();</div>
<div> </div>
<div>        ds_select_dst(&quot;1&quot;, &quot;4&quot;);<br>        t_on_failure(&quot;1&quot;);<br>        t_relay();<br>}</div>
<div><br>failure_route[1] {<br>        ds_next_dst();<br>        forward();<br>        }<br clear="all"></div>
<div>I think there should be an &#39;if&#39; &#39;then&#39; or &#39;if&#39; &#39;else&#39; separating the alias_db_lookup and the ds_select functions, but I&#39;m not sure of the syntax and where the curly brackets need to be.</div>

<div> </div>
<div>Thanks.</div>
<div> </div>
<div>JR</div>
<div>-- <br>JR Richardson<br>Engineering for the Masses<br></div>