Files
freeswitch/src
Dmitry Verenitsin f390069308 [mod_verto] Add enable-chat-api-proto to gate the api chat proto (#3136)
A client message can select which chat proto handles it, and the `api` proto
runs the address as a FreeSWITCH API command. That route does not pass through
`verto.fsapi`, so the per-user fsapi permission does not apply to it. The new
per-profile `enable-chat-api-proto` param controls the route and is off unless
set; a message selecting the proto without it is refused and logged.

The proto compare is case-insensitive, matching the chat interface registry,
which is created with `switch_core_hash_init_nocase()`.

Only the `api` proto is gated. A message carrying no proto selector, or one
naming any other chat proto, routes exactly as before.

The param ships commented out in both vanilla verto profiles.
2026-08-26 18:35:31 +03:00
..
2023-09-08 20:17:57 +03:00
…
2026-08-08 18:14:08 +03:00
2026-08-08 19:47:47 +03:00
2023-09-08 20:17:57 +03:00
2025-07-31 19:38:54 +03:00
2023-09-08 20:17:57 +03:00
2023-09-08 20:17:57 +03:00
2026-08-08 18:18:50 +03:00
2026-07-10 19:38:46 +03:00
2023-04-05 18:54:11 +03:00
2026-08-08 19:54:01 +03:00
2023-04-05 18:54:11 +03:00
2025-07-31 19:38:54 +03:00
2026-07-10 19:38:46 +03:00
2026-08-08 21:02:15 +03:00