[Home]

Summary:ASTERISK-02285: nat=yes saves private ip after new nat=route patch
Reporter:Terry Wilson (twilson)Labels:
Date Opened:2004-08-27 15:07:21Date Closed:2008-01-15 15:05:57.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:nat=route works great!  Thank you very much for adapting to Uniden's buggy firmware.  Unfortunately, at least on my test box, any phones I register with asterisk with a nat=yes (that don't have STUN support) now show up registered with their private IP addresses.

Again, sorry to have caused problems, but I think this one actually is a *major* bug severity as opposed to my last which was probably more of a feature request.  Again, thanks.

****** ADDITIONAL INFORMATION ******

Here is a sip show peer showing nat=always with private IP.

 * Name       : 174nv4002
 Secret       : <Not set>
 MD5Secret    : <Not set>
 Context      : 174nv
 Language     :
 FromUser     : 174nv4002
 FromDomain   :
 Callgroup    :  (0)
 Pickupgroup  :  (0)
 Mailbox      : 4002@174nv
 LastMsgsSent : 1024
 Dynamic      : Yes
 Expire       : 2
 Expiry       : 900
 Insecure     : No
 Nat          : Always
 ACL          : No
 CanReinvite  : No
 PromiscRedir : No
 DTMFmode     : rfc2833
 LastMsg      : 0
 ToHost       :
 Addr->IP     : 192.168.1.100 Port 5060
 Defaddr->IP  : 0.0.0.0 Port 5060
 Username     : 174nv4002
 Codecs       : ULAW
 Status       : UNREACHABLE
 Useragent    :
Comments:By: Mark Spencer (markster) 2004-08-27 15:19:41

Should be fixed in CVS, please confirm.  Thanks.

By: Terry Wilson (twilson) 2004-08-27 15:45:15

Appears fixed, thanks!

By: Mark Spencer (markster) 2004-08-27 16:07:31

welcome :)

By: Digium Subversion (svnbot) 2008-01-15 15:05:57.000-0600

Repository: asterisk
Revision: 3667

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r3667 | markster | 2008-01-15 15:05:56 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix nat registration (bug ASTERISK-2285)

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

http://svn.digium.com/view/asterisk?view=rev&revision=3667