comparison sip-in/readconf.c @ 124:7e04d28fae8b

sip-in: default use-100rel to no BulkVS servers act badly when we send a reliable 180 Ringing response to an incoming call, even though they advertise 100rel support in the Supported header in the INVITE packet, and we probably won't be implementing 100rel for outbound because doing per-the-spec PRACK as a UAC is just too burdensome. Therefore, we need to consider 100rel extension as not-really-supported in themwi-system-sw.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2022 15:54:50 -0800
parents 9b87894704eb
children
comparison
equal deleted inserted replaced
123:a36b731bfef9 124:7e04d28fae8b
14 #include <string.h> 14 #include <string.h>
15 #include <strings.h> 15 #include <strings.h>
16 16
17 struct in_addr sip_bind_ip; 17 struct in_addr sip_bind_ip;
18 unsigned sip_bind_port; 18 unsigned sip_bind_port;
19 int cfg_use_100rel = 1; 19 int cfg_use_100rel;
20 int cfg_force_pcma; 20 int cfg_force_pcma;
21 unsigned cfg_retrans_timeout = 500; 21 unsigned cfg_retrans_timeout = 500;
22 unsigned cfg_retrans_count = 10; 22 unsigned cfg_retrans_count = 10;
23 unsigned max_forwards = 70; 23 unsigned max_forwards = 70;
24 unsigned sip_linger_acked = 5; 24 unsigned sip_linger_acked = 5;