SIP deployment in LEARN Nimal Ratnayake <nimalr@learn.ac.lk> Lanka Education and Research Network (LEARN) and Department of Electrical & Electronic Engineering, University of Peradeniya 1
Introduction • LEARN: Lanka Educational and Research Network • Interconnecting academic/research institutions within Sri Lanka • Established in 1990 • Currently interconnects – 13 universities (some with multiple campuses) – National Science Foundation – University Grants Commission 2
SIP in LEARN • SER • Accounts to anyone within LEARN • Preferred method to contact NOC • Limited deployment so far, mostly for contacting LEARN NOC • Promotion – Provide SIP phones to key persons (Vice- Chancellor etc) at each member institute – Build gateways to campus PBXs 3
SIP at PDN • Implemented sip.edu • Integrated PBX and SIP based VoIP • Direct Inward Dialling from PSTN • All new telephones will be SIP phones – Cheaper than Cabling+equipment cost for a PBX extension 4
SIP at PDN(2) Cisco Ericsson ISDN PRI VoIP 3640 MD110 PSTN SER Call logging Radius LDAP MySQL 5
Components used • Open Source/Free SW plus costly hardware – SER – Cisco 3640 w/ ISDN PRI link to PBX as gateway – Ericsson MD100 PBX with MFC R2 link to PSTN – OpenLDAP for campus directory – FreeRARIUS for authentication – MySQL for SER databases and accounting – Perl Scripts for LDAP Lookup/Call Logging – Grandstream BT102/GTX1000 and x-lite UAs 6
SIP call handling • REGISTER – Radius authentication – Radius server looks up the LDAP directory for password – SER module uri_db with trivial modifications • Allows nimalr@pdn.ac.lk to register as 1600@pdn.ac.lk 7
SIP call handling (2) • INVITE – Use Perl script to do LDAP lookup for call forking to PBX extension – sip:nimalr@pdn.ac.lk becomes sip:nimalr@pdn.ac.lk plus sip:3423@pdn.ac.lk – On call failure (timeout, not found), lookup LDAP directory again for redirection to mobile • Security – All requests to gateway must go through SER – Proxy authentication for all outside calls 8
Accounting • Use MySQL for storing call logging from PBX and Cisco gateway • Two simple daemons written in Perl – capture text call logging information from PBX – Capture Radius accounting packets from gateway – Both PBX and VoIP calls go to the same user account • Users can check their usage on line 9
To do • Asterisk for Voice Mail. IVR etc • H.350 directory • Gateways at other Universities • LEARN gateway to PSTN • Private ENUM tree for LEARN
Recommend
More recommend