Hi Inaki
Due to NAT issue and timer on a following proxy, the registration period of the phones is
60 seconds. Thus, I have the possibility to keep track of the phone status.
A proper behaviour for this case is assumed: Every phone, that sent a INVITE and is alive
(sends RE-REGISTER) must and will send a BYE in any case.
Regards
Sebastian
-----Original Message-----
From: Iñaki Baz Castillo [mailto:ibc@in.ilimit.es]
Sent: Thursday, 22. May 2008 12:28 PM
To: users(a)lists.openser.org
Subject: Re: [OpenSER-Users] Problem PUA_USRLOC,Presence acc. REGISTER/INVITE
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.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es