Files
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
..
2025-01-10 21:31:29 +03:00
2012-03-24 03:19:32 +00:00
2023-08-11 14:03:04 -04:00
2012-03-24 03:19:32 +00:00
2026-08-08 18:14:08 +03:00
2014-02-09 13:34:12 -06:00
2012-03-24 03:19:32 +00:00