{
  "id": "communication/sip-request-uri-too-long",
  "signature": "SIP/2.0 414 Request-URI Too Long on INVITE",
  "signature_zh": "SIP/2.0 414 请求URI过长（INVITE请求）",
  "regex": "SIP/2\\.0 414 Request-URI Too Long",
  "domain": "communication",
  "category": "protocol_error",
  "subcategory": null,
  "root_cause": "SIP INVITE request URI exceeds the maximum allowed length (typically 2048 bytes) configured in the SIP proxy or registrar, often due to long phone numbers, excessive URI parameters, or malformed headers.",
  "root_cause_type": "generic",
  "root_cause_zh": "SIP INVITE请求URI超过了SIP代理或注册器中配置的最大允许长度（通常为2048字节），通常是由于电话号码过长、URI参数过多或报头格式错误所致。",
  "versions": [
    {
      "version": "Asterisk 18.15.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "FreeSWITCH 1.10.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Kamailio 5.6.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "OpenSIPS 3.4.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Cisco Unified CM 14.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Disable SIP URI length check entirely in config",
      "why_fails": "Disabling the length check exposes the server to denial-of-service attacks via extremely long URIs and may violate SIP standards.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Increase TCP buffer size on the SIP proxy",
      "why_fails": "TCP buffer size does not affect the SIP URI length limit, which is enforced at the application layer by the SIP stack.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Restart the SIP service to clear the error",
      "why_fails": "Restarting only resets the connection state; the URI length violation reoccurs on the next INVITE with the same URI.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the max URI length in Kamailio: edit kamailio.cfg, add 'modparam(\"sl\", \"max_uri_len\", 4096)' and reload configuration.",
      "success_rate": 0.8,
      "how": "Increase the max URI length in Kamailio: edit kamailio.cfg, add 'modparam(\"sl\", \"max_uri_len\", 4096)' and reload configuration.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Shorten the SIP URI by removing unnecessary URI parameters (e.g., user=phone, transport=tcp) in the dial plan or using a URI normalization function.",
      "success_rate": 0.75,
      "how": "Shorten the SIP URI by removing unnecessary URI parameters (e.g., user=phone, transport=tcp) in the dial plan or using a URI normalization function.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase the max URI length in Kamailio: edit kamailio.cfg, add 'modparam(\"sl\", \"max_uri_len\", 4096)' and reload configuration.",
    "Shorten the SIP URI by removing unnecessary URI parameters (e.g., user=phone, transport=tcp) in the dial plan or using a URI normalization function."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://www.rfc-editor.org/rfc/rfc3261#section-21.4.14",
  "official_doc_section": null,
  "error_code": "414",
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.78,
  "resolvable": "true",
  "first_seen": "2024-03-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}