Browse Source

support single port for registrar success messages

drop_requests
Luis Azedo 8 years ago
parent
commit
7a82da9ede
3 changed files with 30 additions and 3 deletions
  1. +9
    -0
      kamailio/defs.cfg
  2. +17
    -3
      kamailio/local.cfg
  3. +4
    -0
      kamailio/registrar-role.cfg

+ 9
- 0
kamailio/defs.cfg View File

@ -118,4 +118,13 @@
#!endif
#!endif
#!trydef KZ_MULTI_HOMED 0
#!ifndef KZ_DISABLE_REGISTRAR_PORT
#!redefine KZ_MULTI_HOMED 1
#!trydef KZ_REGISTRAR_PORT 7000
#!endif
mhomed=KZ_MULTI_HOMED
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab

+ 17
- 3
kamailio/local.cfg View File

@ -72,7 +72,7 @@
# udp4_raw_mtu = 1472
################################################################################
## BINDINGS
## KZ_MULTI_HOMED
################################################################################
## This parameter is OPTIONAL.
## It will try to locate outbound interface
@ -80,8 +80,22 @@
## requests use the incoming socket disregarding
## the destination location. When enabled Kamailio
## will select a socket that can reach the
## destination. This reduces performance.
mhomed=0
## destination and enables config less webrtc/tls on freeswitch.
## This reduces performance.
###!define KZ_MULTI_HOMED 1
################################################################################
## KZ_DISABLE_REGISTRAR_PORT
################################################################################
## This parameter is OPTIONAL.
## It will disable publishing single proxy port on registrar success messages
## By default single port proxy is send on registrar success messages
## which enables config less in freeswitch for handling webrtc/tls
## ie, no certs in freeswitch, no webrtc/tls listeners on freeswitch
## by disabling single port proxy, ecallmgr needs to be started with
## 'use_transport_for_fs_path' set to true in its environment configuration
##
###!define KZ_DISABLE_REGISTRAR_PORT 1
################################################################################
## SIP traffic mirroring to SIP_TRACE server


+ 4
- 0
kamailio/registrar-role.cfg View File

@ -291,7 +291,11 @@ route[SAVE_LOCATION]
$var(ip) = "[" + $Ri + "]";
}
#!ifndef KZ_DISABLE_REGISTRAR_PORT
$var(port) = KZ_REGISTRAR_PORT;
#!else
$var(port) = $Rp;
#!endif
$var(AdvIP) = $RAi;
if(af==INET6) {


Loading…
Cancel
Save