]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
honor global nat setting for users (bug #3125)
authorRussell Bryant <russell@russellbryant.com>
Thu, 23 Dec 2004 00:38:40 +0000 (00:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 23 Dec 2004 00:38:40 +0000 (00:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4531 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e3e3b502f0a201fda70eef1fab24ebe71cfbe798..764e4a1055c04a4d3f35eb9240fec5689a2cacb8 100755 (executable)
@@ -8080,6 +8080,7 @@ static struct sip_user *build_user(char *name, struct ast_variable *v)
                user->trustrpid = global_trustrpid;
                user->dtmfmode = global_dtmfmode;
                user->progressinband = global_progressinband;
+               user->nat = global_nat; 
                user->prefs = prefs;
 #ifdef OSP_SUPPORT
                user->ospauth = global_ospauth;