From fe237429124460f60c60b6453d9de0028e850118 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Wed, 20 May 2026 22:50:14 +0200 Subject: [PATCH] KI-AGENT: Lokale SIP-Nebenstellen erreichbar machen --- frontend/pages/communication/phone.vue | 1 + telephony/asterisk/acl.conf | 1 - telephony/asterisk/extensions.conf | 4 ++-- telephony/asterisk/pjsip.conf | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/pages/communication/phone.vue b/frontend/pages/communication/phone.vue index f4ca6b2..c620bda 100644 --- a/frontend/pages/communication/phone.vue +++ b/frontend/pages/communication/phone.vue @@ -254,6 +254,7 @@ const registerSip = async () => { const ua = new sip.UserAgent({ uri, displayName: account.displayName, + contactName: account.extension, authorizationUsername: account.extension, authorizationPassword: account.password, transportOptions: { diff --git a/telephony/asterisk/acl.conf b/telephony/asterisk/acl.conf index f26de27..e69de29 100644 --- a/telephony/asterisk/acl.conf +++ b/telephony/asterisk/acl.conf @@ -1 +0,0 @@ -[general] diff --git a/telephony/asterisk/extensions.conf b/telephony/asterisk/extensions.conf index 054cefb..1489e28 100644 --- a/telephony/asterisk/extensions.conf +++ b/telephony/asterisk/extensions.conf @@ -4,10 +4,10 @@ writeprotect=no clearglobalvars=no [fedeo-local] -exten => 1001,1,Dial(PJSIP/1001,30) +exten => 1001,1,Dial(PJSIP/1001-endpoint,30) same => n,Hangup() -exten => 1002,1,Dial(PJSIP/1002,30) +exten => 1002,1,Dial(PJSIP/1002-endpoint,30) same => n,Hangup() exten => 600,1,Answer() diff --git a/telephony/asterisk/pjsip.conf b/telephony/asterisk/pjsip.conf index 8762a17..ea16d57 100644 --- a/telephony/asterisk/pjsip.conf +++ b/telephony/asterisk/pjsip.conf @@ -31,9 +31,9 @@ rewrite_contact=yes rtp_symmetric=yes transport=transport-ws -[1001](fedeo-webrtc) +[1001-endpoint](fedeo-webrtc) auth=1001-auth -aors=1001-aor +aors=1001 callerid=FEDEO Test 1001 <1001> [1001-auth] @@ -42,14 +42,14 @@ auth_type=userpass username=1001 password=fedeo-test-1001 -[1001-aor] +[1001] type=aor max_contacts=5 remove_existing=yes -[1002](fedeo-webrtc) +[1002-endpoint](fedeo-webrtc) auth=1002-auth -aors=1002-aor +aors=1002 callerid=FEDEO Test 1002 <1002> [1002-auth] @@ -58,7 +58,7 @@ auth_type=userpass username=1002 password=fedeo-test-1002 -[1002-aor] +[1002] type=aor max_contacts=5 remove_existing=yes