JBoss.orgCommunity Documentation
The SIP Wake Up Example is JAIN SLEE 1.1 Application which handles SIP MESSAGE requests containing a specific content format, to trigger a wake up message. The wake up message and target user are extracted from the SIP MESSAGE request, as the duration of the timer to set. Once the timer expires the application will get all SIP entities registered as the target user, from SIP Services application, and a SIP MESSAGE request is sent for each of those entities. The diagram below depicts this behavior.
SIP Wake Up Example Functionality
The MESSAGE format to be used is:
[any text string]WAKE UP IN [timer value in seconds]s! MSG: [msg to send back to UA]![any text string].
The parts out of are case sensitive tokens used by the service to parse the message. Also note that the spaces between tokens and values are required. A message that does not complaints with this format will produce error behavior in the service.