OfflineMessaging

Version 4 (Adrian Georgescu, 06/20/2012 08:13 pm) → Version 5/18 (Adrian Georgescu, 06/20/2012 08:14 pm)

h1. OfflineMessaging Application

* Add failure routed to OpenSIPS for chat sessions requests to SylkServer with X-application offline-storage
* SylkServer answers the session in behalf of the called user
* SylkServer sends an automatic answer with 'I am offline but you an type a message'
* Session is kept open for 90 seconds so that remote party has chance to write something if he did not already after connect
* Session is closed and saved to local history database
* SylkServer detects detect when targeted user comes online (find a mechanism)
* Establish a new session to the user that came online and fake the original caller, deliver the stored messages, hangup and wipe delivered messages