[asterisk-dev] [Code Review] Add name to CHANNEL() function

Russell Bryant russell at digium.com
Tue Mar 17 09:56:42 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/199/
-----------------------------------------------------------

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