private_data_dir on Ansible Runners called from Python
The private_data_dir footgun I found when using Ansible runners called from Python
The private_data_dir footgun I found when using Ansible runners called from Python
I run Ubuntu on my desktop and I mess with Kamailio a lot. Recently I was doing some work with KEMI using Python, but installing the latest versions of Kamailio from the Debian Repos for Kamailio wasn’t working. The following packages have unmet dependencies: kamailio-python3-modules : Depends: libpython3.11 (>= 3.11.0) but 3.11.0~rc1-1~22.04 is to be … Continue reading Libpython3.11 problems with Kamailio on Ubuntu 22.04
Interacting with Homer SIP capture vai the API
Using FreeDiameter, Python and our newly released “rt_pyform” module to rewrite AVPs in your FreeDiameter based Diameter Routing Agent.
Using Python3 inside the FreeSWITCH Dialplan
Searching with CouchDB in Python
Chances are if you’re reading this, you’re trying to work out what Telephony Binary-Coded Decimal encoding is. I got you. Again I found myself staring at encoding trying to guess how it worked, reading references that looped into other references, in this case I was encoding MSISDN AVPs in Diameter. How to Encode a number … Continue reading Telephony binary-coded decimal (TBCD) in Python with Examples
Bolting an SNMP Server and stats collection onto your existing Python projects.
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
Using KEMI to handle Kamailio SIP Routing in Python
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 … Continue reading Open5Gs- Python HSS Interface
Connecting to RTPengine via Python
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 … Continue reading PyHSS – Python 3GPP LTE Home Subscriber Server
Basic usage of a Python RTP library I wrote
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 … Continue reading SCTP in Python
How to translate an OP Key into an OPc key.
Setting up fixed-line IMS subscribers in PyHSS to authenticate softphones and non-mobile phones into your IMS.
A look at Transport Keys and how they’re used when exchanging SIM data
Setting up and installing PyHSS to act as a HSS / EIR / PCRF & Diameter server
Using CGrateS to rate CSV files