[Spce-user] Nat configuration with AWS AMI
Andrew Pogrebennyk
apogrebennyk at sipwise.com
Tue Mar 5 11:07:11 EST 2019
Hi,
check the option advertised_ip:
|* advertised_ip|: the IP address that is used in SIP messages when
Sipwise C5 system is behind NAT/SBC. An example of such a deployment is
/Amazon AMI/, where the server doesn’t have a public IP, so
/load-balancer/ component of Sipwise C5 needs to know what his public
domain is (→ |advertised_ip|).
- from
https://www.sipwise.org/doc/mr7.1.1/spce/index.html?_href=ar01s12.html#_interface_parameters
Let us know if it works for you with registrations.
Regards,
Andrew
On 3/5/19 3:59 PM, Daniele Renda wrote:
> Hi,
> I'm new to C5 CE, so sorry if my question is too banal.
> I installed C5 mr7.1.1 on a AWS t2.medium instance. I followed step by
> step the tutorial https://www.sipwise.org/doc/mr7.1.1 and I also set
> the advertised-ip.
>
> I created a peer (outbound/inbound). The scenario is simple: I have a
> DID bought from a provider and I need to receive and make calls via
> SipwiseC5.
>
> I was able to create the outbound registration to the provider, but in
> the provider side I see the registration comes with the private ip of
> the EC2 instance (i.e. 172.xx.xx.xx): so when I make a call to my
> mobile phone for example I see the phone ringing but when I pick up
> the call I don't hear any audio.
>
> The rtp.log shows:
>
> ] INFO: [313535313739363530363535363736-52dacv20j9ei]: ------ Media #1
> (audio over RTP/AVP) using unknown codec
> Mar 5 14:35:54 ip-172-31-25-213 (info) rtpengine[591]:
> [1551796554.000202] INFO:
> [313535313739363530363535363736-52dacv20j9ei]: --------- Port
> 172.31.25.213:30114 <http://172.31.25.213:30114> <>
> 95.xx.xx.252:63416, SSRC 0, 0 p, 0
>
> Where should I specify my public ip in order it is used correctly also
> for RTP stream? I didn't find hints in the guide.
>
> Thanks
> --
> Daniele Renda
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190305/4619da45/attachment-0001.html>
More information about the Spce-user
mailing list