[SR-Users] Kamailio only allowing traffic with machines in the dispatcher.cfg?
davy van de moere
davy.van.de.moere at gmail.com
Mon Feb 18 12:03:50 CET 2013
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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130218/b77b4b2e/attachment.htm>
More information about the sr-users
mailing list