[Serusers] only INVITE accounted

Marian Dumitru marian.dumitru at voice-sistem.ro
Thu Feb 17 12:51:25 CET 2005


Hi Luca,

rewritehostport() just modify the RURI without triggering any signaling 
operation. So, you can use it before t_relay(), safely from acc perspective.

Best regards,
Marian

Luca Corti wrote:
> On Thu, 2005-02-17 at 09:46 +0100, Marian Dumitru wrote:
> 
>>You miss the accounting for the GW INVITEs because you use a forward(), 
>>which is a stateless function - acc works only with statefull function.
>>Replace
>>	forward( pstngw.com, 5060 );
>>with
>>	t_relay_to_udp("pstngw.com","5060");
> 
> 
> Would that work with rewritehostport() too?
> 
> thanks
> 
> Luca
> 
> 

-- 
Voice System
http://www.voice-system.ro




More information about the sr-users mailing list