[Serusers] Implementing a black list.

CM0002 at aol.com CM0002 at aol.com
Mon Jul 10 15:51:24 CEST 2006


try this:

        # block expensive area codes
        if (uri=~"^sip:00355[0-9].*@.*" |
        uri=~"^sip:00358830[0-9].*@.*" |
        uri=~"^sip:001670.*@.*" |
        uri=~"^sip:001671.*@.*" |
        uri=~"^sip:00247[0-9].*@.*"
               ) {
                       sl_send_reply("409", "Country not in plan");
                       break;
                };

regards Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060710/b738366c/attachment.htm>


More information about the sr-users mailing list