PJSIP basic setting

Good morning!

Could anyone to help me make basic configuration of PJSIP, please?
I have two asterisk servers, both in local net but one of them is SIP and second is PJSIP.
I configured both and calls passed successfull but on PJSIP side I see ‘pjsip show endpoints’ and always seeing ‘Unavailable’ status of SIP asterisk

SIP asterisk has next configure:
[asterisksip]
type=peer
username=trunk1
fromuser=trunk1
host=172.25.25.20
disallow=all
allow=g729
context=from-519
qualify=yes
port=5060
nat=no

I’ll write PJSIP configuration later if you are needed it

May the problem be here?
tcp 0 0 0.0.0.0:5061 0.0.0.0:* LISTEN 442/asterisk
udp 0 0 0.0.0.0:5060 0.0.0.0:* 442/asterisk

The problem has been solved
I added oars option to pjsip.endpoint.conf for asterisksip endpoint