Renater / SIPMediaGW

A media gateway to provide SIP access (audio+video) on top of Jitsi Meet, BBB,...web conferences
Apache License 2.0
31 stars 9 forks source link

SIPMediaGW behind nat #6

Closed BHoury closed 1 year ago

BHoury commented 1 year ago

Hello,

We test this solution with BBB. We have install SIPMediaGW on VM with have local IP and and accessible from the internet with public (SIPMediaGW behind nat). The service are ok but when we join a conference with public IP we have a not relaying message. (With local ip it work)

Thanks B.Houry

nicotyze commented 1 year ago

The problem probably comes from the kamailio configuration. The TURN server (for the media part) could be problematic with NAT as well. I assume that kamailio and coturn run on the same machine with pub_addr and local_addr being respectively the public and the local addresses of the VM. Then the environment variables should be adapted as follows:

Useful commands to check kamailio configuration: