Moving from plain asterisk to freepbx

Hello Guys.

I am a little confused with all those sip_xxx.conf and extensions_xxx.conf that freepbx has.
On my plain asterisk I have this configuration below and I am not sure were to configure this on freepbx.
I tried on different screens under freepbx GUI interface but my trunk is not coming up.

This is on my plain asterisk:
sip.conf
[general]
context=public
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=yes
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yes

[8558]
type=peer
[email protected]
username=8558
host=10.2.22.231
transport=tcp
vmexten=8558

[8559]
type=friend
[email protected]
username=8559
security=8559
host=dynamic
vmexten=8559

[8528]
type=peer
[email protected]
username=8528
host=10.2.22.231
transport=tcp
vmexten=8528

extensions.conf
[general]
static=yes
writeprotect=no
clearglobalvars=no

[public]
include => from-internal

[test]
type=peer
context=from-internal
host=10.2.22.231
port=5060
disallow=all
allow=ulaw
canreinvite=no
dtmfmode=inband
transport=tcp

[from-internal]
exten => 6060,1,NoOp(${CALLERID(num)})
exten => 6060,2,NoOp(${CALLERID(rdnis)})
some more stuffs in here

Any suggestion is appreciated.

you can add account from GUI->extension, for very specific dialplan you have to add you self by exntension_customer.conf.

When u create an extension, u need to select if IAX or SIP from the GUI.Since you have diffierent dialplans, u need to specify them also for extensions.The default will be from-internal. welcome to freepbx!