Hi,

Thanks a lot that's exactly what I need, I've been able to use it and I'm
seeing the internal IP modified by the public IP.

It has been needed to declare a global variable within the scenario with
format below to get it working:
<Global variables="public_ip"/>

Between the -set public_ip you don't need the = sign.

Best Regards



Le jeu. 4 avr. 2019 à 08:29, Šindelka Pavel <sinde...@ttc.cz> a écrit :

> If you know the public IP in advance, just use a variable such as
> [$public_ip] instead of [local_ip] everywhere in the scenario (so unless
> you already use custom scenarios, you have to use the -sd command line
> parameter to dump the embedded one(s) into file(s), modify them accordingly
> and use -sf file_name on the command line), and add -set public_ip
> your.public.ip.address to the command line (maybe there has to be a =
> sign rather than a space between the variable name and its value).
>
> Pavel
>
>
> Dne 2.4.2019 v 23:14 Cyril Constantin napsal(a):
>
> Hi Guys,
>
> I'm trying from an AWS EC2 to generate SIPP calls to a remote server also
> hosted on AWS EC2, the problem is that I only have one internal private IP
> to bind on with SIPP and can't rewrite the SIP headers with -i option to
> use my AWS EC2 public IP.
>
> My remote server reject my INVITE with a 488 Not acceptable here because
> messages come from a public IP but SIP headers contain the internal IP that
> I was using to bind.
>
> AWS EC2 is doing a NAT 1:1 between the public IP and private IP but it's
> not possible to assign an ethernet interface with a public IP.
>
> Do you see a way to achieve it ?
>
> Thanks in advance for your help.
>
> Best Regards
>
>
> _______________________________________________
> Sipp-users mailing 
> listSipp-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/sipp-users
>
> --
>
>
> *Ing. Pavel Šindelka *senior specialista
>
>
>
>
>
> TTC MARCONI s. r. o.
> Třebohostická 987/5, 100 00  Praha 10
> +420 234 051 712, +420 602 355 199
> sinde...@ttc.cz, www.ttc-marconi.com
>
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to