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