[Users] presence cfg example for trunk versions

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jun 6 19:53:05 CEST 2007



Toni Barata wrote:
> Hi all
> 
>  
> 
> Can someone send me an openser.cfg example with presence support for 
> trunk version?


Can you read the documentation of the presence module? ;-)

	if(is_method("PUBLISH"))
	{
			handle_publish("");
	}
...

if(method=="SUBSCRIBE")
     handle_subscribe();


regards
klaus




More information about the Users mailing list