Hello,
many thanks to all developers of the new presence server. Its a great enhancement to OpenSER.
As a small contribution from my side I did some tests with Eyebeam clients. Now I found, that the immediate NOTIFY according to RFC3265 § 3.1.6.2 is missing.
To document the behaviour I have attached a trace-file from the server. Frame 6 contains a SUBSCRIBE request which is not confirmed with an immediate NOTIFY request. The first NOTIFY is sent only four minutes later after the first presence state change of the presentity occurred (frame 30).
Cheers Franz
Franz Edler wrote:
Hello,
many thanks to all developers of the new presence server. It’s a great enhancement to OpenSER.
As a small contribution from my side I did some tests with Eyebeam clients. Now I found, that the immediate NOTIFY according to RFC3265 § 3.1.6.2 is missing.
To document the behaviour I have attached a trace-file from the server. Frame 6 contains a SUBSCRIBE request which is not confirmed with an immediate NOTIFY request. The first NOTIFY is sent only four minutes later after the first presence state change of the presentity occurred (frame 30).
Cheers Franz
Hello,
I have same problem...
Regards, Henri
Thanks for reporting the problem. It should now be fixed on cvs.
Anca Vamanu
Franz Edler wrote:
Hello,
many thanks to all developers of the new presence server. It’s a great enhancement to OpenSER.
As a small contribution from my side I did some tests with Eyebeam clients. Now I found, that the immediate NOTIFY according to RFC3265 § 3.1.6.2 is missing.
To document the behaviour I have attached a trace-file from the server. Frame 6 contains a SUBSCRIBE request which is not confirmed with an immediate NOTIFY request. The first NOTIFY is sent only four minutes later after the first presence state change of the presentity occurred (frame 30).
Cheers Franz
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello,
when presence server tries to send notify message I get these:
6(2928) DEBUG:tm:t_uac: next_hop=sip:+358xxxxxxxx@x.x.x.x:1024 6(2928) DEBUG: mk_proxy: doing DNS lookup... 6(2928) DEBUG:destroy_avp_list: destroying list (nil) 6(2928) DEBUG: dlg2hash: 50692 6(2928) DEBUG: add_to_tail_of_timer[4]: 0xa5bdd534 6(2928) DEBUG: add_to_tail_of_timer[0]: 0xa5bdd544 6(2928) PRESENCE: handle_publish: sip-etag: [SIP-ETag: a.1162208045.2928.2 /31] 6(2928) DEBUG:sl_send_reply: can't find avp 6(2928) parse_headers: flags=ffffffffffffffff 6(2928) check_via_address(x.x.x.x, x.x.x.x, 0) 6(2928) DEBUG: t_check: msg id=2 global id=2 T start=0xa5bd9e18 6(2928) DEBUG: t_check: T already found! 6(2928) DEBUG: cleanup_uac_timers: RETR/FR timers reset 6(2928) DEBUG: add_to_tail_of_timer[2]: 0xa5bd9e60 6(2928) DEBUG:tm:UNREF_UNSAFE: after is 0 6(2928) DEBUG:destroy_avp_list: destroying list (nil) 6(2928) receive_msg: cleaning up 10(2932) DEBUG: timer routine:4,tl=0xa5bdd534 next=(nil) 10(2932) DEBUG: retransmission_handler : request resending (t=0xa5bdd418, NOTIFY si ... ) 10(2932) DEBUG: add_to_tail_of_timer[5]: 0xa5bdd534 10(2932) DEBUG: retransmission_handler : done 10(2932) DEBUG: timer routine:7,tl=0xa5bdb3dc next=(nil) 10(2932) DEBUG: retransmission_handler : request resending (t=0xa5bdb2c0, NOTIFY si ... ) 10(2932) DEBUG: add_to_tail_of_timer[7]: 0xa5bdb3dc 10(2932) DEBUG: retransmission_handler : done 10(2932) DEBUG: timer routine:2,tl=0xa5be0810 next=(nil) 10(2932) DEBUG: wait_handler : removing 0xa5be07c8 from table 10(2932) DEBUG: delete transaction 0xa5be07c8 10(2932) DEBUG: wait_handler : done
Why doesn't presence server send any notify? If I take ngrep there are only subs/publish and no notify messages... Any ideas?
Thanks, Henri
Why doesn't presence server send any notify? If I take ngrep there are only subs/publish and no notify messages... Any ideas?
If the presence server gets any valid SUBSCRIBE it MUST send an immediate NOTIFY for confirmation. And it does as verified yesterday.
To illustrate the correct behaviour I have attached a small tracefile created with Ethereal/Wireshark and sip-scenario-trace. It shows my two Eybeam clients at login and logout simply exchanging presence and presence.winfo subscriptions.
If you are not used to sip-szenarios-trace: You have to store both html-files locally and click on "presence_index.html" to get the comfortable frame-view. Note also the different dialogs presented in different colours.
Cheers Franz
Franz Edler wrote:
Why doesn't presence server send any notify? If I take ngrep there are only subs/publish and no notify messages... Any ideas?
If the presence server gets any valid SUBSCRIBE it MUST send an immediate NOTIFY for confirmation. And it does as verified yesterday.
To illustrate the correct behaviour I have attached a small tracefile created with Ethereal/Wireshark and sip-scenario-trace. It shows my two Eybeam clients at login and logout simply exchanging presence and presence.winfo subscriptions.
If you are not used to sip-szenarios-trace: You have to store both html-files locally and click on "presence_index.html" to get the comfortable frame-view. Note also the different dialogs presented in different colours.
I solved my problem and it was only nat and firewall that stoped notify messages...
Thanks, Henri Keski-Sikkila
Franz Edler wrote:
Thanks for reporting the problem. It should now be fixed on cvs.
I have just verified the fix, its excellent. Thank you for the very quick fix.
BTW: How to disable the debug-logs of presence module?
Hello,
until further notice I set in openser.cfg file debug=-3. I think this is only temporary...
Best Regards, Henri Keski-Sikkila
Hello,
I tested imc module and when I started openser I got:
submit_query: Table 'openser.imc_rooms' doesn't exist 0(0) db_query: Error while submitting query 0(0) imc:mod_init:ERROR while querrying table 0(0) IMC:mod_init: error while getting information from db
Are there any "create database script" that I should use?
BR, Henri Keski-Sikkila
Hello,
We added the sql script in the README file. Please take the latest version from cvs. Thank you for reporting the error.
Anca Vamanu
henri keski-sikkila wrote:
Hello,
I tested imc module and when I started openser I got:
submit_query: Table 'openser.imc_rooms' doesn't exist 0(0) db_query: Error while submitting query 0(0) imc:mod_init:ERROR while querrying table 0(0) IMC:mod_init: error while getting information from db
Are there any "create database script" that I should use?
BR, Henri Keski-Sikkila
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users