[asterisk-dev] [Code Review] Add name to CHANNEL() function
Mark Michelson
mmichelson at digium.com
Tue Mar 17 10:11:33 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/199/#review561
-----------------------------------------------------------
Ship it!
- Mark
On 2009-03-17 09:56:42, Russell Bryant wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/199/
> -----------------------------------------------------------
>
> (Updated 2009-03-17 09:56:42)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> I tried to use ${CHANNEL(name)} in a dialplan the other day, and noticed that it didn't exist. I can't think of a reason why we shouldn't add it, but figured it doesn't hurt to post it here first, just in case.
>
>
> Diffs
> -----
>
> /trunk/funcs/func_channel.c 182521
>
> Diff: http://reviewboard.digium.com/r/199/diff
>
>
> Testing
> -------
>
> exten => printname,1,NoOp(Channel name is ${CHANNEL(name)})
>
> *CLI> console dial printname
>
> -- Executing [printname at default:1] NoOp("Console/default", "Channel name is Console/default") in new stack
>
>
> Thanks,
>
> Russell
>
>
More information about the asterisk-dev
mailing list