<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>added</b> by <a href="https://wiki.asterisk.org/wiki/display/~rmudgett">Richard Mudgett</a>
</h4>
<br/>
<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="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/display/AST/Dynamic+DTMF+Features?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>