<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2042/1/7/_/styles/combined.css?spaceKey=AST&amp;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/VoiceMail+Channel+Variables?focusedCommentId=13076554#comment-13076554">VoiceMail Channel Variables</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>There was a discussion about this here:
<a href="http://lists.digium.com/pipermail/asterisk-users/2007-August/194721.html" class="external-link" rel="nofollow">http://lists.digium.com/pipermail/asterisk-users/2007-August/194721.html</a></p>

<p>The short of it, is that you can't really do that.  It'd be a new feature.</p>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~shayne.alone@gmail.com"
                          class="url fn confluence-userlink" data-username="shayne.alone@gmail.com"
                   >AliReza Taleghani</a>:</strong><br/>
        <p>how can I use a custom variable in voice mail body (notification).<br/>
as an example I have a variable named myvar which is defining in dialplan some where before VoiceMail application. how can i include the variable (myvar) in the Email message body?<br/>
tnx</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/VoiceMail+Channel+Variables?focusedCommentId=13076554#comment-13076554">View Online</a>
              |
       <a id="reply-13076554" href="https://wiki.asterisk.org/wiki/display/AST/VoiceMail+Channel+Variables?replyToComment=13076554#comment-13076554">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>