You are tying this to the GW because the GW has a cost to you?
If so, then why isn't it the GW that is generating the accounting?
Or are you saying that you are routing the call to a GW, not controlled
by you, that will bill you? And you want to generate your own accounting
so you can bill back *your* customer?
Thanks,
Paul
Alex Hermann wrote:
> On Thursday 18 December 2008 15:10:21 Iñaki Baz Castillo wrote:
>> What about if the gateway sends a valid BYE, the proxy forwards it to
>> the user and the user doesn't reply 200 OK?
>> If the proxy should rely on the 200 OK for BYE then the this call
>> wouldn't be accounted.
>
> The accounting should end when you received the BYE from your gateway.
> Regardless if or what the client answers, you know that the gateway has ended
> the media before it sends the BYE (it should).
>
> The other way around, you know the gateway will has ended the call if it
> sends
> out the 200 OK for a BYE.
>
>
> You can only trust the gateway, so you can stop accounting if you receive a
> BYE or a response on a BYE from your gateway, You shouldn't trust requests
> and responses from clients, only from your gateway.
>
>
>
> Alex.
>
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors