Hello All,
I try to make a call . I setup a FreePBX Server apart from Home assistant. The websocket is passed thriugh nginx proxy and reachable. Once I try to make a call I get this error from the calling card:
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Beginning Session...
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Inviter | Inviter.invite
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Inviter | Session bpfgs087us59qm5j6p52hi1s0lkqrs transitioned to state Establishing
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] session state changed to Establishing
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/WSS rorb8vkmqm6q.invalid;branch=z9hG4bK3132013
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=hi1s0lkqrs
CSeq: 1 INVITE
Call-ID: bpfgs087us59qm5j6p52
Max-Forwards: 70
Contact: <sip:[email protected];transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound
User-Agent: SIP.js/0.20.0
Content-Type: application/sdp
Content-Length: 2110
v=0
o=- 8971555575853491424 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0
a=extmap-allow-mixed
a=msid-semantic: WMS 6397b014-7d1c-4dee-b153-a42d9a642cb3
m=audio 49770 UDP/TLS/RTP/SAVPF 111 63 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 92.170.194.152
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:3960087712 1 udp 2122260223 30.30.30.36 49770 typ host generation 0 network-id 1 network-cost 10
a=candidate:1163242357 1 udp 1686052607 92.170.194.152 49770 typ srflx raddr 30.30.30.36 rport 49770 generation 0 network-id 1 network-cost 10
a=candidate:2726942800 1 tcp 1518280447 30.30.30.36 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:yYpa
a=ice-pwd:tzhJ7zxtTJPOoFRgDMcP4md8
a=ice-options:trickle
a=fingerprint:sha-256 7C:BA:C5:E8:23:89:49:FB:B4:A2:EB:75:56:99:E7:34:C0:18:64:3E:49:6A:D7:0A:5F:B7:FA:B7:58:C3:AF:F8
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:6397b014-7d1c-4dee-b153-a42d9a642cb3 57a4d7ce-7db2-41cc-bc0a-cf82590469eb
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:63 red/48000/2
a=fmtp:63 111/111
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:3250730075 cname:iHVf//ykQSZQamSm
a=ssrc:3250730075 msid:6397b014-7d1c-4dee-b153-a42d9a642cb3 57a4d7ce-7db2-41cc-bc0a-cf82590469eb
a=ssrc:3250730075 mslabel:6397b014-7d1c-4dee-b153-a42d9a642cb3
a=ssrc:3250730075 label:57a4d7ce-7db2-41cc-bc0a-cf82590469eb
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] sent INVITE
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Received WebSocket text message:
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/WSS rorb8vkmqm6q.invalid;branch=z9hG4bK3132013;received=172.19.0.1;rport=60826
From: <sip:[email protected]>;tag=hi1s0lkqrs
To: <sip:[email protected]>;tag=as646ec8eb
Call-ID: bpfgs087us59qm5j6p52
CSeq: 1 INVITE
Server: FPBX-15.0.17.62(17.9.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/WSS rorb8vkmqm6q.invalid;branch=z9hG4bK3132013
To: <sip:[email protected]>;tag=as646ec8eb
From: <sip:[email protected]>;tag=hi1s0lkqrs
Call-ID: bpfgs087us59qm5j6p52
CSeq: 1 ACK
Max-Forwards: 70
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Inviter | Inviter.onReject
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Inviter | Session bpfgs087us59qm5j6p52hi1s0lkqrs transitioned to state Terminated
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] session state changed to Terminated
logger-factory.ts:109 Mon Nov 22 2021 21:29:42 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Inviter | Session bpfgs087us59qm5j6p52hi1s0lkqrs in state Terminated is being disposed
logger-factory.ts:105 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | WebSocket closed unexpectedly
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
onWebSocketClose @ transport.ts:409
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | WebSocket closed wss://home-access.ddns.me/ws (code: 1006)
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Transitioned from Connected to Disconnected
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Disconnected
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Unregistering...
logger-factory.ts:105 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Not currently registered, but sending an unregister anyway.
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
unregister @ registerer.ts:562
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to true
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS p09o3cge2b0q.invalid;branch=z9hG4bK4596648
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=13d6q4hh3c
CSeq: 26 REGISTER
Call-ID: qdgk013brkoq2t7s9da1
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="anonymous.j2c5e1", realm="asterisk", nonce="49cd2e69", uri="sip:anonymous.invalid", response="4f74964edfd21e0c8714abc529d7d52f"
Contact: <sip:[email protected];transport=ws>;expires=0
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Reconnection attempt 1 of 3 - trying
logger-factory.ts:101 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.user-agent-client | Not connected.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onTransportError @ user-agent-client.ts:296
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonymous) @ transaction.ts:130
Promise.catch (async)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.user-agent-client | User agent client request transport error. Generating internal 503 Service Unavailable.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onTransportError @ user-agent-client.ts:297
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonymous) @ transaction.ts:130
Promise.catch (async)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Unregister rejected with status code 503
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onReject @ registerer.ts:631
receiveResponse @ user-agent-client.ts:341
onTransportError @ user-agent-client.ts:301
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonymous) @ transaction.ts:130
Promise.catch (async)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to false
logger-factory.ts:101 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.transaction.nict | Not connected.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:104
(anonymous) @ non-invite-client-transaction.ts:43
Promise.catch (async)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.transaction.nict | Transport error occurred in non-INVITE client transaction with id z9hG4bK4596648.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:105
(anonymous) @ non-invite-client-transaction.ts:43
Promise.catch (async)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.transaction.nict | Failed to send initial outgoing request.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:106
(anonymous) @ non-invite-client-transaction.ts:43
Promise.catch (async)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Connecting wss://home-access.ddns.me/ws
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Transitioned from Disconnected to Connecting
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | WebSocket opened wss://home-access.ddns.me/ws
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Transitioned from Connecting to Connected
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Connected
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Registering...
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to true
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS p09o3cge2b0q.invalid;branch=z9hG4bK6349061
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=13d6q4hh3c
CSeq: 27 REGISTER
Call-ID: qdgk013brkoq2t7s9da1
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="anonymous.j2c5e1", realm="asterisk", nonce="49cd2e69", uri="sip:anonymous.invalid", response="4f74964edfd21e0c8714abc529d7d52f"
Contact: <sip:[email protected];transport=ws>;expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Reconnection attempt 1 of 3 - succeeded
logger-factory.ts:109 Mon Nov 22 2021 21:29:46 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Received WebSocket text message:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS p09o3cge2b0q.invalid;branch=z9hG4bK6349061;received=172.19.0.1;rport=34256
From: <sip:[email protected]>;tag=13d6q4hh3c
To: <sip:[email protected]>;tag=as209819a4
Call-ID: qdgk013brkoq2t7s9da1
CSeq: 27 REGISTER
Server: FPBX-15.0.17.62(17.9.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="416bc28e"
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:57 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Reconnection attempt 1 of 3 - succeeded
logger-factory.ts:109 Mon Nov 22 2021 21:29:57 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Received WebSocket text message:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS r6343hniv459.invalid;branch=z9hG4bK8435235;received=172.19.0.1;rport=34374
From: <sip:[email protected]>;tag=c5t71rimlv
To: <sip:[email protected]>;tag=as658bdddb
Call-ID: vp9ter9g2tpkg3q4958m
CSeq: 33 REGISTER
Server: FPBX-15.0.17.62(17.9.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="166bbabc"
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:57 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS r6343hniv459.invalid;branch=z9hG4bK8472035
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=c5t71rimlv
CSeq: 34 REGISTER
Call-ID: vp9ter9g2tpkg3q4958m
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="anonymous.5m8bk7", realm="asterisk", nonce="166bbabc", uri="sip:anonymous.invalid", response="95ebbb56990dc2ab479b9e97a7930add"
Contact: <sip:[email protected];transport=ws>;expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:29:57 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Received WebSocket text message:
SIP/2.0 403 Forbidden
Via: SIP/2.0/WSS r6343hniv459.invalid;branch=z9hG4bK8472035;received=172.19.0.1;rport=34374
From: <sip:[email protected]>;tag=c5t71rimlv
To: <sip:[email protected]>;tag=as658bdddb
Call-ID: vp9ter9g2tpkg3q4958m
CSeq: 34 REGISTER
Server: FPBX-15.0.17.62(17.9.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
logger-factory.ts:105 Mon Nov 22 2021 21:29:57 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Failed to register, status code 403
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
onReject @ registerer.ts:500
receiveResponse @ user-agent-client.ts:341
receiveResponse @ user-agent-client.ts:369
receiveResponse @ non-invite-client-transaction.ts:101
receiveResponseFromTransport @ user-agent-core.ts:898
receiveIncomingResponseFromTransport @ user-agent-core.ts:253
onTransportMessage @ user-agent.ts:972
transport.onMessage @ user-agent.ts:850
onWebSocketMessage @ transport.ts:488
(anonymous) @ transport.ts:259
logger-factory.ts:109 Mon Nov 22 2021 21:29:57 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to false
logger-factory.ts:105 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | WebSocket closed unexpectedly
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
onWebSocketClose @ transport.ts:409
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | WebSocket closed wss://home-access.ddns.me/ws (code: 1006)
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Transitioned from Connected to Disconnected
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Disconnected
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Unregistering...
logger-factory.ts:105 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Not currently registered, but sending an unregister anyway.
print @ logger-factory.ts:105
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
warn @ logger.ts:23
unregister @ registerer.ts:562
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to true
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS 9olc622l5kas.invalid;branch=z9hG4bK6557992
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=2n0057rp9i
CSeq: 29 REGISTER
Call-ID: fvf4ncu5r6olbtaek3lb
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="anonymous.d3m2pl", realm="asterisk", nonce="429bc333", uri="sip:anonymous.invalid", response="7873073bd96d7978d7bc92ccdcee5a0c"
Contact: <sip:[email protected];transport=ws>;expires=0
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Reconnection attempt 1 of 3 - trying
logger-factory.ts:101 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.user-agent-client | Not connected.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onTransportError @ user-agent-client.ts:296
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonymous) @ transaction.ts:130
Promise.catch (async)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.user-agent-client | User agent client request transport error. Generating internal 503 Service Unavailable.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onTransportError @ user-agent-client.ts:297
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonymous) @ transaction.ts:130
Promise.catch (async)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Unregister rejected with status code 503
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
onReject @ registerer.ts:631
receiveResponse @ user-agent-client.ts:341
onTransportError @ user-agent-client.ts:301
onTransportError @ user-agent-client.ts:368
onTransportError @ non-invite-client-transaction.ts:158
(anonymous) @ transaction.ts:130
Promise.catch (async)
send @ transaction.ts:116
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to false
logger-factory.ts:101 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.transaction.nict | Not connected.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:104
(anonymous) @ non-invite-client-transaction.ts:43
Promise.catch (async)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.transaction.nict | Transport error occurred in non-INVITE client transaction with id z9hG4bK6557992.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:105
(anonymous) @ non-invite-client-transaction.ts:43
Promise.catch (async)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:101 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.transaction.nict | Failed to send initial outgoing request.
print @ logger-factory.ts:101
genericLog @ logger-factory.ts:79
genericLog @ logger.ts:33
error @ logger.ts:20
logTransportError @ transaction.ts:106
(anonymous) @ non-invite-client-transaction.ts:43
Promise.catch (async)
NonInviteClientTransaction @ non-invite-client-transaction.ts:42
init @ user-agent-client.ts:372
UserAgentClient @ user-agent-client.ts:58
RegisterUserAgentClient @ register-user-agent-client.ts:12
register @ user-agent-core.ts:161
unregister @ registerer.ts:608
onDisconnect @ simple-user.ts:131
onTransportDisconnect @ user-agent.ts:867
transport.onDisconnect @ user-agent.ts:849
transitionState @ transport.ts:624
onWebSocketClose @ transport.ts:417
(anonymous) @ transport.ts:256
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Connecting wss://home-access.ddns.me/ws
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Transitioned from Disconnected to Connecting
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | WebSocket opened wss://home-access.ddns.me/ws
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Transitioned from Connecting to Connected
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Connected
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Registering...
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Registerer | Waiting toggled to true
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Sending WebSocket message:
REGISTER sip:anonymous.invalid SIP/2.0
Via: SIP/2.0/WSS 9olc622l5kas.invalid;branch=z9hG4bK261264
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=2n0057rp9i
CSeq: 30 REGISTER
Call-ID: fvf4ncu5r6olbtaek3lb
Max-Forwards: 70
Authorization: Digest algorithm=MD5, username="anonymous.d3m2pl", realm="asterisk", nonce="429bc333", uri="sip:anonymous.invalid", response="7873073bd96d7978d7bc92ccdcee5a0c"
Contact: <sip:[email protected];transport=ws>;expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound, path, gruu
User-Agent: SIP.js/0.20.0
Content-Length: 0
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.SimpleUser | [Anonymous] Reconnection attempt 1 of 3 - succeeded
logger-factory.ts:109 Mon Nov 22 2021 21:30:03 GMT+0100 (Mitteleuropäische Normalzeit) | sip.Transport | Received WebSocket text message:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS 9olc622l5kas.invalid;branch=z9hG4bK261264;received=172.19.0.1;rport=34428
From: <sip:[email protected]>;tag=2n0057rp9i
To: <sip:[email protected]>;tag=as3e27e415
Call-ID: fvf4ncu5r6olbtaek3lb
CSeq: 30 REGISTER
Server: FPBX-15.0.17.62(17.9.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="76b6fc7e"
Content-Length: 0
.......
My config looks like:
Card
type: custom:sipjs-client-card
server: wss://home-access.ddns.me/ws
ringtone: /local/ringtone.mp3
clients:
test1:
aor: sip:[email protected]
username: 101
password: network
name: Laptop Thorsten
7de68fce-5e7bf92d:
aor: sip:[email protected]
username: 102
password: dashbaord
name: Dashboard
If I well understand the Card is communicating with the FreePBX server right? Seems just like registering fails⌠I get this Unathorized error.
Help would be highly appreciated. I would for thanks write a detailed instruction how to setup this card with server if I get it running guys