<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3700.6699" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm thinking why my ser couldn't log accounting if 
I redirect a call to an FXO voip gateway?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I observed that I didn't saw any INVITE, ACK 
message on the logs except BYE message.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here's my setup:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sip ip phone ---&gt; ser --- fx0 voip 
gateway</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>heres my config:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if ( (uri=~"^sip:123[0-9]*@.*") ) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp; route(5);<BR>&nbsp;&nbsp;&nbsp; 
break;<BR>};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>route[5] {</FONT></DIV>
<DIV><FONT face=Arial size=2>if ( (uri=~"^sip:123[0-9]*@.*") ) 
{<BR>&nbsp;&nbsp;&nbsp; 
rewritehostport("fx0.voipgateway.com:5060");<BR>&nbsp;&nbsp;&nbsp; 
#rewritehostport("fx0.voipgateway.com:5090");<BR>&nbsp;&nbsp;&nbsp; 
forward(uri:host, uri:port);<BR>&nbsp;&nbsp;&nbsp; 
break;<BR>};<BR>}</FONT></DIV></BODY></HTML>