Skip to content
Snippets Groups Projects
Commit 9c7c1897 authored by Jonathan Rose's avatar Jonathan Rose
Browse files

res_parking: Add a verbose message when a channel is parked

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent dd6923d0
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@
#include "asterisk/astobj2.h"
#include "asterisk/features.h"
#include "asterisk/say.h"
#include "asterisk/term.h"
struct ast_bridge_parking
{
......@@ -284,6 +285,11 @@ static int bridge_parking_push(struct ast_bridge_parking *self, struct ast_bridg
/* Set this to the bridge pvt so that we don't have to refind the parked user associated with this bridge channel again. */
bridge_channel->bridge_pvt = pu;
ast_verb(3, "Parking '" COLORIZE_FMT "' in '" COLORIZE_FMT "' at space %d\n",
COLORIZE(COLOR_BRMAGENTA, 0, ast_channel_name(bridge_channel->chan)),
COLORIZE(COLOR_BRMAGENTA, 0, self->lot->name),
pu->parking_space);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment