Browse Source

use macros for udp raw sockets

master
lazedo 6 years ago
parent
commit
8aa35501f4
2 changed files with 5 additions and 5 deletions
  1. +3
    -0
      kamailio/defs.cfg
  2. +2
    -5
      kamailio/globals.cfg

+ 3
- 0
kamailio/defs.cfg View File

@ -91,6 +91,9 @@ kazoo.to_external_no_response_18X_timer = INTERNAL_TO_EXTERNAL_NO_RESPONSE_18X_T
#!trydef TCP_KEEP_INTERVAL 30 #!trydef TCP_KEEP_INTERVAL 30
#!trydef TCP_SEND_TIMEOUT 3 #!trydef TCP_SEND_TIMEOUT 3
#!trydef KZ_UDP_RAW 0
#!trydef KZ_UDP_RAW_MTU 1500
#!include_file "defs-amqp.cfg" #!include_file "defs-amqp.cfg"
#!ifndef MEDIA_SERVERS_HASH_SIZE #!ifndef MEDIA_SERVERS_HASH_SIZE


+ 2
- 5
kamailio/globals.cfg View File

@ -69,11 +69,8 @@ tcp_wq_blk_size = 2100
tcp_wq_max = 10485760 tcp_wq_max = 10485760
####### UDP Parameters ######### ####### UDP Parameters #########
udp4_raw = 0
#udp4_raw_mtu = 800
# # pmtu_discovery = no
#udp_mtu = 800
# #udp_mtu_try_proto = TCP
udp4_raw = KZ_UDP_RAW
udp4_raw_mtu = KZ_UDP_RAW_MTU
####### DNS Parameters ######### ####### DNS Parameters #########
dns = no dns = no


Loading…
Cancel
Save