title: Asterisk, Dial plan, how can I hang after answer?
body: <p>I want to hang the call just after answered.</p>
  
  <pre><code>exten =&gt; _3XXXXXXXXXX,1,Set(CALLERID(num)=1234567890)
  same =&gt; n,MixMonitor(${UNIQUEID}.wav)
  same =&gt; n,Dial(SIP/${EXTEN:1}@provider,,M(hang))
  same =&gt; n,StopMixMonitor()
  same =&gt; n,Hangup()
  
  [macro-hang]
  exten =&gt; s,1,Hangup()
  </code></pre>
  
  <p>any idea? I've tried a macro, but its not working.</p>