From 3982b8c71b79a2739abf8e9e22422e0e01d8f88f Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 22 May 2009 21:11:03 +0000 Subject: [PATCH] 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 --- main/asterisk.c | 2 ++ 1 file changed, 2 insertions(+) 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