From 88b8e0199eb155c5d2b807ea206a79e054cefa1f Mon Sep 17 00:00:00 2001 From: lazedo Date: Thu, 10 Jan 2019 11:21:49 +0000 Subject: [PATCH] log local generated requests --- kamailio/default.cfg | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 4e0e33b..1333b14 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -955,12 +955,17 @@ route[ADD_AUTHORIZATION_HEADERS] #!endif -#!ifdef PRESENCE_ROLE event_route[tm:local-request] { + xlog("L_DEBUG", "$ci|local|start $pr request $rm $ou\n"); + xlog("L_DEBUG", "$ci|local|source $si:$sp -> $dd:$dp\n"); + xlog("L_DEBUG", "$ci|local|from $fu\n"); + xlog("L_DEBUG", "$ci|local|to $tu\n"); + + #!ifdef PRESENCE_ROLE route(PRESENCE_LOCAL_NOTIFY); + #!endif } -#!endif event_route[evrexec:DEFERRED_INIT] {