feat(inbound): add CID name prefix support per trunk and per inbound route

This commit is contained in:
sorcier committed 2026-11-03 20:01:16 +01:00
1 parent 9518e10616
commit 8804501c42
5 files changed
+188 -12

No files matched your search

+17
View File
@@ -3540,6 +3540,23 @@ $currentUser = Auth::getUsername();
</div>
</div>
<!-- Préfixe CallerID (Nom affiché sur les téléphones IP pour identifier la ligne entrante) -->
<div class="p-3.5 rounded-xl bg-anthracite-950 border border-anthracite-700/80 flex flex-col sm:flex-row sm:items-center justify-between gap-3">
<div class="max-w-xl">
<label class="block text-xs font-bold text-white mb-0.5 flex items-center gap-1.5">
<span>🏷️ Préfixe Nom Appelant (CID Name Prefix)</span>
<span class="px-1.5 py-0.2 rounded bg-indigo-500/20 text-indigo-300 text-[10px] font-mono font-semibold">FreePBX CID Prefix</span>
</label>
<p class="text-[11px] text-slate-300">
Préfixe inséré devant le nom ou numéro de l'appelant sur l'écran de vos téléphones IP pour identifier la ligne appelée (ex: <code class="text-emerald-300">[Livebox] </code>, <code class="text-indigo-300">[Orange] </code>, <code class="text-cyan-300">[Fixe] </code>).
</p>
</div>
<div class="min-w-[240px]">
<input type="text" name="cid_name_prefix" placeholder="ex: [Livebox] "
class="w-full px-3 py-2 rounded-xl bg-anthracite-900 border border-anthracite-700 text-xs text-white font-mono focus:outline-none focus:border-indigo-500">
</div>
</div>
<div class="p-4 rounded-xl bg-anthracite-950 border border-anthracite-700 space-y-3">
<div class="flex flex-wrap items-center justify-between gap-3">
<div>