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:email@example.com
register => 2101:firstname.lastname@example.org
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.