{{-- resources/views/extensions/parts/change-sip-password.blade.php --}} @php // Expect an $endpoint (or $ext) variable with ->id available. $ext = $endpoint ?? ($ext ?? null); @endphp @if(!$ext)
Template error: Missing $endpoint (or $ext) variable. Pass the extension model to this partial (with ->id).
@else

Change SIP Password

Ext: {{ $ext->id }}
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@csrf @method('PUT')
@error('sip_password')

{{ $message }}

@enderror

This updates ps_auths.password for extension {{ $ext->id }}.

Tips:
  • After saving, reload PJSIP and re-register the device if needed.
  • We trim hidden characters so accidental \r\n can’t sneak in.
@endif