Files
Matheus d2ea83c06a feat: activate mod_xml_curl with b2bcall-fs-config (agente.md secao 26)
- apps/freeswitch-config (b2bcall-fs-config): Fastify service implementing
  the mod_xml_curl HTTP protocol (form-encoded POST -> XML response),
  containerized, no host port published
- reactivated mod_xml_curl in FreeSWITCH, binding restricted to
  directory|dialplan only (configuration was removed after testing showed
  it firing several unnecessary HTTP round-trips at boot for module
  configs we don't need dynamic — matches agente.md's own 'don't put every
  critical config through XML Curl' guidance)
- no extensions/dialplan tables exist yet (next phases), so the service
  always answers 'not found' for now — this phase only proves the wire
  protocol works without breaking the static vanilla config fallback
- verified end-to-end: user/8888 (nowhere) -> SUBSCRIBER_ABSENT via
  fs-config; user/1000 (static vanilla extension) -> USER_NOT_REGISTERED,
  proving FreeSWITCH correctly falls through to static XML when xml_curl
  says not found
- docs/XML_CURL.md, including the not-yet-authenticated endpoint note (fine
  while it only returns not-found; needs gateway-credentials before serving
  real directory/dialplan data)
2026-08-28 07:07:05 -03:00

72 lines
2.0 KiB
XML

<configuration name="modules.conf" description="Modules">
<modules>
<!-- Loggers (I'd load these first) -->
<load module="mod_console"/>
<load module="mod_logfile"/>
<!-- Multi-Faceted -->
<load module="mod_enum"/>
<!-- XML Interfaces (agente.md secao 26: mod_xml_curl para Directory/Dialplan) -->
<load module="mod_xml_curl"/>
<!-- Event Handlers -->
<load module="mod_cdr_csv"/>
<load module="mod_event_socket"/>
<!-- Endpoints -->
<load module="mod_sofia"/>
<load module="mod_loopback"/>
<load module="mod_rtc"/>
<load module="mod_verto"/>
<!-- Applications -->
<!-- mod_signalwire removido: nao usamos o SignalWire Cloud, so o repo de pacotes -->
<load module="mod_commands"/>
<load module="mod_conference"/>
<load module="mod_curl"/>
<load module="mod_db"/>
<load module="mod_dptools"/>
<load module="mod_expr"/>
<load module="mod_fifo"/>
<load module="mod_hash"/>
<load module="mod_voicemail"/>
<load module="mod_esf"/>
<load module="mod_fsv"/>
<load module="mod_valet_parking"/>
<load module="mod_httapi"/>
<!-- Call Center / ACD (agente.md secao 37) -->
<load module="mod_callcenter"/>
<!-- Answering Machine / Beep detection (agente.md secao 87) -->
<load module="mod_avmd"/>
<!-- Dialplan Interfaces -->
<load module="mod_dialplan_xml"/>
<load module="mod_dialplan_asterisk"/>
<!-- Codec Interfaces -->
<load module="mod_spandsp"/>
<load module="mod_g723_1"/>
<load module="mod_g729"/>
<load module="mod_amr"/>
<load module="mod_b64"/>
<load module="mod_opus"/>
<!-- File Format Interfaces -->
<load module="mod_av"/>
<load module="mod_sndfile"/>
<load module="mod_native_file"/>
<load module="mod_png"/>
<load module="mod_local_stream"/>
<load module="mod_tone_stream"/>
<!-- Languages -->
<load module="mod_lua"/>
<!-- Say -->
<load module="mod_say_en"/>
</modules>
</configuration>