[Serusers] Presence-rule handling in SER2.0
pravin.swami at wipro.com
pravin.swami at wipro.com
Thu May 29 14:20:57 CEST 2008
Dear All,
We are having problems with presence-rules handling of SER 2.0
Presence Server.
+------+ +----------+ +------+
| | | Presence | | |
| UE1 |--------------| Server |--------------| UE2 |
| | | (PS) | | |
+------+ +----------+ +------+
1. UE1 & UE2 subscribe to "watcher-info".
2. UE1 SUBSCRIBEs to UE2's "presence" information.
3. PS sends info winfo-NOTIFY to UE2 (with UE1 status as pending).
4. UE2 fetches its presence-rules.xml document(from path
/var/simulated-xcap-root/pres-rules/users/UE2/presence-rules.xml)
5. UE2 updates presence-rules.xml by adding UE1 into ALLOWLIST section &
PUTs the document back to PS.
6. User changes presence status at UE2. UE2 sends PUBLISH request to PS.
At this stage, PS should trigger presence NOTIFY to UE1. This isn't
happening.
(Another thing we observe is: Everytime watcher subscription is
refreshed, UE2 receives NOTIFY with UE1 status as pending)
Are we missing something in the above callflow?
Should UE2 send any SIP/HTTP request after HTTP PUT presence-rules.xml ?
Are we missing something when building presence-rules.xml ?
We have modified the ser.cfg for presence authorization as per ser
presence Handbook.
modparam("pa", "auth", "xcap")
modparam("xcap", "xcap_root", "http://localhost/xcap-root")
Should I make any more changes to ser.cfg
We have attached the ser.cfg & presence-rules.xml file that we are
using.
Please help us in solving this problem.
Regards,
-Pravin
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ser.cfg
Type: application/octet-stream
Size: 8310 bytes
Desc: ser.cfg
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080529/3334c029/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: presence-rules.xml
Type: text/xml
Size: 1386 bytes
Desc: presence-rules.xml
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080529/3334c029/attachment.bin>
More information about the sr-users
mailing list