Browse Source

add log internal listener

master
lazedo 6 years ago
parent
commit
d9645cde3f
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      kamailio/default.cfg
  2. +1
    -1
      kamailio/presence-notify.cfg

+ 1
- 0
kamailio/default.cfg View File

@ -726,6 +726,7 @@ route[EXTERNAL_TO_INTERNAL_RELAY]
t_set_fr(0, $sel(cfg_get.kazoo.to_internal_no_response_timer));
#!ifdef WITH_INTERNAL_LISTENER
xlog("L_DEBUG", "$ci|route|routing to internal thru PORT_PROTO_INTERNAL_LISTENER\n");
force_send_socket(PORT_PROTO_INTERNAL_LISTENER);
#!endif


+ 1
- 1
kamailio/presence-notify.cfg View File

@ -30,8 +30,8 @@ route[PRESENCE_LOCAL_REQ_NOTIFY]
xlog("L_INFO", "$ci|log|init|body $(mb{s.escape.common}{s.replace,\','}{s.replace,$$,})\n");
}
if($sel(cfg_get.kazoo.presence_notify_force_send_socket) == 1) {
xlog("L_DEBUG", "$ci|log|init|forcing socket to $(pr{s.tolower}):$(hdr(Contact){nameaddr.uri}{uri.host}):$(hdr(Contact){nameaddr.uri}{uri.port}) when sending notify to $ruri\n");
$fs = $_s($(pr{s.tolower}):$(hdr(Contact){nameaddr.uri}{uri.host}):$(hdr(Contact){nameaddr.uri}{uri.port}));
xlog("L_DEBUG", "$ci|log|init|forcing socket to $fs, $(pr{s.tolower}):$(hdr(Contact){nameaddr.uri}{uri.host}):$(hdr(Contact){nameaddr.uri}{uri.port}) , $ct\n");
}
if($sel(cfg_get.kazoo.presence_notify_record_route) == 1) {
record_route();


Loading…
Cancel
Save