Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
45 Views

Configuring external IP of WebRTC Gateway

Hi,

I am trying to run the WebRTC Gateway on EC2 and I am running in to a problem where the remote candidate IP's returned to my browser is the local IP of the EC2 instance where the gateway is running, and not the external IP of the EC2 instance. Is it possible to configure the WebRTC Gateway to return the external IP of the machine it is running on and not the IP of the interface it is running on?

A more general question is also where I can find documentation of the gateway_config.json?

Thanks,

Lars

 

Tags (2)
0 Kudos
5 Replies
Highlighted
Beginner
45 Views

Note: this happens even when I set the publicIP field of gateway_config.json to the public IP of the machine.

0 Kudos
Highlighted
45 Views

Which version of SIP Gateway are you using?

Thanks!

0 Kudos
Highlighted
Beginner
45 Views

Hi Chunbo,

I'm using the 3.1 release.

Thanks,

Lars

 

0 Kudos
Highlighted
Employee
45 Views

Hi, Lars

It should work with publicIP setting of gateway_config.json. But there is defect in current SIP Gateway. This will be fixed in coming v3.2.1 release. Thanks for your patience.

Best wishes,

Zhai Lei

0 Kudos
Highlighted
New Contributor I
45 Views

Hi,

            I am using sdk version 3.3. I have configured mcu server in aws server. But the server taking private ip address of the instance for sdp creation.So unable to establish peer connection " woogeen.sdk.js:8 ERROR: publish failed: peer connection failed".

sdp offer like the following

......................................

c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=candidate:1 1 udp 2013266431 172.31.23.171 47623 typ host generation 0
a=ice-ufrag:DSf8
a=ice-pwd:n6jpgutZPo925c3DqhQrdq

...............................................................................

In the above sdp ip address is 172.31.23.171. But it is the private ip address of my instance. I need public ip address in place.

I did not configure private ip address anywhere webrtc server automatically ditect the private ip. How can force the intel webrtc server to take public ip address in place private one.

This my application url please check :    https://13.228.230.100:3004/

Thank you,

0 Kudos