[Kamailio-Users] Accounting: How to avoid a fraudulent BYE with lower CSeq?

Iñaki Baz Castillo ibc at aliax.net
Mon Dec 22 17:05:30 CET 2008


2008/12/22 Juha Heinanen <jh at tutpro.com>:
> Iñaki Baz Castillo writes:
>
>  > - alice sends this BYE:
>  >
>  >   BYE sip:PSTN_NUMBER at PSTN_GATEWAY SIP/2.0
>  >   Route: <sip:PROXY_IP>
>  >   Route: <sip:alice at ALICE_PHONE_IP>
>
> in this particular case, you could call to_gw() and find out that
> request is going to gw and, if so, drop the request it is has more than
> one route header (the one for the proxy itself).

Sure Juha, but don't you agree with me that finally there are too many
exotic checks?
Sincerely I can't expect that any user configuring a proxy for
accounting purposes will take all this "features" in mind.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Users mailing list