Using FreeDiameter, Python and our newly released “rt_pyform” module to rewrite AVPs in your FreeDiameter based Diameter Routing Agent.
Category Archives: Python
FreeSWITCH mod_python3 – Python Dialplans
Using Python3 inside the FreeSWITCH Dialplan
Scratch’n’Sniff – An easy tool for remote Packet Captures
A new tool I’ve written to stream packets from one machine to another for analysis in real time.
Querying CouchDB with Python
Searching with CouchDB in Python
Forsk Atoll – Importing Antennas
Importing .msi antennas radiation patterns into Atoll
Telephony binary-coded decimal (TBCD) in Python with Examples
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
PyHSS Update – YAML Config Files
Introducing YAML based config files for defining how PyHSS should be setup
PyHSS Update – SCTP Support
Info on PyHSS new support for SCTP as well as TCP.
PyHSS New Features
Thanks to some recent developments, PyHSS has had a major overhaul recently, and is getting better than ever, Some features that are almost ready for public release are: Config File Instead of having everything defined all over the place a single YAML config file is used to define how the HSS should function. SCTP Support … Continue reading PyHSS New Features
SIM / Smart Card Deep Dive – Part 4 – Interacting with Cards IRL
Sending commands/APDUs to a real life Smart Card.
Adding SNMP to anything with Redis and Python
Bolting an SNMP Server and stats collection onto your existing Python projects.
Dr StrangeEncoding or: How I learned to stop worrying and love ASN.1
Australia is a strange country; As a kid I was scared of dogs, and in response, our family got a dog. This year started off with adventures working with ASN.1 encoded data, and after a week of banging my head against the table, I was scared of ASN.1 encoding. But now I love dogs, and … Continue reading Dr StrangeEncoding or: How I learned to stop worrying and love ASN.1
Ansible – Timeout on Become
Increasing the SSH timeout in Ansible
Kamailio Bytes – Docker and Containers
Using Docker to containerize Kamailio instanances
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
Ansible for Scaling and Deployment of Evolved Packet Core NEs
Using Ansible to orchestrate EPC Network Elements
GTPv2 – F-TEID Interface Types
A quick look at the Interface Types in the F-TIED field in GTPv2
Kamailio Bytes – Ansible for Automating Deployments
Using Ansible to automate Kamailio deployments at scale
PyHSS Update – IMS Cx Support!
An update to PyHSS to support IMS Authentication for VoLTE
Kamailio Bytes – Python + SIP with KEMI
Using KEMI to handle Kamailio SIP Routing in Python