<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Here is what I want to do. Domestic routing defining interlata and
intralata based off of ani and dnis (from uri and uri). Now let's not dive too
much into the whole domestic routing thing or we'll be here for the next
century. Bottom line is, this what I want to do with openser. <BR>1. Look
at ani (from_uri) (NPA - first 3 digits)<BR>2. Look at dnis (uri) - (NPA - first
3 digits)<BR>3. If the NPA (first 3 digits) in ani is in same as the DNIS
NPA then redirect 555dnis@ip_address <BR>4. If ANI NPA is in same as DNIS
NPA then redirect 999dnbis@ip_address <BR>I am redirecting so I can be and
stay stateless <BR></DIV>
<DIV>I am able to redirect but unable to figure out correct syntax for it to
look at ani and dnis then redirect appropriately.<BR><BR>Thanks all
<BR></DIV></BODY></HTML>