[Serusers] Correct usage of pa module for serweb ???!
Jan Janak
jan at iptel.org
Thu May 13 13:07:27 CEST 2004
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.
More information about the sr-users
mailing list