<!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.6000.16674" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" 
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I am using Enum Module in opencer. Here is the piece of the 
code I am using&nbsp;in openser.cfg:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>route<BR>{<BR>&nbsp;&nbsp; 
##############################################################<BR>&nbsp;&nbsp; 
if (method=="INVITE")<BR>&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog 
("This is the ReqUri as it arrives to openser: 
$ru");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # before adding +</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subst_uri 
('/^sip:([0-9]+)/sip:+\1/');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog ("This is 
the ReqUri as it arrives to openser: $ru");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# after adding +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
enum_query("labenum.e164.arpa.com","10.0.0.1");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
xlog("This is the return code from the enum query:&nbsp; $rc");&nbsp;&nbsp; # 
returns -1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("This is your new 
ReqUri:&nbsp; 
$ru");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# no URI change</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>.....</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT size=2>}</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Even though the response from Enum query is being sent to 
openser, enum_query returns&nbsp;-1. enum_query also does not change&nbsp;the 
current URI.&nbsp;</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>here is the format of enum entry in the dns 
server:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2># dig 0.0.0.1.4.8.4.3.1.8.labenum.e164.arpa.com @10.0.0.1 
+short<BR>100 10 "U" "E2U+sip" "!^.*$!sip:+18134841000@bts.voice.net!" .</DIV>
<DIV><BR>Any suggestion?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,<BR></DIV></FONT></BODY></HTML>