TODO: WebSockets support TODO: SIP TLS support TODO: SIP UDP fragmentation
Read SIP Packets from Network card (TCP,UDP)
a) Stores information in Cloud.(parse.com) b) Send SMS notification for new calls (twilio client) c) Implements RFC 6872 SIP CLF d) Starts an XML-RPC server to retrieve data via XML RPC method calculates Distance from System to Call using harvesine Formula
Installation:
-
Minimum: Python 2.7 Link below contains instructions to upgrade
-
Install pip Ubuntu: apt-get install python-pip CentOS/RedHat - Follow instructions below https://www.digitalocean.com/community/articles/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4
-
If you want to send information to parse.com pip install git+https://github.com/dgrtwo/ParsePy.git
a) Change sipLocatorConfig to: ENABLE_PARSE=True
-
If you want to receive SMS Notifications install twilio library pip install twilio a) Change sipLocatorConfig to: ENABLE_SMS_NOTIFICATIONS = True
-
If you want to generate SIP CLF record a) Change sipLocatorConfig to: ENABLE_SIPCLF = True
-
Run: python sipLocator.py &
Allows to process new SIP information locally
-
Edit sipLocatorConfig.py
XML_GEO_LOCATION XML_GEO_SEARCH_ENABLED
XML_HOSTNAME XML_PORT XML_USERNAME XML_PASSWORD
-
Run python sipLocatorXmlRpc.py