Softphone status connecting

halo semua
saya baru di asterisk, kemarin udah install dan service sudah running.
sewaktu dicoba login di softphone, ternyata tidak bisa (status nya connecting terus)
saya cek di log nya seperti dibawah ini :

Connected to Asterisk 16.16.1 currently running on asterisk (pid = 27250)
[Mar  2 10:10:17] NOTICE[4958]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '"nobody" <sip:1000@IPADDRESSSERVER>' failed for 'IPADDRESSCLIENT:5060' (callid: 18949) - No matching endpoint found
[Mar  2 10:10:17] NOTICE[4958]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:1000@IPADDRESSSERVER>' failed for 'IPADDRESSCLIENT:5060' (callid: 2586292232@IPADDRESSCLIENT) - No matching endpoint found
[Mar  2 10:10:17] NOTICE[4958]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:1000@IPADDRESSSERVER>' failed for 'IPADDRESSCLIENT:5060' (callid: 2586292232@IPADDRESSCLIENT) - No matching endpoint found
[Mar  2 10:10:17] NOTICE[4958]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:1000@IPADDRESSSERVER>' failed for 'IPADDRESSCLIENT:5060' (callid: 2586292232@IPADDRESSCLIENT) - Failed to authenticate
asterisk*CLI>

ada yang bisa bantu teman-teman disini ?

Halo,

Itu endpoint 1000 tidak ada pada konfigurasi PJSIP.

Bisa share disini konfigurasi lengkapnya agar dibantu periksa kekurangannya.

sorry om sebelumnya, baru pertama config asterisk nih
yang harusnya di setting supaya bisa register user itu PJSIP.conf atau SIP.conf ya ?

ini konfigurasi PJSIP di server nya :

[root@asterisk ~]# cat /etc/asterisk/pjsip.conf
[1000]
type=endpoint
context=default
disallow=all
allow=ulaw
transport=simpletrans
auth=auth1000
aors=1000

[simpletrans]
type=transport
protocol=udp
bind=192.168.7.79

[simpletrans]
type=transport
protocol=tls
bind=0.0.0.0
;various TLS specific options below:
cert_file=
priv_key_file=
ca_list_file=
cipher=
method=

[auth1000]
type=auth
auth_type=userpass
password=1000
username=1000

[1000]
type=aor
max_contacts=1

Halo,

Kalo dari konfigurasi endpoint, auth dan aors sepertinya sudah benar, namun untuk transport, itu ada jadi double simpletrans

coba lakukan perubahan seperti berikut :

[trans-udp]
type=transport
protocol=udp
bind=192.168.7.79

[trans-tls]
type=transport
protocol=tls
bind=0.0.0.0
;various TLS specific options below:
cert_file=
priv_key_file=
ca_list_file=
cipher=
method=

[1000]
type=endpoint
context=default
disallow=all
allow=ulaw
transport=trans-udp
auth=auth1000
aors=1000

[auth1000]
type=auth
auth_type=userpass
password=1000
username=1000

[1000]
type=aor
max_contacts=1

makasih om inputnya, saya udah ubah konfigurasi PJSIP.conf sesuai yang diberiikan.
saya coba restart asterisk service, lalu

[root@asterisk asterisk]# service asterisk restart
Restarting asterisk (via systemctl): [ OK ]
[root@asterisk asterisk]# service asterisk status
● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/rc.d/init.d/asterisk; bad; vendor preset: disabled)
Active: active (running) since Mon 2021-03-08 14:43:50 WIB; 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 7281 ExecStop=/etc/rc.d/init.d/asterisk stop (code=exited, status=0/SUCCESS)
Process: 7307 ExecStart=/etc/rc.d/init.d/asterisk start (code=exited, status=0/SUCCESS)
Main PID: 7338 (asterisk)
CGroup: /system.slice/asterisk.service
├─7336 /bin/sh /usr/sbin/safe_asterisk
└─7338 /usr/sbin/asterisk -f -vvvg -c

Mar 08 14:43:50 asterisk.bumitama.local systemd[1]: Starting LSB: Asterisk PBX…
Mar 08 14:43:50 asterisk.bumitama.local asterisk[7307]: Starting asterisk:
Mar 08 14:43:50 asterisk.bumitama.local systemd[1]: Can’t open PID file /var/run/asterisk/asterisk.pid (yet?) after start: No such fil…rectory
Mar 08 14:43:50 asterisk.bumitama.local systemd[1]: asterisk.service: Supervising process 7338 which is not our child. We’ll most like… exits.
Mar 08 14:43:50 asterisk.bumitama.local systemd[1]: Started LSB: Asterisk PBX.
Hint: Some lines were ellipsized, use -l to show in full.

coba lagi login tapi blm bisa… hehhe (sorry awam).

btw selain jpsip.conf file apa lagi yg harus ada konfigurasi nya yg disesuiakan dengan pjsip.conf om ?

Cukup lalu reload dari asterisk console, tidak harus restart Asterisk.

Saat ini pastikan asterisk sudah running, lalu lihat lognya kembali seperti diawal, untuk mengetahui penyebab tidak bisa loginnya.