[OpenSER-Users] lack of notify, subscribe problem

Stanisław Pitucha stanis at zimbra-1.gradwell.net
Fri Nov 9 12:30:34 CET 2007


----- "Anca Vamanu" <anca at voice-system.ro> wrote:
> If you do not use an xcap server, you should set the force_active 
> presence module parameter in 1.2.x and presence_xml module parameter
> in 
> 1.3  to positive value.
> More info here: 
> http://www.openser.org/dokuwiki/doku.php/presence:module-exports

I'm using force-active=1 - still, no NOTIFY information is sent.
Relevant parts from config:

modparam("presence|pua", "db_url", "mysql://openserrw:openserrw@192.168.0.134/openser")
modparam("presence", "server_address", "sip:192.168.0.134:9876")
modparam("presence", "fallback2db", 1)
modparam("presence_xml", "db_url", "mysql://openserrw:openserrw@192.168.0.134/openser")
modparam("presence_xml", "force_active", 1)
modparam("presence_xml", "xcap_table", "xcap_xml")
modparam("pua_usrloc", "default_domain",   "XXX")

in route:
handle_publish, handle_subscribe on is_method("PUBLISH") and is_method("SUBSCRIBE")
(looks mostly like http://www.openxcap.org/wiki/Installation, but I'm not using openxcap)

Anything else I should have added there?

> > 2. Phone issue. Trying to start subscribe on snom 190 - messages
> There was an wrong match with the dialog;sla event that version 1.3
> has support for. It is fixed now. Thanks.

With last svn update it stops after subscribe, I don't even get 202 OK like before.
Messages from Snom 190:

SUBSCRIBE sip:AAA at XXX;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.0.112:2078;branch=z9hG4bK-cilxh214xgmc;rport
From: <sip:BBB at XXX>;tag=bhscby89jz
To: <sip:AAA at XXX;user=phone>
Call-ID: 3c26700c5573-eye598917qwu at snom190
CSeq: 1 SUBSCRIBE
Max-Forwards: 70
Contact: <sip:BBB at 192.168.0.112:2078;line=g4ev9jb3>
Event: dialog
Accept: application/dialog-info+xml
Expires: 3600
Content-Length: 0

It gets "489 bad event" response.

>From openser output:
ERROR:presence:handle_subscribe: Missing or unsupported event header field value
ERROR:presence:handle_subscribe:        event= dialog

Thanks.




More information about the Users mailing list