I would like to create a voip between two clients. I have two asterisks installed and configured on two public ip: Asterisk1 and Asterisk2. I have two clients defined in asterisk1 (client1,client2) and two client defined in asterisk2(client3,client4).
It's easy to configure asterisk1 for client1 to call client2 because client1 and client2 are in the same domain.
BUT WHAT happns If client1@asterisk1 wants to call client3@asterisk2? Do I have to creat a sip trunk between asterisk1 and asterisk2. What are the configurations that i need to implement in bought asterisk servers. Also the RTP stream will be point to point?(client1-client3)? I would like to specify that all the clients are behind nat( have private ip)
Can someone explain in detail this coonfiguration? I would appreciate if you could post some link files with this structure and some explination and asterisk configuration.