[asterisk-dev] [svn-commits] jrose: trunk r389623 - /trunk/res/parking/parking_bridge.c
Paul Belanger
paul.belanger at polybeacon.com
Thu May 23 23:05:30 CDT 2013
On 13-05-23 05:11 PM, SVN commits to the Digium repositories wrote:
> Author: jrose
> Date: Thu May 23 16:11:18 2013
> New Revision: 389623
>
> URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389623
> Log:
> res_parking: Add a verbose message when a channel is parked
>
> Modified:
> trunk/res/parking/parking_bridge.c
>
> Modified: trunk/res/parking/parking_bridge.c
> URL: http://svnview.digium.com/svn/asterisk/trunk/res/parking/parking_bridge.c?view=diff&rev=389623&r1=389622&r2=389623
> ==============================================================================
> --- trunk/res/parking/parking_bridge.c (original)
> +++ trunk/res/parking/parking_bridge.c Thu May 23 16:11:18 2013
> @@ -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 @@
> /* 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;
> }
>
Am I correct in reading this as a colorized verbose message? I don't
think I have ever seen that before. Why did you decided to add it?
--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter:
https://twitter.com/pabelanger
More information about the asterisk-dev
mailing list