Blink can now setup MSRP sessions that are encrypted end-to-end using OTR protocol.
Using Blink for Mac with an account under @sip2sip.info domain is possible to Chat and subscribe to Google users under @gmail.com domain. To create a @sip2sip account select the option Create a free SIP Account in Blink add account dialog.
First, add the address of the Google account (e.g. firstname.lastname@example.org) to any Blink contact. Gmail account will receive a notification and subscribe in return to the @sip2sip.info account. To start a Chat session, right click on the contact and select Invite to Chat... from the contextual menu.
Make sure you upgrade first to the latest Blink version from Mac App Store (currently 2.0.2).
Presence is a complex issue and the mechanisms used internally by Blink may not necessarily work with your own SIP server. These mechanisms are described below.
Create a free SIP account in Blink provided by http://SIP2SIP.info to have all Presence features mentioned operational.
Presence is a complex issue and the mechanisms used internally by Blink may not necessarily work under any SIP server environment. This document was written to provide a better understanding of these mechanisms. Presence require proper infrastructure that many SIP service providers simply lack today, so do not complain to us when Presence does not work with your SIP service provider.
OpenSIPS 1.9.0 and OpenXCAP 2.1.0 server software has been tested and is 100% compatible with Blink.
Blink should work with any SIP and XCAP servers that supports all related SIP SIMPLE standards, but only a subset of them are being used. They are described below:
- Blink relies on a Presence Agent collocated with the SIP Registrar that supports PUBLISH method, RLS subscriptions and XCAP storage
- Blink uses only TCP or TLS transports for signaling, Presence Agent must use TCP/TLS
- Presence Agent must support RLS subscriptions and RLMI notifications
- Presence Agent must support handling of presence rules using org.openmobilealliance.pres-rules XCAP document
- Presence Agent must support external references from rls-services to resource-lists XCAP documents
- Presence Agent must support external references from rls-services to org.openmobilealliance.pres-rules XCAP document
- Presence Agent must support presence and presence.winfo event packages
- Presence Agent may support xcap-diff event package for XCAP documents replication between clients
- SIP Registrar may support GRUU
- XCAP server must support rls-services, resource-lists, xcap-caps, org.openmobilealliance.pres-content, org.openmobilealliance.pres-rules, org.openmobilealliance.xcap-directory
- XCAP server may support serving the user icon from org.openmobilealliance.pres-content document
- XCAP server may support pidf-manipulation for offline status
In the GUI, presence has been indicated as 'Availability'.
Blink presence functionality should interoperate without any issues with any other SIP client or SIP server implementing presence as far as the SIP signaling is concerned (PUBLISH, SUBSCRIBE and NOTFY methods). Blink functionality would however not interoperate for contacts storage level with other SIP clients under the same account due to the freedom allowed by the standards in modeling the data used for contacts storage. Blink will preserve contacts related information that it did not create itself in XCAP documents. Unfortunately, we have not found other clients that behave in the same way. Sharing the same XCAP documents with other SIP clients is therefore strongly discouraged.
Contacts are stored on the XCAP server in the resource-lists document under a proprietary name space to avoid conflicts with other end-points that might use the same document as there is no common standard way for how to store a rich address book on a server. This means that different SIP user agents from different vendors cannot read or modify this data in a deterministic way. The contacts in the address-book document are then used by rls-services and pres-rules XCAP documents standardized by OMA. Each contacts have two presence related properties that can changed in Edit Contact Panel Subscriptions section:
- Subscribe to Contact's Availability Information
- Allow Contact to see my Availability Information
If a SIP URI part of the Contact is labelled as XMPP, when using a SIP2SIP.info account, new session requests will be automatically forwarded to the XMPP domain using the built-in SIP to XMPP gateway provided by SIP2SIP service.
Subscribe To Presence¶
Using SIP SUBSCRIBE for RLS, Bink subscribes to the SIP addresses stored in rls-services document user+presence@domain service URI uploaded on the XCAP server by contacts management actions in the GUI (add/update/delete contacts).
Policy is used to express user preference about whether somebody that subscribed to our presence information is entitled to receive such information or not.
Using SUBSCRIBE for presence.winfo event package, Blink keeps track of watchers subscribed to our presence.
- New watchers that subscribed to our presence are rendered in the 'New Contact Requests' group that is rendered on top of the contacts list
- Right clicking on a new request entry, provides a contextual menu to block or add the contacts to the contacts list
- Dragging the request entry to an existing contact will merge the address of the request entry with the destination contact
- Blocked contacts are displayed in the Blocked group
- Active watchers are shown in system menu Blink -> Subscribers for My Availability
Blink user can publish a status and a note. Sometimes, Blink itself can change the status automatically, in situations when we do not perform any computer activity for a longer period or we start a phone call.
Presence status can be changed manually from the main GUI window and Status menu. Last combination of Presence state and note are saved in the history build at the end of the menu.
Status and note are automatically synchronized between multiple Blink instances under the same account.
Using PUBLISH method for the presence event package, the following information is published in a PIDF document by Blink:
- Basic Status: Open or closed
- Extended Status: Blink uses a proprietary extension for indicating the extented status compatible with XMPP end-points
- Location: Location is based on CIPID map extension. Location can be disabled per account in Presence section of account preferences. Location is available only for accounts provided by sip2sip.info account. The format is a string Country/City.
- Homepage: A home page can be entered in Presence section of account preferences. Homepage is based on CIPID homepage extension
- Note: Presence note can be typed in the text area right to own icon in the main GUI window. Note is attached to the service
- Icon: User own icon is uploaded to XCAP server using OMA pres-content application, replicated among multiple Blink instances and location of icon storage URL on XCAP server is published in the PIDF
- Offline Presence: In status menu, one can change its presence state and also an offline state when Blink is offline. This is done using pidf-manipulation XCAP application, if supported by the XCAP server
- Media Capabilities: Type of media supported by the end-point
- Device Information: The following information is published: Hostname, Time offset, Idle status and GRUU contact address
Presence information received from the SIP URIs as RLMI notifications from the RLS server is used to update each contact in the contacts list with:
- Status icon bar indicating away, busy, extended-away or available status
- Presence note is rendered on second line, multiple notes and pending authorizations are rotated every 10 seconds
- Icon is fetched from the icon URL published by the user
- User icon is retrieved and updated when necessary from URL advertised by user
Selecting Show Presence Information menu item from contextual contact menu show a panel with detailed information, not all information may have been rendered in the GUI.
- When subscribed to Presence, if information is received, the contextual menu of each contact is updated with the possibility of starting a session to a specific device if the remote server and device uses GRUU.
Contacts List Management (3 comments)
Blink contact management has been completely refactored starting with Blink Pro 1.9.0 and Blink Lite 1.7.0.
- Faster load at start
- Faster processing for merging XCAP changes
- XCAP documents are fetched in parallel
- New Edit Contact panel to manage all new features
- Subscription policy can be managed easily inside the edit contact panel
- New button for creating Contacts, Groups and scrolling to a particular Group
- Cmd L Shortcut to collapse/expand the current group
- Drag and drop possible from Contacts from Address Book Group to Blink Groups
- Merge Contacts when drag and drop a Contact on top of another
- Move Contacts when drag and drop between Groups
- Address Book addresses are aggregated per Contact
- Right click on Contact to start session to any address part of the Contact
- Address Book Contacts can be added to the Contacts List
- LDAP results can be added to the Contacts List
- LDAP results can be appended to existing Contacts
- Contact can be edited when right click on its Favourite entry
- Each Contact can have multiple addresses
- Each address can have a type
- Each Contact can be present in multiple groups or no group
- New Groups added for contacts with no groups and all contacts
- Groups can be collapsed and expanded using Cmd-L shortcut
Backup and Restore¶
- All Contact attributes are preserved
- Groups and Contact group membership are part of the backup
- Automatic weekly backup
- Automatic backup when migrating from a previous (< 1.9.0) Blink version
- All changes are serialized and multiple clients can perform concurrent changes on other attrributes of same Contact
- Multiple changes are performed atomically in a transaction
- Implemented OMA specifications
- Contacts are now ready to handle Presence and Dialog Events (roadmap)
Also available in: Atom