History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PHONE-5
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Andrew Wright
Reporter: Andrew Wright
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Asterisk-IM

When a user sends an available presence the old presence is discarded and the phone status info is lost

Created: 08/05/05 11:58 AM   Updated: 10/12/05 04:45 PM
Component/s: Core
Affects Version/s: 1.0.0 Beta 1
Fix Version/s: 1.0.0 Beta 4

Time Tracking:
Not Specified

Resolution Date: 10/04/05 05:48 PM


 Description  « Hide
We are adding a phone-status element to the sessions' presences. The problem is that when a user sends an available presence the old presence is discarded and the phone status element is lost.

Two options to fix this problem:
1) Use a packet interceptor
The packet interceptor will react before the intercepted packet has been processed and is a Presence with no TO attribute or the TO attribute matches the hostname

2) Add a presence event listener
The server does not support presence event listeners but if we add this feature then it would be possible to add a listener that will be invoked when the presence of a ClientSession has been modified.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andrew Wright - 10/04/05 05:48 PM
Added an interceptor that handles this.