In PJSIP 2.12.1, PJSIP_DONT_SWITCH_TO_TCP defaults to 0, so automatic UDP-to-TCP switching is on, and it can be changed at runtime through disable_tcp_switch in pjsip_cfg_t.
Checked 2026-10-02
- Vendor
- Teluu
- Product
- PJSIP
- Subsystem
- SIP transport
- Deployment
- on-premises
- Region
- not restricted
- Release range
- 2.12.1
- Checked
- 2026-10-02
Sources
- Group PJSIP_CONFIG - PJSIP Project 2.12.1 documentation — PJSIP project (Teluu) · tier 2 current vendor documentation · PJSIP_DONT_SWITCH_TO_TCP
Cite this note
APA
WarmTransfer. (2026, October 2). Troubleshooting failed calls caused by large SIP messages over UDP: source note sip-fragmentation-troubleshooting-pjsip-tcp-switch-default. WarmTransfer. https://warmtransfer.net/knowledge/claims/sip-fragmentation-troubleshooting-pjsip-tcp-switch-default
BibTeX
@misc{warmtransfer-claim-sip-fragmentation-troubleshooting-pjsip-tcp-switch-default,
title = {Troubleshooting failed calls caused by large SIP messages over UDP: source note sip-fragmentation-troubleshooting-pjsip-tcp-switch-default},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/claims/sip-fragmentation-troubleshooting-pjsip-tcp-switch-default},
note = {Source note sip-fragmentation-troubleshooting-pjsip-tcp-switch-default, checked 2026-10-02}
}