Call ast_stun_init() when we're initializing to get the 'stun debug set'
authorSean Bright <sean@malleable.com>
Fri, 22 May 2009 21:11:03 +0000 (21:11 +0000)
committerSean Bright <sean@malleable.com>
Fri, 22 May 2009 21:11:03 +0000 (21:11 +0000)
commands.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196417 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/asterisk.c

index c45f6d8..c337021 100644 (file)
@@ -3648,6 +3648,8 @@ int main(int argc, char *argv[])
        /* loads the cli_permissoins.conf file needed to implement cli restrictions. */
        ast_cli_perms_init(0);
 
+       ast_stun_init();
+
        /* AMI is initialized after loading modules because of a potential
         * conflict between issuing a module reload from manager and
         * registering manager actions.  This will cause reversed locking