[Users] Rejecting SUBSCRIBE/NOTIFY messages

Atle Samuelsen clona at cyberhouse.no
Tue May 1 13:58:18 CEST 2007


Hi,

use sl_send_reply() function, and them terminate it afterwords with a
break (or maybe it's exit in openser)

-Atle

* Andreas Sikkema <andreas.sikkema at bbeyond.nl> [070501 13:43]:
> 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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list