<!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.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, </FONT></DIV>
<DIV><FONT face=Arial size=2>I have ser running fine with accounting for local
calls but when I make forwarding it doesn't write to the to table acc... No
invite, no ack, no bye ??!!!</FONT></DIV>
<DIV><FONT face=Arial size=2>Here is my request routing logic:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>route{</FONT></DIV>
<DIV><FONT face=Arial size=2> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
break;<BR>
};<BR> if ( msg:len > max_len )
{<BR>
sl_send_reply("513", "Message too
big");<BR>
break;<BR> };</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2><BR>
record_route();<BR>
setflag(1);<BR>
setflag(2);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> if
(uri=~"^sip:[0-9]*@sip.exsisto.com")
{<BR>
rewritehost("172.168.2.14");<BR>
forward( 172.168.2.14, 5060
);<BR> break;<BR>
}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> if
(loose_route())
{<BR>
t_relay();<BR>
break;<BR> };</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> if
(uri==myself)
{<BR>
if (method=="REGISTER")
{<BR>
if (!www_authorize("172.168.2.15", "subscriber"))
{<BR>
www_challenge("172.168.2.15",
"0");<BR>
break;<BR>
};<BR>
save("location");<BR>
save("aliases");<BR>
break;<BR>
};</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>
if (!lookup("aliases"))
{<BR>
sl_send_reply("404", "Not
Found");<BR>
break;<BR>
};<BR> };</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> if
(!t_relay())
{<BR>
sl_reply_error();<BR>
};<BR>}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Somebody knows what's the problem or what I havent
done?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance!</FONT></DIV>
<DIV><FONT face=Arial size=2>Pavel Siderov</DIV></FONT><FONT face=Arial
size=2></FONT></BODY></HTML>