Need help on asterisk GUI

Hello, I’m a newbie to asterisk. I need someone to teach me how to make a proper trunk. I have installed asterisk GUI. Can anyone teach me, thanks in advance

I have a problem getting my softphones to connect.

sip.conf

[general]
port = 5060  ; Port to bind to (Default)X
bindaddr = 0.0.0.0
context = default
srvlookup = yes
dtmfmode = inband
autodomain = yes
domain = asteriskpbx.free
realm = asterisk
allowexternaldomains = no
allowguest = no
tos = lowdelay  ; QoS setting
maxexpiry = 3600
defaultexpiry = 120
musicclass = default  ; Music-on-hold default
language = en
allowoverlap = yes
allowsubscribe = yes
allowtransfer = yes
alwaysauthreject = no
bindport = 5060
callevents = no
canreinvite =
checkmwi = 10
compactheaders = no
dumphistory = no
externrefresh = 10
fromdomain = Debian
g726nonstandard = no
jbenable = no
jbforce = no
jbimpl =
jblog = no
jbmaxsize =
jbresyncthreshold =
maxcallbitrate = 384
minexpiry = 60
mohinterpret = default
mohsuggest =
nat =
notifyringing = yes
pedantic = no
progressinband = never
promiscredir = no
recordhistory = no
registerattempts = 0
registertimeout = 20
relaxdtmf = no
rtpholdtimeout =
rtptimeout =
sendrpid = no
sipdebug = no
subscribecontext =
t1min = 100
t38pt_udptl = no
tos_audio = none
tos_sip = none
tos_video = none
trustrpid = no
useragent = Asterisk PBX
usereqphone = no
videosupport = no
disallow = all
allow =

6000];***  ; X-Lite client 6000
username = ryan
type = friend  ;can send and receive calls
secret = 12345
host = dynamic
;defaultip=152.226.238.59  ;***  ; the default address of the phone
dtmfmode = rfc2833
context = tutorial
callerid = "ryan" <6000>  ;***

[6001]
username = ryan2  ;***  ; X-Lite client 6001
type = friend
secret = 23456
host = dynamic
;defaultip=192.168.1.101  ;***  ; the default address of the phone
dtmfmode = rfc2833
context = tutorial
callerid = "ryan2" <6001>  ;***

[6002];***  ; X-Lite client 6002
username = ryan3
type = friend
secret = 34567
host = dynamic
;defaultip=192.168.43.128  ;***  ; the default address of the phone
dtmfmode = rfc2833
context = tutorial
callerid = "ryan3" <6002>  ;***

[trunk-out]
type = peer
host = 152.226.238.59
port = 5060
fromuser = +656000
dtmfmode = rfx2833
nat = yes

[trunk-in]
type = peer
host = 152.226.238.59
port = 5060
nat = yes
reinvite = no
canreinvite = no
dtmfmode = rfc2833

the error is “registration error - 404 not found” or "registration error - 408 request timeout"
my asterisk server is on.

Anyone can enlighten me on what I may have missed out, thanks in advance

no idea if this will help but it might be something worth trying.

change the bindaddr to the address of the server.