@extends('layouts.app') @section('content') @php $isEdit = ($mode ?? '') === 'edit'; @endphp

{{ $isEdit ? 'Edit Speed Dial' : 'New Speed Dial' }}

{{ $isEdit ? 'Update the feature code and destination.' : 'Create a feature code that routes to a destination when dialed.' }}

← Back to Speed Dials
@if ($errors->any()) @endif
@csrf @if($isEdit) @method('PUT') @endif
Speed Dial Configuration
A friendly name for this speed dial.
@error('label')
{{ $message }}
@enderror
What users dial to reach this destination. Allowed: * # 0-9
@error('code')
{{ $message }}
@enderror
@php $dt = old('dst_type', $row->dst_type ?? 'extension'); @endphp @error('dst_type')
{{ $message }}
@enderror
Extension number, external number, group/queue number, IVR ID, or custom Goto target.
@error('dst_value')
{{ $message }}
@enderror
How long to ring before giving up (5–120 seconds).
@error('timeout')
{{ $message }}
@enderror
Prefix added to caller ID name when this speed dial is used (e.g. "[SD] John Smith").
@error('prepend_cid')
{{ $message }}
@enderror
For after-hours diverts: if a call routed to this speed dial is missed, email this address the original caller's number (clickable to dial back).
@error('notify_email')
{{ $message }}
@enderror
bypass_pin ?? 1) ? 'checked' : '' }}>
When enabled, dialing this speed dial will not prompt for a PIN code (even if the extension requires one for outbound calls).
@if($isEdit) @else
@endif
Cancel
@if($isEdit) @endif {{-- Autocomplete datalist --}} @foreach(($extensions ?? []) as $e) @endforeach @foreach(($ring_groups ?? []) as $rg) @endforeach @foreach(($queues ?? []) as $name => $num) @endforeach @foreach(($ivrs ?? []) as $id => $name) @endforeach @endsection