Skip to content
Snippets Groups Projects
Commit 03b1d1ea authored by Mark Spencer's avatar Mark Spencer
Browse files

Re-listen after MGCP reload (bug #2061)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b1d55878
Branches
Tags
No related merge requests found
......@@ -3199,6 +3199,9 @@ static void *do_monitor(void *data)
if (option_verbose > 0)
ast_verbose(VERBOSE_PREFIX_1 "Reloading MGCP\n");
mgcp_do_reload();
/* Add an I/O event to our UDP socket */
if (mgcpsock > -1)
mgcpsock_read_id = ast_io_add(io, mgcpsock, mgcpsock_read, AST_IO_IN, NULL);
}
/* Check for interfaces needing to be killed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment