Hi all,
 
I'm thinking why my ser couldn't log accounting if I redirect a call to an FXO voip gateway?
 
I observed that I didn't saw any INVITE, ACK message on the logs except BYE message.
 
Here's my setup:
 
sip ip phone ---> ser --- fx0 voip gateway
 
heres my config:
 
if ( (uri=~"^sip:123[0-9]*@.*") ) {
     route(5);
    break;
};
 
route[5] {
if ( (uri=~"^sip:123[0-9]*@.*") ) {
    rewritehostport("fx0.voipgateway.com:5060");
    #rewritehostport("fx0.voipgateway.com:5090");
    forward(uri:host, uri:port);
    break;
};
}