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
This commit is contained in:
Jonathan Rose 2013-05-23 21:11:18 +00:00
parent dd6923d0a9
commit 9c7c1897e5
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}