How To Store Extension in a variable-Asterisk PBX <p>Does anyone know how to store the extension of an incoming caller (caller provisioned on the PBX) in a variable. I need to do this within the asterisk dialplan just after the call is answered.</p> <pre><code>;Answer call exten =&gt; 1234,1,Answer() ;Store caller's extension in a variable </code></pre>