[Kamailio-Users] drop in branch/onsend-route in kam-3.0
Jon Bonilla (Manwe)
manwe at aholab.ehu.es
Thu Apr 8 15:15:42 CEST 2010
El Thu, 8 Apr 2010 14:52:15 +0200
Iñaki Baz Castillo <ibc at aliax.net> escribió:
>
> > Any ideas on how to accomplish dropping a specific branch?
>
> If you use it to drop requests going to "unsafe" destinations (like
> when a REGISTER contains a spoofed "Contact" URI pointing to a gw or
> the proxy itself) then I recommend using blcklist for this purpose.
> This is, you set the list of IP's for gateways and proxies (forbidden
> addresses into a registration Contact) and enable such blacklist after
> doing lookup. If a branch tries to go to one of these addresses it
> will be dropped by t_relay (and will return certain code I don't
> remember now).
> I use it and works well.
>
This is not the case. It's for dropping some local branches. :(
More information about the sr-users
mailing list