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
On 12-05 14:34, Oliver Zilken wrote:
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:
User agents do not use SUBSCRIBE to indicate their presence -- SUBSCRIBE is used to subscribe to presence notifications from other users.
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
This indicates that the event package in PUBLISH is not supported by pa module, could you send us message dumps ?
Jan.