Review Board 1.7.16


Add name to CHANNEL() function

Review Request #199 - Created March 17, 2009 and submitted

Russell Bryant
/trunk
Reviewers
asterisk-dev
Asterisk
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.
exten => printname,1,NoOp(Channel name is ${CHANNEL(name)})

*CLI> console dial printname

    -- Executing [printname@default:1] NoOp("Console/default", "Channel name is Console/default") in new stack
Ship it!
Posted (March 17, 2009, 5:11 a.m.)

   

  
Ship it!
Posted (March 17, 2009, 5:21 a.m.)

   

  

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.