I want to install an asterisk on a server with a public ip. The sip clients are behind different NATs. How is the signaling and the rtp packets (the voice) working in this case? Will rtp be peer to peer? Do I need besides asterisk a proxy server? I am new to asterisk and it s configuration file.
I know I want a public ip for server. private ip for clients and the communication between client A and client B needs to be peer to peer.
I am working with asteriskwin32 (the windows version for asterisk)
Yes. You must have and configure all NATed clients to use outbound proxy. Full chain will become
C <-> P <-> S <-> P <-> C