doc/
subfolder, the README file is autogenerated)Following carrierroute module functions are exported to KEMI API.
Additionally various fix-up free functions added for better memory management. The documentation has been updated to correctly explain various parameters and use cases.
def route_proxy(self, msg):
KSR.info("==================== route_proxy\n")
rU = KSR.kx.get_ruser()
if rU == None:
return -255
if KSR.carrierroute.cr_route("default", "proxy", rU, rU, "call_id") < 0:
KSR.sl.sl_send_reply(400, "Bad Request")
return -255
def route_registrar(self, msg):
KSR.info("==================== route_registrar\n")
rU = KSR.kx.get_ruser()
if rU == None:
rU = ""
if KSR.carrierroute.cr_nofallback_route("default", "register", rU, rU, "from_user") < 0:
KSR.sl.sl_send_reply(400, "Bad Request")
return -255
https://github.com/kamailio/kamailio/pull/3325
(7 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.