<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Dynamic+DTMF+Features">Dynamic DTMF Features</a></h2>
<h4>Page <b>edited</b> by <a href="https://wiki.asterisk.org/wiki/display/~rmudgett">Richard Mudgett</a>
</h4>
<div id="versionComment">
<b>Comment:</b>
Added info blurb to read about the FEATURE and FEATUREMAP functions.<br />
</div>
<br/>
<h4>Changes (1)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-unchanged" >The [FEATURE|AST:Asterisk 11 Function_FEATURE] and [FEATUREMAP|AST:Asterisk 11 Function_FEATUREMAP] dialplan functions allow you to set some features.conf options on a per channel basis. <br> <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;">{info} <br>To see what options are currently supported, look at the FEATURE and FEATUREMAP function descriptions. <br>{info} <br> <br></td></tr>
<tr><td class="diff-unchanged" >{noformat:title=Set the parking time of this channel to be 100 seconds if it is parked.} <br>exten => s,1,Set(FEATURE(parkingtime)=100) <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<p>The <a href="/wiki/display/AST/Asterisk+11+Function_FEATURE" title="Asterisk 11 Function_FEATURE">FEATURE</a> and <a href="/wiki/display/AST/Asterisk+11+Function_FEATUREMAP" title="Asterisk 11 Function_FEATUREMAP">FEATUREMAP</a> dialplan functions allow you to set some features.conf options on a per channel basis.</p>
<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>To see what options are currently supported, look at the FEATURE and FEATUREMAP function descriptions.</td></tr></table></div>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedHeader panelHeader" style="border-bottom-width: 1px;"><b>Set the parking time of this channel to be 100 seconds if it is parked.</b></div><div class="preformattedContent panelContent">
<pre>exten => s,1,Set(FEATURE(parkingtime)=100)
same => n,Dial(SIP/100)
same => n,Hangup()
</pre>
</div></div>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedHeader panelHeader" style="border-bottom-width: 1px;"><b>Set the DTMF sequence for attended transfer on this channel to *9.</b></div><div class="preformattedContent panelContent">
<pre>exten => s,1,Set(FEATUREMAP(atxfer)=*9)
same => n,Dial(SIP/100,,T)
same => n,Hangup()
</pre>
</div></div>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Dynamic+DTMF+Features">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=21463260&revisedVersion=2&originalVersion=1">View Changes</a>
|
<a href="https://wiki.asterisk.org/wiki/display/AST/Dynamic+DTMF+Features?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>