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.
1. Look
at ani (from_uri) (NPA - first 3 digits)
2. Look at dnis (uri) - (NPA - first
3 digits)
3. If the NPA (first 3 digits) in ani is in same as the DNIS
NPA then redirect 555dnis@ip_address
4. If ANI NPA is in same as DNIS
NPA then redirect 999dnbis@ip_address
I am redirecting so I can be and
stay stateless
I am able to redirect but unable to figure out correct syntax for it to
look at ani and dnis then redirect appropriately.
Thanks all