<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Some other firewalls call it &#8216;ALG&#8217;, application layer gateway.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] <b>On Behalf Of </b>Wes Sisk<br>
<b>Sent:</b> Tuesday, April 06, 2010 1:55 PM<br>
<b>To:</b> David Eco<br>
<b>Cc:</b> cisco-voip@puck.nether.net<br>
<b>Subject:</b> Re: [cisco-voip] AS5300 Media address<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I believe the NAT device in your scenario is not performing
fixup.&nbsp; NAT involves rewriting not only the IP header but also fixing up
the message body to rewrite embedded IPs and ports.&nbsp; This may involve
dynamic port allocation as well.&nbsp; It is generally referred to as 'protocol
fixup' on the NAT device.<br>
<br>
/Wes<br>
<br>
On Tuesday, April 06, 2010 12:15:15 PM, David Eco <a
href="mailto:david.eco@msn.com">&lt;david.eco@msn.com&gt;</a> wrote:<br>
<br>
<o:p></o:p></p>

<p class=MsoNormal>Hello,<br>
I tried to send the SIP call to AS5350 from a IP PBX but got one way audio.<br>
The scenario is SIP phone -&gt;NAT-&gt;IP PBX -&gt; AS5350 -&gt;T1 circuit.<br>
When the call reached AS5350, it came with private IP address and sent the RTP
back to it instead of public IP's.<br>
Is there any way&nbsp;to set the media address as the IP's in FROM which means
sending the media back to the origination, IP PBX? Thank you.<br>
<br>
<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>======Debug output=======<br>
(x.y.z.a=AS5350&nbsp;&nbsp; x.y.z.b=IP PBX)<br>
<br>
<o:p></o:p></p>

<p>Apr&nbsp; 6 14:15:23.866: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:<br>
Received: <br>
INVITE <a href="mailto:sip:8411647@x.y.z.a">sip:8411647@x.y.z.a</a> SIP/2.0<br>
Call-ID: <a href="mailto:6a34022c7c7a0d2c6234438c553eceb2@172.16.1.179">6a34022c7c7a0d2c6234438c553eceb2@172.16.1.179</a><br>
CSeq: 2 INVITE<br>
From: <a href="mailto:sip:test01@x.y.z.b">&lt;sip:test01@x.y.z.b&gt;</a>;tag=e002bb19cef9ffdee832<br>
To: <a href="mailto:sip:8411647@x.y.z.a">&lt;sip:8411647@x.y.z.a&gt;</a><br>
Via: SIP/2.0/UDP x.y.z.b:5061;branch=z9hG4bk-e002bb19cef9ffdee832<br>
Max-Forwards: 70<br>
Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE,UPDATE<br>
Contact: <a href="mailto:sip:ippbx@x.y.z.b:5061">&lt;sip:ippbx@x.y.z.b:5061&gt;</a><br>
Supported: replaces<br>
Content-Type: application/sdp<br>
Content-Length: 339<o:p></o:p></p>

<p class=MsoNormal>v=0<br>
o=CMI-SIPUA 63439 0 IN IP4 172.16.1.179<br>
s=SIP CALL<br>
<span style='color:red'>c=IN IP4 172.16.1.179</span><br>
t=0 0<br>
m=audio 60000 RTP/AVP 0 8 4 18 23 22 2 21 101<br>
a=rtpmap:23 G726-16/8000<br>
a=rtpmap:22 G726-24/8000<br>
a=rtpmap:2 G726-32/8000<br>
a=rtpmap:21 G726-40/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=fmtp:18 annexb=no<br>
a=rtcp:60001<br>
a=sendrecv<br>
<br>
<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Stream type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
voice-only<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media
line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: STREAM_ADDING (2)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Callid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: -1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated
Codec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : g711ulaw, bytes :160<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated DTMF
relay&nbsp; : inband-voice<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated NTE payload :
0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated CN
payload&nbsp; : 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Srce
Addr/Port&nbsp;&nbsp; : x.y.z.a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:red'>Media
Dest Addr/Port&nbsp;&nbsp; : 172.16.1.179:44042</span><br>
&nbsp;<br>
&nbsp;<o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal>Videos that have everyone talking! Now also in HD! <a
href="http://go.microsoft.com/?linkid=9724460" target="_new">MSN.ca Video.</a> <o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre style='text-align:center'>

<hr size=4 width="90%" align=center>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>cisco-voip mailing list<o:p></o:p></pre><pre><a
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><o:p></o:p></pre><pre><a
href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a><o:p></o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

<HTML><BODY><P><hr size=1></P>
<P><STRONG>
Disclaimer: 

This e-mail communication and any attachments may contain confidential and privileged information and is for use by the designated addressee(s) named above only.  If you are not the intended addressee, you are hereby notified that you have received this communication in error and that any use or reproduction of this email or its contents is strictly prohibited and may be unlawful.  If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Thank you.
</STRONG></P></BODY></HTML>