Logpy-AgentOne/telefon/freeswitch/dw9_rufagent.xml.tpl
Jeuner a0f1beb662 feat: route Durchwahl 9 (rufagent) to Astra via dedicated dialplan rule
Calls to DW9 were falling through to the praxis answering machine because
no dialplan/public rule matched its DDI header, and dialplan/agentzwei's
existing rule lives in a context real inbound calls never reach. Add
dw9_rufagent.xml.tpl (deployed as 00_dw9_rufagent.xml, must sort before
00_praxis_ab.xml alphabetically, see comment) and wire it into
einrichten.sh. Update HANDOFF.md with this session's findings.
2026-09-13 12:19:55 +02:00

21 lines
1.1 KiB
Smarty

<include>
<!-- Durchwahl 9 (rufagent) -> Astra-Telefonagent, siehe
dialog/pipecat_bootstrap.py (Port 8095) und
astra/telephony.py::FreeswitchAudioStreamSerializer.
Wie bei dw3_warten (dw3_warten.xml.tpl): destination_number ist bei
diesem Trunk unbrauchbar, die tatsaechlich gewaehlte DDI kommt nur
ueber den Header X-ORIGINAL-DDI-URI.
Dateiname wichtig: muss alphabetisch VOR 00_praxis_ab.xml einsortiert
werden (00_dw9... < 00_praxis...) - public/*.xml wird per
X-PRE-PROCESS alphabetisch eingebunden, und praxis_ab.xml's Catch-all
(^.*$, kein continue="true") stoppt die Dialplan-Auswertung sonst
schon vorher. Am 2026-09-13 gefunden: eine erste Fassung unter dem
Namen "00_rufagent_astra.xml" wurde nie erreicht, weil "r" nach
"p" kommt - siehe HANDOFF.md. -->
<extension name="dw9_rufagent">
<condition field="${sip_h_X-ORIGINAL-DDI-URI}" expression="@@DW9_DDI@@">
<action application="socket" data="127.0.0.1:8095 async full"/>
</condition>
</extension>
</include>