[Kamailio-Users] drop in branch/onsend-route in kam-3.0
Daniel-Constantin Mierla
miconda at gmail.com
Thu Apr 8 15:23:21 CEST 2010
Hi,
seems this part was forgotten during the integration process. I attached
a patch that should fix it, please test it (i didn't at all) and let me
know the results.
If all ok I will double check with Andrei to see if breaks something in
the new TM architecture and then push it to git either under #!KAMAILIO
compat mode or enabled all time if everyone agrees.
Thanks,
Daniel
On 4/8/10 3:15 PM, Jon Bonilla (Manwe) wrote:
> 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. :(
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla * http://www.asipto.com/ *
http://twitter.com/miconda *
http://www.linkedin.com/in/danielconstantinmierla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tm-drop-onbranch.diff
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100408/727a3d6e/attachment.txt>
More information about the sr-users
mailing list