[Serusers] NAT Router problem

Greger V. Teigre greger at teigre.com
Fri Sep 2 08:26:00 CEST 2005


Well, a call trace would help...
You use no rtp proxy, so a symmetric NAT will not work for incoming calls. (if you have a GW with active media support, your outgoing calls will be ok)
g-)
  ----- Original Message ----- 
  From: Rick Thompson 
  To: serusers at lists.iptel.org 
  Sent: Thursday, September 01, 2005 10:56 PM
  Subject: [Serusers] NAT Router problem


   

  Has anyone come across this problem before??

   

  I have the same configuration for each of the following except the first session is going thru a Linksys router and the second one goes thru a Dlink router.

  The first session works fine, the second session has one way audio. The only difference in the traces is in the following lines.

   

  Session one

   

  Via: SIP/2.0/UDP 192.168.1.108:5060;rport=5060;received=199.227.155.139;branch=z9hG4bK-389cba09

   

  Session two

   

  Via: SIP/2.0/UDP 192.168.1.40:5060;rport=61034;received=199.227.155.135;branch=z9hG4bK-349cafaf

   

  I have the following in ser.cfg to correct for a NATed UAC

   

  if(nat_uac_test("3")) {

                  xlog("L_ALERT", "%Tf %mf ****** NATed UAC detected.\n");

                  fix_nated_contact();

                  force_rport();

   

                  if(method == "INVITE") {

                          fix_nated_sdp("3");

                  };

          };

   

  And

   

   

  onreply_route[1] {

          xlog("L_ALERT", "%Tf %mf ****** On Reply From: <%si> <%tu> <%fu> <%rm> <%rs> <%rr>\n");

          if(status=~"(183)|(2[0-9][0-9])" && nat_uac_test("3")) {

                  xlog("L_ALERT", "%Tf %mf ****** Fixing contact on reply\n");

                  fix_nated_contact();

                  force_rport();

                  fix_nated_sdp("3");

          };

   

  Can anyone help

  Thanks for your reply

   

   

   

  Rick Thompson, CCNA

  VP of Technology

  Virtual Communications, LLC

  O 954-334-4000 ext 420

  M 954-217-7322

  F 954-252-4580

   



------------------------------------------------------------------------------


  _______________________________________________
  Serusers mailing list
  serusers at lists.iptel.org
  http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050902/6c0b8097/attachment.htm>


More information about the sr-users mailing list