This application performs four tasks. (1) Listens for REGISTER messages, authenticates the user and keeps track of the location for registered users. (2) When a SIP request message is received for a user who has already registered, it forwards the message to the location of the user. It also forwards the response to the end point. (3) It records all the received request messages into a database. (4) It manages buddy lists for registered users and notifies them of buddy login/logout. In all, this application provides a very simple location, proxy, and presence service. request.uri.host cafesip.org request.to.host cafesip.org request.from.host cafesip.org ExampleSIPRegistrarJiplet This jiplet will receive REGISTER messages, authenticate the users and store the locations of the users. org.cafesip.reference.jiplet.SipRegistrar sip-connector 0 sample-param some value ExampleSIPRecorderJiplet This jiplet will receive all request messages and record them into a database org.cafesip.reference.jiplet.SipRecorder 1 jdbcDriver com.mysql.jdbc.Driver dbUrl jdbc:mysql://localhost/test dbUser nobody ExampleSIPProxyJiplet This jiplet will receive SIP request messages (normal traffic messages, not REGISTER or SUBSCRIBE) and forward them to the registered users. It will also forward the responses back to the end point. org.cafesip.jiplet.sip.ProxyJiplet 2 stateful true addRecordRoute true locationRegister org.cafesip.reference.jiplet.LocationDatabase locationRegisterParam NOTHING forwardLocation ExampleSIPRecorderJiplet ExamplePresenceServiceJiplet This jiplet will receive REGISTER and SUBSCRIBE messages, set up and manage the corresponding watcher/buddy lists, and send NOTIFICATION messages to users when watchee (presentity) presence status changes. org.cafesip.reference.jiplet.SipPresence sip-connector 3 request.method REGISTER request.method REGISTER request.method SUBSCRIBE request.method PUBLISH request.method SUBSCRIBE request.method PUBLISH User Presence and Location ExampleSIPRegistrarJiplet ExamplePresenceServiceJiplet user