I use something like this on my boxes to keep them foreigners out:

if ( !ds_is_from_list() ) {
  sl_send_reply("403","Your not in my dispatcher list");
}

Put this high up your config.

Cheers

On 18 Feb 2013, at 11:58, Benjamin Henrion wrote:

> Hi,
> 
> Does someone know/uses a simple rule so that Kamailio only exchanges
> traffic with machines in the dispatcher?
> 
> Best,
> 
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-3500762
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to