I am having trouble Registering Yeastar TG100 to Asterisk

Hello,

I am quite new to Asterisk and GSM sytems overall. I am currently trying to register a TG100 Modem to Asterisk. BUt it keeps returning a 401 Unauthorised error. Here is my asterisk configuration.

pjsip.conf

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
local_net=192.168.178.0/24
; external_* lines are usually used behind NAT, but fine if you’re exposing public IP or STUN

; The Auth object for user 100

[tg100_auth]
type=auth
auth_type=userpass
username=100
password=1234
realm=192.168.178.37

; The AOR to hold our contact for 100

[tg100]
type=aor
max_contacts=1
contact=sip:192.168.178.55:5060
; The Endpoint definition

[tg100]
type=endpoint
context=default
disallow=all
allow=ulaw
auth=tg100_auth
aors=tg100_aor
direct_media=no
from_domain=192.168.178.37     ; force calls/regs to consider this domain
rewrite_contact=yes            ; sometimes helps if NAT or domain mismatch
force_rport=yes

; Option 1: Match by IP

[identify_tg100]
type=identify
endpoint=tg100
match=192.168.178.55

``
And my configuration on the Yeastar TG100

![image|690x260](upload://sZsojoDlWrSMRtSDticyRdNFhsh.png)
![image|690x392](upload://zPw22uvPu1NlkcQ9ZkMEOH1UXBY.png)

But it isnt working  here are my error logs.
Form Asterisk  Side: 

[2025-01-07 13:22:58] WARNING[2896745]: res_pjsip_registrar.c:1166 find_registrar_aor: AOR ‘’ not found for endpoint ‘tg100’ (192.168.178.55:5060)
<— Received SIP request (503 bytes) from UDP:192.168.178.55:5060 —>
OPTIONS sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK4528697c;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.178.55;tag=as58a3e74d
To: sip:192.168.178.37
Contact: sip:Unknown@192.168.178.55
Call-ID: 5dc15a71444498d240a7d9e00d347f71@192.168.178.55
CSeq: 102 OPTIONS
User-Agent: TG100
Date: Tue, 07 Jan 2025 12:23:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<— Transmitting SIP response (509 bytes) to UDP:192.168.178.55:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK4528697c
Call-ID: 5dc15a71444498d240a7d9e00d347f71@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as58a3e74d
To: sip:192.168.178.37;tag=z9hG4bK4528697c
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736252593/eefadf136176af9f23fe24143b793469”,opaque=“23e4aab1723d1cad”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<— Received SIP request (503 bytes) from UDP:192.168.178.55:5060 —>
OPTIONS sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK6850ecd1;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.178.55;tag=as190be5b0
To: sip:192.168.178.37
Contact: sip:Unknown@192.168.178.55
Call-ID: 6a34f0c1479ccc335b0268ab2726b90d@192.168.178.55
CSeq: 102 OPTIONS
User-Agent: TG100
Date: Tue, 07 Jan 2025 12:23:33 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<— Transmitting SIP response (509 bytes) to UDP:192.168.178.55:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK6850ecd1
Call-ID: 6a34f0c1479ccc335b0268ab2726b90d@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as190be5b0
To: sip:192.168.178.37;tag=z9hG4bK6850ecd1
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736252613/3421449b8be886c34f1518424c0dd3ff”,opaque=“5066f1784d4aec61”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<— Received SIP request (503 bytes) from UDP:192.168.178.55:5060 —>
OPTIONS sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK71ed55db;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.178.55;tag=as52c65aa7
To: sip:192.168.178.37
Contact: sip:Unknown@192.168.178.55
Call-ID: 695e438b0f293f5772668f8476368503@192.168.178.55
CSeq: 102 OPTIONS
User-Agent: TG100
Date: Tue, 07 Jan 2025 12:24:33 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<— Transmitting SIP response (509 bytes) to UDP:192.168.178.55:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK71ed55db
Call-ID: 695e438b0f293f5772668f8476368503@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as52c65aa7
To: sip:192.168.178.37;tag=z9hG4bK71ed55db
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736252673/5e20b343da434d96ce7faad4fc1bf1c2”,opaque=“1832b6c81a18eb22”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<— Received SIP request (503 bytes) from UDP:192.168.178.55:5060 —>
OPTIONS sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK27062bd4;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.178.55;tag=as5f93a6ac
To: sip:192.168.178.37
Contact: sip:Unknown@192.168.178.55
Call-ID: 7223b19045a6fd542be4a60c346975ce@192.168.178.55
CSeq: 102 OPTIONS
User-Agent: TG100
Date: Tue, 07 Jan 2025 12:24:53 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<— Transmitting SIP response (509 bytes) to UDP:192.168.178.55:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK27062bd4
Call-ID: 7223b19045a6fd542be4a60c346975ce@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as5f93a6ac
To: sip:192.168.178.37;tag=z9hG4bK27062bd4
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736252693/ca6fe0c7f583337be00ed398d5dbf00b”,opaque=“5f54543c49cfd974”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<— Received SIP request (629 bytes) from UDP:192.168.178.55:5060 —>
REGISTER sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK75851a68;rport
Max-Forwards: 70
From: sip:100@192.168.178.37;tag=as32bae4b4
To: sip:100@192.168.178.37
Call-ID: 1bb0592b1145e20a4006e33f798a8870@0.0.0.0
CSeq: 120 REGISTER
User-Agent: TG100
Authorization: Digest username=“100”, realm=“192.168.178.37”, algorithm=MD5, uri=“sip:192.168.178.37”, nonce=“1736252578/4087628d9807c69d230b4163b9675a3e”, response=“1c1980afe740a4d8a8680d30a66aa2cf”, opaque=“0490382041f166e7”, qop=auth, cnonce=“5816e6f0”, nc=00000002
Expires: 120
Contact: sip:100@192.168.178.55
Content-Length: 0

<— Transmitting SIP response (504 bytes) to UDP:192.168.178.55:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK75851a68
Call-ID: 1bb0592b1145e20a4006e33f798a8870@0.0.0.0
From: sip:100@192.168.178.37;tag=as32bae4b4
To: sip:100@192.168.178.37;tag=z9hG4bK75851a68
CSeq: 120 REGISTER
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736252694/623412f3c65406941391802d877c89e5”,opaque=“4481e0c51e208940”,stale=true,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<— Received SIP request (629 bytes) from UDP:192.168.178.55:5060 —>
REGISTER sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK3ab08894;rport
Max-Forwards: 70
From: sip:100@192.168.178.37;tag=as180aad55
To: sip:100@192.168.178.37
Call-ID: 1bb0592b1145e20a4006e33f798a8870@0.0.0.0
CSeq: 121 REGISTER
User-Agent: TG100
Authorization: Digest username=“100”, realm=“192.168.178.37”, algorithm=MD5, uri=“sip:192.168.178.37”, nonce=“1736252694/623412f3c65406941391802d877c89e5”, response=“5e6331c6f7d782c0975764674ec22675”, opaque=“4481e0c51e208940”, qop=auth, cnonce=“3736b0a0”, nc=00000001
Expires: 120
Contact: sip:100@192.168.178.55
Content-Length: 0

<— Transmitting SIP response (338 bytes) to UDP:192.168.178.55:5060 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK3ab08894
Call-ID: 1bb0592b1145e20a4006e33f798a8870@0.0.0.0
From: sip:100@192.168.178.37;tag=as180aad55
To: sip:100@192.168.178.37;tag=z9hG4bK3ab08894
CSeq: 121 REGISTER
Server: Asterisk PBX 22.1.0
Content-Length: 0


From TG100

<— SIP read from UDP:192.168.178.37:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK59236234
Call-ID: 5431f61a32d94b93254e7b6d540ee0f6@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as06bbc904
To: sip:192.168.178.37;tag=z9hG4bK59236234
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736249767/166f1f822803259b8e356de858eb8733”,opaque=“3c583b7e7c5209b1”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<------------->

[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 0 [ 24]: SIP/2.0 401 Unauthorized
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 1 [ 94]: Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK59236234
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 2 [ 56]: Call-ID: 5431f61a32d94b93254e7b6d540ee0f6@192.168.178.55
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 3 [ 59]: From: “Unknown” sip:Unknown@192.168.178.55;tag=as06bbc904
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 4 [ 44]: To: sip:192.168.178.37;tag=z9hG4bK59236234
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 5 [ 17]: CSeq: 102 OPTIONS
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 6 [150]: WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736249767/166f1f822803259b8e356de858eb8733”,opaque=“3c583b7e7c5209b1”,algorithm=MD5,qop=“auth”
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 7 [ 27]: Server: Asterisk PBX 22.1.0
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 8 [ 18]: Content-Length: 0
[2025-01-07 03:36:07] DEBUG[1363] chan_sip.c: Header 9 [ 0]:

[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 0 [ 34]: OPTIONS sip:192.168.178.37 SIP/2.0
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 1 [ 65]: Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK0cec576b;rport
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 2 [ 16]: Max-Forwards: 70
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 3 [ 59]: From: “Unknown” sip:Unknown@192.168.178.55;tag=as4c89b8e6
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 4 [ 24]: To: sip:192.168.178.37
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 5 [ 37]: Contact: sip:Unknown@192.168.178.55
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 6 [ 56]: Call-ID: 0c6abb9914bfdb4d002624ae0401fe33@192.168.178.55
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 7 [ 17]: CSeq: 102 OPTIONS
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 8 [ 17]: User-Agent: TG100
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 9 [ 35]: Date: Tue, 07 Jan 2025 11:36:33 GMT
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 10 [ 72]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 11 [ 26]: Supported: replaces, timer
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 12 [ 17]: Content-Length: 0
OPTIONS sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK0cec576b;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.178.55;tag=as4c89b8e6
To: sip:192.168.178.37
Contact: sip:Unknown@192.168.178.55
Call-ID: 0c6abb9914bfdb4d002624ae0401fe33@192.168.178.55
CSeq: 102 OPTIONS
User-Agent: TG100
Date: Tue, 07 Jan 2025 11:36:33 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


<— SIP read from UDP:192.168.178.37:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK0cec576b
Call-ID: 0c6abb9914bfdb4d002624ae0401fe33@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as4c89b8e6
To: sip:192.168.178.37;tag=z9hG4bK0cec576b
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736249793/dbf1e7941ad1142f2a450929129992c2”,opaque=“5a7a605d3fdc454a”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<------------->

[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 0 [ 24]: SIP/2.0 401 Unauthorized
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 1 [ 94]: Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK0cec576b
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 2 [ 56]: Call-ID: 0c6abb9914bfdb4d002624ae0401fe33@192.168.178.55
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 3 [ 59]: From: “Unknown” sip:Unknown@192.168.178.55;tag=as4c89b8e6
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 4 [ 44]: To: sip:192.168.178.37;tag=z9hG4bK0cec576b
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 5 [ 17]: CSeq: 102 OPTIONS
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 6 [150]: WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736249793/dbf1e7941ad1142f2a450929129992c2”,opaque=“5a7a605d3fdc454a”,algorithm=MD5,qop=“auth”
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 7 [ 27]: Server: Asterisk PBX 22.1.0
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 8 [ 18]: Content-Length: 0
[2025-01-07 03:36:33] DEBUG[1363] chan_sip.c: Header 9 [ 0]:

[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 0 [ 34]: OPTIONS sip:192.168.178.37 SIP/2.0
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 1 [ 65]: Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK24c7d0e2;rport
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 2 [ 16]: Max-Forwards: 70
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 3 [ 59]: From: “Unknown” sip:Unknown@192.168.178.55;tag=as49667c53
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 4 [ 24]: To: sip:192.168.178.37
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 5 [ 37]: Contact: sip:Unknown@192.168.178.55
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 6 [ 56]: Call-ID: 5447e6c7062452011d1cc05c47550852@192.168.178.55
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 7 [ 17]: CSeq: 102 OPTIONS
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 8 [ 17]: User-Agent: TG100
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 9 [ 35]: Date: Tue, 07 Jan 2025 11:37:27 GMT
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 10 [ 72]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 11 [ 26]: Supported: replaces, timer
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 12 [ 17]: Content-Length: 0
OPTIONS sip:192.168.178.37 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK24c7d0e2;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.178.55;tag=as49667c53
To: sip:192.168.178.37
Contact: sip:Unknown@192.168.178.55
Call-ID: 5447e6c7062452011d1cc05c47550852@192.168.178.55
CSeq: 102 OPTIONS
User-Agent: TG100
Date: Tue, 07 Jan 2025 11:37:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


<— SIP read from UDP:192.168.178.37:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK24c7d0e2
Call-ID: 5447e6c7062452011d1cc05c47550852@192.168.178.55
From: “Unknown” sip:Unknown@192.168.178.55;tag=as49667c53
To: sip:192.168.178.37;tag=z9hG4bK24c7d0e2
CSeq: 102 OPTIONS
WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736249847/2568ba424a8d46e26b33d224651d1d20”,opaque=“367ea4171b3ed8fe”,algorithm=MD5,qop=“auth”
Server: Asterisk PBX 22.1.0
Content-Length: 0

<------------->

[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 0 [ 24]: SIP/2.0 401 Unauthorized
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 1 [ 94]: Via: SIP/2.0/UDP 192.168.178.55:5060;rport=5060;received=192.168.178.55;branch=z9hG4bK24c7d0e2
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 2 [ 56]: Call-ID: 5447e6c7062452011d1cc05c47550852@192.168.178.55
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 3 [ 59]: From: “Unknown” sip:Unknown@192.168.178.55;tag=as49667c53
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 4 [ 44]: To: sip:192.168.178.37;tag=z9hG4bK24c7d0e2
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 5 [ 17]: CSeq: 102 OPTIONS
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 6 [150]: WWW-Authenticate: Digest realm=“192.168.178.37”,nonce=“1736249847/2568ba424a8d46e26b33d224651d1d20”,opaque=“367ea4171b3ed8fe”,algorithm=MD5,qop=“auth”
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 7 [ 27]: Server: Asterisk PBX 22.1.0
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 8 [ 18]: Content-Length: 0
[2025-01-07 03:37:27] DEBUG[1363] chan_sip.c: Header 9 [ 0]:

The name of the AOR matters, in Asterisk you have configured it as “tg100” while the REGISTER request is for AOR “100”. These need to match.

1 Like

Also, why are you registering if the IP address is known and you’ve explicitly configured it in the AOR?

1 Like

On Tuesday 07 January 2025 at 13:28:58, EMC via Asterisk Community wrote:

[tg100]
type=aor

[tg100]
type=endpoint
aors=tg100_aor

That name doesn’t match.

Antony.


What’s brown, lies in the grass, and smokes?
A tiny fireplace.
(Sorry this joke only really works in German).

Thank You!

It seems to be registered now after matching the names. I didnt know that i could not register, if the IPs are known.
In all honesty I am kind of learning while I am doing. If you could recommend some resources so i can deepen my understanding of how the conenctions actually work it would be great!

Right now I am just trying to play a voice recording when a call is made to the sim card i installed in the modem, and then close.

Thanks again for the quick response and help!

The whole purpose of REGISTER is to provide an, otherwise, unknown address. It would be more accurate to say you SHOULD not register in this case.