mirror of
https://github.com/coral/sipcord-bridge.git
synced 2026-04-13 04:42:43 -06:00
woof
This commit is contained in:
parent
c4684e99b3
commit
acaf50a25c
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -2529,7 +2529,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|||
|
||||
[[package]]
|
||||
name = "pjsua"
|
||||
version = "0.1.0"
|
||||
version = "1.5.6"
|
||||
dependencies = [
|
||||
"bindgen 0.71.1",
|
||||
"cmake",
|
||||
|
|
@ -3624,7 +3624,7 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
|
|||
|
||||
[[package]]
|
||||
name = "sipcord-bridge"
|
||||
version = "1.5.5"
|
||||
version = "1.5.6"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
|
|
|
|||
|
|
@ -585,6 +585,13 @@ pub fn init_pjsua(config: &SipConfig, tls_config: Option<&TlsConfig>) -> Result<
|
|||
// unreachable, causing retransmit storms and eventual 408 disconnect).
|
||||
acc_cfg_ptr.use_timer = pjsua_sip_timer_use_PJSUA_SIP_TIMER_INACTIVE;
|
||||
|
||||
// Disable codec locking. When enabled (the default), pjsua sends an
|
||||
// UPDATE or re-INVITE after call establishment to narrow the codec list
|
||||
// to the single negotiated codec. Many phones (e.g. Snom 300) respond
|
||||
// 481 to in-dialog UPDATE, killing the call immediately after answer.
|
||||
// The initial INVITE/200 OK codec negotiation is sufficient.
|
||||
acc_cfg_ptr.lock_codec = 0;
|
||||
|
||||
// Configure RTP port range for media
|
||||
// port is the starting port, port_range is how many consecutive ports to try
|
||||
acc_cfg_ptr.rtp_cfg.port = config.rtp_port_start as u32;
|
||||
|
|
|
|||
Loading…
Reference in a new issue