El Thursday 22 May 2008 11:51:50 Schumann Sebastian escribió:
Dear all
I have a problem, which I thought I can solve with PUA_USRLOC. I have a OpenSER SIP Proxy and want him to create presence information about the messages that pass him.
Some examples:
- REGISTER: Publish as online/available
- REGISTER+Expires=0: Publish as offline
- INVITE/200 OK: Publish as busy
- BYE: Publish as available again.
How will you handle the case in which BYE is never recived? (becasue UAC crashes). Yes, then the "Expires" of the PUBLISH will work but how will you handle calls of very long duration? Note that after an INVITE it's possible you get nothing SIP until the BYE.