Table of Contents
List of Examples
Table of Contents
This module allows executing Python scripts from config file, exporting functions to access the SIP message from Python.
For some basic examples of Python scripts that can be used with this module, look at the files inside source tree located at 'modules/app_python/python_examples/'.
The path to the fiel with Python code to be executed from configuration file.
Default value is “/usr/local/etc/kamailio/handler.py”.
Example 1.1. Set script_name
parameter
... modparam("app_python", "script_name", "/usr/local/etc/kamailio/myscript.py") ...