Migrating Sip Trunk from CHANSIP to PJSIP

Hello ,

I am installing / replacing an older PBX and would like to move to PJSIP. My extensions / devices seem to be running fine . I would need some help transferring my SIP Trunk over . The PJSIP window looks quite different .
Here are the old trunk settings .

Outgoing Settings:

Trunk name: cbeyondchi
Peer Details:
username=xxxxxxxxxx
type=peer
secret=yyyyyyyy
qualify=yes
outboundproxy=sip-proxy.chi0.cbeyond.net
nat=yes
insecure=port,invite
host=sipconnect.chi0.cbeyond.net
fromuser=xxxxxxxxxx
fromdomain=sipconnect.chi0.cbeyond.net
dtmfmode=auto
disallow=all
context=from-pstn
canreinvite=yes
allow=ulaw

Incoming settings:
type=peer
host=sip-proxy.chi0.cbeyond.net
dtmfmode=auto
context=from-trunk

Register String:
XXXXXXXXXX:YYYYYYYY@cbeyondchi/XXXXXXXXXX

In the example XXXXX is the phone number and YYYY is the password / secret from the provider

Any help or direction would be appreciated .

Or it is just best to stick to chan_sip ?

Thank you