From: Sean Bright Date: Fri, 22 May 2009 21:11:03 +0000 (+0000) Subject: Call ast_stun_init() when we're initializing to get the 'stun debug set' X-Git-Tag: 11.0.0-beta1~4831 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3982b8c71b79a2739abf8e9e22422e0e01d8f88f;p=thirdparty%2Fasterisk.git Call ast_stun_init() when we're initializing to get the 'stun debug set' commands. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196417 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/asterisk.c b/main/asterisk.c index c45f6d8c8d..c337021444 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -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