[Serusers] Correct usage of pa module for serweb ???!

Oliver Zilken Oliver.Zilken at fokus.fraunhofer.de
Wed May 12 14:34:20 CEST 2004


HI,

now that ser's pa module is finally working (thanks to Jan),  I cannot
figure it out how to get it working correctly with serwebs presence
Display.

I have set the following modparams in my ser.cfg:

# -- pa params --
modparam("pa", "default_expires", 60)
modparam("pa", "pa_domain","sip.fokus.fraunhofer.de")
modparam("pa", "use_db", 1)
modparam("pa", "db_url", "mysql://ser:heslo@localhost/ser")

The SUBCRIBE-messages are handled by this code:

if(t_newtran()){
	if (method=="SUBSCRIBE" || method=="PUBLISH"){ 
		handle_subscription("registrar");			
		break;
	};
};

But when a UAC sends a SUBCRIBE to indicate its presence, the syslog
says the following error:

May 12 14:30:31 sip /usr/local/sbin/ser[10176]: ***********entering main
route with method=SUBSCRIBE**************
May 12 14:30:31 sip /usr/local/sbin/ser[10176]: handle_subscription()
entered 
May 12 14:30:31 sip /usr/local/sbin/ser[10176]: check_message():
Unsupported event package event=0x8105808 et=0 len=10 
May 12 14:30:31 sip /usr/local/sbin/ser[10176]: handle_subscription():
Error while checking message 
May 12 14:30:31 sip /usr/local/sbin/ser[10176]: handle_subscription
about to send_reply and return -2 
May 12 14:30:31 sip /usr/local/sbin/ser[10176]: ERROR: warning_builder:
buffer size exceeded 
May 12 14:30:31 sip /usr/local/sbin/ser[10176]: WARNING: warning skipped
-- too big 

Did I do something wrong ?
How is the correct usage of this module ?


Greets,

Oliver




More information about the sr-users mailing list