Pre-Submission Checklist

Type Of Change

Checklist:

Description

Added support for KEMI API in PDB module.

Here is example usage in KEMI Python.

            if not (KSR.pdb.pdb_query(KSR.pv.gete("$var(pdb_user)"), "$avp(carrier_id)") > 0):
                KSR.err(F"""[{HERE()}]: PDB query failed for user '{KSR.pv.get("$var(pdb_user)")}' \n""")
            else:
                KSR.info(F""" PDB query return carrier_id = '{KSR.pv.getw("$avp(carrier_id)")}' \n""")

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/4265

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4265@github.com>