<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 14/10/2022 07.22, [EXT] Gerry Kernan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB9P190MB1403A15CE72FA5077496D109BC249@DB9P190MB1403.EURP190.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
{font-family:"Lucida Calligraphy";
panose-1:3 1 1 1 1 1 1 1 1 1;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Henning <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Issue could be that I’m trying to do
something that’s not possible .
<o:p></o:p></p>
<p class="MsoNormal">We have an asterisk server behind kamailio
. kamailio and asterisk are on the same subnet 10.3.1.0/24 .
kamailo/rtpeengine are configured to advertise its WAN IP .
would this mess up SIP/RTP from kamailio to the asterisk
server.<o:p></o:p></p>
</div>
</blockquote>
<p>Yes.</p>
<p>To make this work, you either need a WAN/NAT setup that is able
to reflect traffic back into the internal network, or (much
better) configure rtpengine with two network interfaces, one with
and one without the advertised address, and then tell rtpengine as
part of the signalling coming from Kamailio which direction the
message is flowing. Use two `direction=` options in the offer with
the respective interface names, and then SDPs going to Asterisk
will have the internal address, and SDPs going outside will have
the WAN address.</p>
<p>Cheers<br>
</p>
</body>
</html>