<div>From your SIP message</div>
<div> </div>
<div>U nat.ip:2370 -&gt; opensips.ip:5060 REGISTER sip:opensips.ip<br>SIP/2.0..Via: SIP/2.0/UDP nat.ip:8427;branch=z9hG4bK79682dfb..<br>From: &lt;sip:9515013401@opensips.ip;user=phone&gt;..To:<br>&lt;sip:9515013401@opensips.ip;user=phone&gt;..Call-ID:<br>
00036be7-b0aa0007-736f1483-25859b27@nat.ip..Date: Mon, 06 Dec 2010<br>21:28:11 GMT..CSeq: 200 REGISTER..User-Agent<br> : CSCO/7..Contact: &lt;sip:9515013401@nat.ip:8427&gt;..Content-Length:<br>0..Expires: 45....<br></div>

<div> </div>
<div>In the VIA header I believe your phone is saying &quot;Talk to me over nat.ip:8427&quot;</div>
<div> </div>
<div>You might want to set up logging on your PIX/ASA firewall to see whats getting blocked, but from the way you&#39;ve explained the issue it doesn&#39;t sound like an OpenSIPS issue.  Sounds like a firewall issue or Cisco phone issue.<br>
<br></div>
<div class="gmail_quote">On Tue, Dec 7, 2010 at 10:22 AM, James Lamanna <span dir="ltr">&lt;<a href="mailto:jlamanna@gmail.com">jlamanna@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Bogdan,<br>I guess I&#39;m confused as to why you say its being transmitted back to<br>the same IP:Port:<br>
<br>U nat.ip:2370 -&gt; opensips.ip:5060<br>U opensips.ip:5060 -&gt; nat.ip:8427<br><br>Shouldn&#39;t it be going back to port 2370? And not 8427?<br><br>-- James<br><br>On Tue, Dec 7, 2010 at 2:43 AM, Bogdan-Andrei Iancu<br>
&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; wrote:<br>&gt; Hi James,<br>&gt;<br>&gt; From proxy point of view, everything looks ok - I see the reply sent back to<br>&gt; the exact IP:port where the request came from....So the reply should make it<br>
&gt; through the NAT...But it seams it doesn&#39;t as the phone keeps retransmitting<br>&gt; the REGISTER..<br>&gt;<br>&gt; Again, from NAT pov, opensips is doing the right stuff (doing symmetric<br>&gt; signalling) - there is nothing more you can do here for opensips..Maybe it<br>
&gt; is something specific to the NAT device - any possibility to debug/trace on<br>&gt; it ?<br>&gt;<br>&gt; Regards,<br>&gt; Bogdan<br>&gt;<br>&gt; James Lamanna wrote:<br>&gt;&gt;<br>&gt;&gt; Hi,<br>&gt;&gt; I was wondering if anyone had any experience getting a Cisco 7960<br>
&gt;&gt; phone to register to opensips when the phone is behind a PIX firewall.<br>&gt;&gt; I&#39;m having a hell of a time getting it to register.<br>&gt;&gt; I see these messages:<br>&gt;&gt;<br>&gt;&gt; U nat.ip:2260 -&gt; opensips.ip:5060<br>
&gt;&gt;  REGISTER sip:opensips.ip SIP/2.0..Via: SIP/2.0/UDP<br>&gt;&gt; 10.20.33.22:5060;branch=z9hG4bK48039e3a..From: &lt;<br>&gt;&gt;  sip:xxxxxxx@opensips.ip;user=phone&gt;..To:<br>&gt;&gt; &lt;sip:xxxxxxxx@opensips.ip;user=phone&gt;..Call-ID: 0003<br>
&gt;&gt;  6be7-b0aa0007-46220771-115f4fcc@10.20.33.22..Date: Mon, 06 Dec 2010<br>&gt;&gt; 18:10:49 GMT..CSeq: 107 REGISTER<br>&gt;&gt;  ..User-Agent: CSCO/7..Contact:<br>&gt;&gt; &lt;<a href="http://sip:xxxxxxxx@10.20.33.22:5060" target="_blank">sip:xxxxxxxx@10.20.33.22:5060</a>&gt;..Content-Length: 0..Expires: 45....<br>
&gt;&gt; #<br>&gt;&gt; U opensips.ip:5060 -&gt; nat.ip:2260<br>&gt;&gt;  SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP<br>&gt;&gt; 10.20.33.22:5060;branch=z9hG4bK48039e3a;rport=2260;receiv<br>&gt;&gt;  ed=208.90.184.123..From: &lt;sip:xxxxxxxxx@opensips.ip;user=phone&gt;..To:<br>
&gt;&gt; &lt;sip:xxxxxxxx@opensips.ip;<br>&gt;&gt;  user=phone&gt;;tag=c5cd5e6c2a1d4c975e04c2ff1b643904.5bf3..Call-ID:<br>&gt;&gt; 00036be7-b0aa0007-46220771-115f4fcc@<br>&gt;&gt;  10.20.33.22..CSeq: 107 REGISTER..WWW-Authenticate: Digest<br>
&gt;&gt; realm=&quot;asterisk&quot;, nonce=&quot;4cfd27fe0000780d7<br>&gt;&gt;  1826527370e7c8b97f663425df75489&quot;..Server: OpenSIPS (1.6.3-notls<br>&gt;&gt; (x86_64/linux))..Content-Length: 0..<br>&gt;&gt;  ..<br>&gt;&gt; #<br>
&gt;&gt; U nat.ip:2260 -&gt; opensips.ip:5060<br>&gt;&gt;  REGISTER sip:opensips.ip SIP/2.0..Via: SIP/2.0/UDP<br>&gt;&gt; 10.20.33.22:5060;branch=z9hG4bK48039e3a..From: &lt;<br>&gt;&gt;  sip:xxxxxxxxx@opensips.ip;user=phone&gt;..To:<br>
&gt;&gt; &lt;sip:xxxxxxxx@opensips.ip;user=phone&gt;..Call-ID: 0003<br>&gt;&gt;  6be7-b0aa0007-46220771-115f4fcc@10.20.33.22..Date: Mon, 06 Dec 2010<br>&gt;&gt; 18:10:49 GMT..CSeq: 107 REGISTER<br>&gt;&gt;  ..User-Agent: CSCO/7..Contact:<br>
&gt;&gt; &lt;<a href="http://sip:xxxxxxxxx@10.20.33.22:5060" target="_blank">sip:xxxxxxxxx@10.20.33.22:5060</a>&gt;..Content-Length: 0..Expires: 45....<br>&gt;&gt; #<br>&gt;&gt; U opensips.ip:5060 -&gt; nat.ip:2260<br>&gt;&gt;  SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP<br>
&gt;&gt; 10.20.33.22:5060;branch=z9hG4bK48039e3a;rport=2260;receiv<br>&gt;&gt;  ed=208.90.184.123..From: &lt;sip:xxxxxxxx@opensips.ip;user=phone&gt;..To:<br>&gt;&gt; &lt;sip:xxxxxxxxx@opensips.ip;<br>&gt;&gt;  user=phone&gt;;tag=c5cd5e6c2a1d4c975e04c2ff1b643904.5bf3..Call-ID:<br>
&gt;&gt; 00036be7-b0aa0007-46220771-115f4fcc@<br>&gt;&gt;  10.20.33.22..CSeq: 107 REGISTER..WWW-Authenticate: Digest<br>&gt;&gt; realm=&quot;asterisk&quot;, nonce=&quot;4cfd28000000780e5<br>&gt;&gt;  c3381d838a044479357aa6c660df432&quot;..Server: OpenSIPS (1.6.3-notls<br>
&gt;&gt; (x86_64/linux))..Content-Length: 0..<br>&gt;&gt;<br>&gt;&gt; This suggests the 401 response is not making it back to the<br>&gt;&gt; phone....but I&#39;m not sure why the PIX would be blocking it.<br>&gt;&gt; All sip fixup is off.<br>
&gt;&gt;<br>&gt;&gt; Any configuration suggestions would be much appreciated.<br>&gt;&gt; The phone has:<br>&gt;&gt; nat_enable: 0<br>&gt;&gt; nat_received_processing: 0<br>&gt;&gt;<br>&gt;&gt; That was the only way I could get opensips to send the responses back<br>
&gt;&gt; to the correct port.<br>&gt;&gt;<br>&gt;&gt; Thanks.<br>&gt;&gt;<br>&gt;&gt; -- James<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list<br>&gt;&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Bogdan-Andrei Iancu<br>
&gt; OpenSIPS Bootcamp<br>&gt; 15 - 19 November 2010, Edison, New Jersey, USA<br>&gt; <a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>
&gt; Users mailing list<br>&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>