[OpenSER-Users] lack of notify, subscribe problem

Anca Vamanu anca at voice-system.ro
Fri Nov 9 12:55:40 CET 2007


Hello Stanisław,

I am not sure if snom 190 supports server presence. I've searched a bit 
but did not find sufficient info.
Does the phone send other Subscribe messages apart from the ones with 
event: dialog? Does it send any Publish message?

Stanisław Pitucha wrote:
> ----- "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
>
>   
This reply and log messages are the right ones as OpenSer does not 
provide support for dialog event package.

regards,
Anca
 
> Thanks.
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the sr-users mailing list