KI-AGENT: Lokale SIP-Nebenstellen erreichbar machen

This commit is contained in:
2026-05-20 22:50:14 +02:00
parent 6abc0dd772
commit fe23742912
4 changed files with 9 additions and 9 deletions

View File

@@ -254,6 +254,7 @@ const registerSip = async () => {
const ua = new sip.UserAgent({ const ua = new sip.UserAgent({
uri, uri,
displayName: account.displayName, displayName: account.displayName,
contactName: account.extension,
authorizationUsername: account.extension, authorizationUsername: account.extension,
authorizationPassword: account.password, authorizationPassword: account.password,
transportOptions: { transportOptions: {

View File

@@ -1 +0,0 @@
[general]

View File

@@ -4,10 +4,10 @@ writeprotect=no
clearglobalvars=no clearglobalvars=no
[fedeo-local] [fedeo-local]
exten => 1001,1,Dial(PJSIP/1001,30) exten => 1001,1,Dial(PJSIP/1001-endpoint,30)
same => n,Hangup() same => n,Hangup()
exten => 1002,1,Dial(PJSIP/1002,30) exten => 1002,1,Dial(PJSIP/1002-endpoint,30)
same => n,Hangup() same => n,Hangup()
exten => 600,1,Answer() exten => 600,1,Answer()

View File

@@ -31,9 +31,9 @@ rewrite_contact=yes
rtp_symmetric=yes rtp_symmetric=yes
transport=transport-ws transport=transport-ws
[1001](fedeo-webrtc) [1001-endpoint](fedeo-webrtc)
auth=1001-auth auth=1001-auth
aors=1001-aor aors=1001
callerid=FEDEO Test 1001 <1001> callerid=FEDEO Test 1001 <1001>
[1001-auth] [1001-auth]
@@ -42,14 +42,14 @@ auth_type=userpass
username=1001 username=1001
password=fedeo-test-1001 password=fedeo-test-1001
[1001-aor] [1001]
type=aor type=aor
max_contacts=5 max_contacts=5
remove_existing=yes remove_existing=yes
[1002](fedeo-webrtc) [1002-endpoint](fedeo-webrtc)
auth=1002-auth auth=1002-auth
aors=1002-aor aors=1002
callerid=FEDEO Test 1002 <1002> callerid=FEDEO Test 1002 <1002>
[1002-auth] [1002-auth]
@@ -58,7 +58,7 @@ auth_type=userpass
username=1002 username=1002
password=fedeo-test-1002 password=fedeo-test-1002
[1002-aor] [1002]
type=aor type=aor
max_contacts=5 max_contacts=5
remove_existing=yes remove_existing=yes