Metadata-Version: 2.1
Name: kamailio
Version: 0.2.2
Summary: Python support code for kamailio
Author-email: Matthias Urlichs <smurf@noris.de>
License: This code is licensed under the LGPL-2.1 or later.        
Project-URL: homepage, https://intra.office.noris.de/Wiki/Zoom/Phone
Project-URL: repository, https://gitlab.noris.net/voice/kamailio_py
Keywords: kamailio,sip
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: Trio
Classifier: Framework :: AnyIO
Classifier: License :: OSI Approved
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE.txt

===================
Kamailio for Python
===================

This Python package attempts to provide an API to Kamailio scripting.

While Kamailio has a Python scripting interface, its way of interacting
with the core is shaped by its ad-hoc scripting language, which is decidedly
not Python.

This code allows you to access its data in a more Pythonic manner.

------------
Installation
------------

Install Kamailio, Python, and this module as usual.

Add this to your ``kamailio.cfg``::

        loadmodule "app_python3.so"
        modparam("app_python3", "load", "/etc/kamailio/router.py")
        cfgengine "python"

Copy one of the sample routing scripts from our ``sample`` directory
to ``/etc/kamailio/router.py``.
