Hi Andreas,
The following code will do it: if (is_method("SUBSCRIBE|NOTIFY")) { sl_send_reply("501", "SUBSCRIBE and NOTIFY not supported"); exit; };
Regards, Ovidiu Sas
On 5/1/07, Andreas Sikkema andreas.sikkema@bbeyond.nl wrote:
Hi,
I've been googling for a while and I haven't been able to find out how to do the following:
I would like to reject all SUBSCRIBE and NOTIFY messages received by my OpenSER server. How do I do properly?
if (method=="SUBSCRIBE") { };
if (method=="NOTIFY") { };
I couldn't find any examples and Google also didn't find anything that pointed me in the right direction.
Thanks!
-- Andreas Sikkema
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users