<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>you have to instruct rtpengine to do bridging between the two
      network interfaces.</p>
    <p>Can you show the INVITE and the 200ok with all SDPs, both sides
      (incoming and outgoing to/from kamailio),  for the case you get
      audio problem? Then we can confirm if the SDP has been updated
      properly for bridging.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 18.04.17 17:23, gerry kernan wrote:<br>
    </div>
    <blockquote cite="mid:091b01d2b857$b1fcdc90$15f695b0$@infinityit.ie"
      type="cite">
      <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 Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        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;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.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 <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks in advance if anyone can point me in
          the correct direction .<o:p></o:p></p>
        <p class="MsoNormal">I have kamailio running in front of some
          asterisk VM’s.  SIP endpoint register to their asterisk PBX
          via Kamailio dispatcher module. I’m running rtpengine with a
          Wan and private interface to bridge audio stream between these
          endpoints on the WAN to asterisk PBX running on LAN IP behind
          Kamailio.<o:p></o:p></p>
        <p class="MsoNormal">Calls from ext to ext work fine audio both
          directions , calls outbound to PSTN via SIP trunk to SIP
          provider via trunk on asterisk work fine audio both
          directions. But incoming calls via SIP provider I only get
          audio on stream from asterisk registered ext to external
          caller , no audio from external caller to the asterisk ext.<o:p></o:p></p>
        <p class="MsoNormal">I reckon I have something wrong in my
          Kamailio.cfg . if I register an ext direct to asterisk I get
          audio both ways on incoming calls. And rtp logs from
          rtpenegine show it as trying to send the rtp to the private
          address of the sip endpoint rather that its WAN address.<o:p></o:p></p>
        <p class="MsoNormal">I think my mistake in somewhere in the cfg
          below. <o:p></o:p></p>
        <p class="MsoNormal">Do I need to handle invites from the
          backend asterisk servers different that invites from sip
          endpoints?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><b><span
              style="font-size:12.0pt;font-family:"Century
              Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE"
              lang="NL">Gerry Kernan</span></b><span
            style="font-size:12.0pt;font-family:"Century
            Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE"
            lang="NL"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE"
            lang="NL"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE"><img
              id="Picture_x0020_3"
              src="cid:part1.446BCD4E.D2251456@gmail.com"
              alt="cid:image001.jpg@01D105A5.2701B0E0" height="51"
              width="172"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="line-height:115%"><b><span
              style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE">Infinity
              IT   |   17 The Mall   |   Beacon Court   |   Sandyford  
              |   Dublin D18 E3C8   |   Ireland<o:p></o:p></span></b></p>
        <p class="MsoNormal" style="line-height:115%"><b><span
              style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE">Tel: 
              +353 - (0)1 - 293 0090   |   E-Mail:  </span></b><span
            style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;mso-fareast-language:EN-IE"><a
              moz-do-not-send="true"
              href="mailto:gerry.kernan@infinityit.ie"><span
                style="color:#0563C1">gerry.kernan@infinityit.ie</span></a><b><span
                style="color:red"><o:p></o:p></span></b></span></p>
        <p class="MsoNormal" style="line-height:115%"><b><span
              style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:red;mso-fareast-language:EN-IE"><o:p> </o:p></span></b></p>
        <p class="MsoNormal" style="line-height:115%"><b><span
              style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:red;mso-fareast-language:EN-IE">Managed IT
              Services<u>       </u>Infinity IT</span></b><span
            style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:red;mso-fareast-language:EN-IE"> </span><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE">-
          </span><span
            style="font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE"><a
              moz-do-not-send="true" href="http://www.infinityit.ie/"><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
                Gothic",sans-serif;color:#0563C1">www.infinityit.ie</span></a></span><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE"><o:p></o:p></span></p>
        <p class="MsoNormal" style="line-height:115%"><b><span
              style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE">IP
              Telephony<u>                    </u>Asterisk Consulting</span></b><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE">
          </span><span
            style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE">– </span><span
style="font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE"><a
              moz-do-not-send="true"
              href="http://www.asteriskconsulting.com"><span
                style="font-size:10.0pt;line-height:115%;font-family:"Century
                Gothic",sans-serif;color:#0563C1">www.asteriskconsulting.com</span></a></span><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE"><o:p></o:p></span></p>
        <p class="MsoNormal" style="line-height:115%"><b><span
              style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:#FF8A15;mso-fareast-language:EN-IE">Contact
              Centre<u>                </u>Total Interact</span></b><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;color:#FFC000;mso-fareast-language:EN-IE">
          </span><span
            style="font-size:10.0pt;line-height:115%;font-family:"Century
Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE">– </span><span
style="font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE"><a
              moz-do-not-send="true" href="http://www.totalinteract.com"><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
                Gothic",sans-serif;color:#0563C1">www.totalinteract.com</span></a></span><span
style="font-size:10.0pt;line-height:115%;font-family:"Century
            Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>