Categories
Python Software

Ansible – Timeout on Become

Increasing the SSH timeout in Ansible

Categories
EPC LTE Mobile Networks Python

Open5GS Python Library / API

A while ago I wrote a Python library for interfacing Open5GS HSS to Python. The Open5GS HSS uses a MongoDB backend, so the library is just running formatted Mongo queries. You can create, edit and delete subscribers in the HSS, along with modifying any parameters you can from the WebUI. Take a look: https://github.com/open5gs/open5gs/tree/master/misc/db/python

Categories
EPC EUTRAN LTE Mobile Networks Python RFCs & Standards Software Voice over IP

PyHSS Update – IMS Cx Support!

An update to PyHSS to support IMS Authentication for VoLTE

Categories
Kamailio Python Voice over IP

Kamailio Bytes – Python + SIP with KEMI

Using KEMI to handle Kamailio SIP Routing in Python

Categories
Kamailio Python Voice over IP

Kamailio Bytes – KEMI Intro

Using KEMI to write routing logic using languages like Python, Ruby, Lua and JS

Categories
EPC EUTRAN LTE Mobile Networks Python RFCs & Standards SIM Cards Software

PLMN Identifier Calculation (MCC & MNC to PLMN)

How to encode and decode MCC and MNC as PLMN Identifiers

Categories
EPC EUTRAN LTE Python RFCs & Standards Security Software

PyHSS Update – MongoDB Backend & SQN Resync

Feature Update on PyHSS the Python Home Subscriber Server

Categories
EPC LTE Mobile Networks Python RF

Open5Gs- Python HSS Interface

Note: NextEPC the Open Source project rebranded as Open5Gs in 2019 due to a naming issue. The remaining software called NextEPC is a branch of an old version of Open5Gs. This post was written before the rebranding. I’ve been working for some time on Private LTE networks, the packet core I’m using is NextEPC, it’s […]

Categories
Python Voice over IP

RTPengine Python API Calls via ng Control Protocol

Connecting to RTPengine via Python

Categories
EPC EUTRAN LTE Python RF RFCs & Standards

PyHSS – Python 3GPP LTE Home Subscriber Server

I recently started working on an issue that I’d seen was to do with the HSS response to the MME on an Update Location Answer. I took some Wireshark traces of a connection from the MME to the HSS, and compared that to a trace from a different HSS. (Amarisoft EPC/HSS) The Update Location Answer […]

Categories
Python RFCs & Standards Voice over IP

PyRTP – Simple RTP Library for Python

Basic usage of a Python RTP library I wrote

Categories
Python

SCTP in Python

I’ve written in the past about SCTP – Stream Control Transmission Protocol, talking about it’s advantages and how to implement it in Kamailio. If you’d like to write your own software using SCTP there’s a fantastic SCTP sockets library from P1 Security that makes this easy as any other socket programming. Take a look at […]

Categories
Linux Python RFCs & Standards Voice over IP

Reverse MD5 on SIP Auth

How the SIP Authentication mechanism works, and how we can reverse it to check the password we’re expecting is the encrypted value we’re seeing in captures.