On Wed, 2009-09-23 at 08:57 +0200, Jakob Schlyter wrote: > On 18 maj 2009, at 10.43, Fredrik Thulin wrote: >
> has anyone implemented something like this? I'd like to use this to > add support for simple blacklisting: > > 1) use a regexp to transform the From: (or perhaps P-Asserted-Identity > with tel:) into an E.164 number > 2) do a ENUM-like lookup in some configurable domain, like query for > 0.0.0.8.7.8.7.1.3.6.4.e164.arpa. TXT Is type of blacklisting used in SIP devices and/or documented in any draft or similar? > 3) if something record at the given domain name, reject the call with > '603 Decline' > I don't agree with this reponse code. It needs to be configurable or of type 4xx, because 6xx is harmful I think. /Mikael > I'm no erlang wizkid, but I could assist in setting up the DNS stuff > if someone can assist with the code. > > jakob > > _______________________________________________ > Yxa-devel mailing list > Yxa-devel@lists.su.se > https://lists.su.se/mailman/listinfo/yxa-devel _______________________________________________ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel