[SOLVED]2 asterisk servers, master and slave

Please give any advice for my solution.
I need a simple connection of 2 or more asterisk servers.
I have a main PBX server (MASTER) with static ip=192.168.1.100, and server SLAVE (dynamic ip) with 1 extension. SLAVE is radio gateway with app_rpt, but it have a one local SIP phone. for example it have extension 2100 with secret=pass for radio and 2101 with same secret for SIP phone.
In MASTER side I have a SIP phone ext 2000.
I need a simple possibility to call directly between 2000 and 2101 with both directions without any additional prefix number. I dont need a separated dialplans. (radio extension 2100 maybe need another parameters)
If I use SIP, I write in SIP.CONF in SLAVE side
register => 2100:pass@192.168.1.100
register => 2101:pass@192.168.1.100

In MASTER side I make 2 SIP extensions 2100, secret=pass and 2101, secret=pass.
Asterisks shows, but 2100 and 2101 registered in MASTER server, but calls between numbers not working.

in EXTENSIONS.CONF i have
exten => 2000,1,Dial(SIP/2000,60)
exten => 2101,1,Dial(SIP/2101,60)

Could any help me with dialplans, where and what i need to make for make direct calls between 2000 and 2101?
All dialing rules must be in MASTER server, SLAVE servers only as “extension extender” or “repeater”. For system, extension 2101 in slave server must be as extension 2101 in MASTER.
Thanks!

Register the slave once as a “trunk”. Include the dialed digits when routing from master to slave.

Asterisk cannot distinguish between peers with the same IP address and user mode has its own problems.

Thanks, but could you show me, what i need to put to the extensions.conf on slave side and on master side? Sorry, i am new Asterisk user.

Slave sip extension 2101,
Master sip extension 2000

I read many information about Asterisk trunking, but all configuration examples with separate dialplans (7xxx on serverA and 8xxx on serverB) but I have all numbers 2xxx


Please check, is it wrong?
SLAVE side

sip.conf
[general]
register => 2101:pass@192.168.1.100/2101
[pbxserver]
username=2101
type=friend
secret=pass
context=from_pbxserver
host=192.168.1.100
trunkname=pbxserver
fromuser=2101
qualify=yes

[2101]
type=friend
username=2101
secret=pass
host=dynamic
context=internal

EXTENSIONS.CONF
[pbxserver_outbound]
exten => _XXXX,1,Dial(SIP/pbxserver/${EXTEN},120)
[internal]
include => pbxserver_outbound
[from_pbxserver]
exten => 2101,1,Answer
exten => 2101,2,Dial(SIP/2101,25,Ttr)
exten => 2101,3,HangUp