[Users] Rejecting SUBSCRIBE/NOTIFY messages

Andreas Sikkema andreas.sikkema at bbeyond.nl
Thu May 3 18:45:49 CEST 2007


Ovidiu,

> The following code will do it:
>     if (is_method("SUBSCRIBE|NOTIFY")) {
>         sl_send_reply("501", "SUBSCRIBE and NOTIFY not supported");
>         exit;
>     };

And 501 is the appropriate error to send back?

-- 
Andreas Sikkema




More information about the Users mailing list