title: Asterisk SipHeader Diversion
body: <p>Hello Craftsmen Asterisk,
  I have a problem I can not extract in the variable from SipHeader.
  I followed with dump I'm getting:</p>
  <blockquote>
  <p><code>Diversion: &lt;sip:+4917645615686@public-vip.cisco.de&gt;;reason=unconditional</code></p>
  <p><code>Diversion: &quot;Anonymous&quot;sip&lt;:Anonymous@47.23.21.9&gt;;reason=unknow;privacy=full;counter=1</code></p>
  </blockquote>
  <p>I set in dialplan:</p>
  <blockquote>
  <p><code>same =&gt; n,Set(diversion=${SIP_HEADER(Diversion))</code></p>
  </blockquote>
  <p>recived:</p>
  <blockquote>
  <p>sip:+4917645615686@public-vip.cisco.de&gt;;reason=unconditional</p>
  </blockquote>
  <p>but I also need the second row!</p>
  <blockquote>
  <p><code>Diversion: &quot;Anonymous&quot;sip&lt;:Anonymous@47.23.21.9&gt;;reason=unknow;privacy=full;counter=1</code></p>
  </blockquote>
  <p>Can someone help me?</p>