70 likes | 205 Views
SIP Express Router (SER). SER Primer. SER is an open-source, GPL-ed SIP server with High scalability (up to thousands of calls per second of transactional throughput on a PC) Effective application building (modules and FIFO/application interface) High flexibility (routing language)
E N D
SER Primer • SER is an open-source, GPL-ed SIP server with • High scalability (up to thousands of calls per second of transactional throughput on a PC) • Effective application building (modules and FIFO/application interface) • High flexibility (routing language) • Web address (download, documentation, etc.): • www.iptel.org/ser/ • Some non-GPL features available too (LDAP, TLS, redundancy, …)
Linking Applications to SIP/SER • To create rich services, one needs to link existing applications to SIP communication. • Design requirement: apply division principle and split SIP infrastructure from applications cleanly. • I know, we are not the first to come up with the principle… • Divide and Conquer (“Divide et impera”, Caesar, 100BCE-44BCE) • Labor Division (Adam Smith: The Wealth of Nations, 1776) • “The greatest improvement in the productive powers of labour, and the greater part of the skill, dexterity, and judgement with which it is any where directed, or applied, seem to have been the effects of the division of labour.”
Application Examples • Web-applications • User manipulation of their contacts in user location database • Could not be done easily via a back-end database if cached by SIP server • “Send Instant Message” – initiate a SIP transaction • Monitoring of server health • Management Applications (command-line or web) • User administration (e.g., revoking user’s privileges) • Run-time reconfiguration (e.g., introducing a new domain) • Presence Applications: • Drive presence status displayed in SIP messengers.
On Windsurfing • Jiri's hobby: windsurfing; cool but loading a van with gear, traveling to a lake, setting up a sale and learning that the wind is gone is frustrating. • The application is out there: there are tons of software for weather forecasts. The software can generate information that is precisely needed. • Missing piece: link the applications to the SIP-based real-time communication infrastructure. • How to engineer that? Build in a door in SIP server that allows SIP-unaware applications to talk SIP.
Our Proposal: Use ASCII InterfaceConnected via a FIFO Pipe • Design idea: • Export SIP logic to applications through a textual request-response FIFO interface (named pipes) • FIFO server properties • Server looks like a file to application – any file-based application can use it • Excellent portability • Simple and extensible • Application isolation
Example: Contact Maintenance • Web application can show, add and delete user contacts stored in server’s memory.