Hi folks,<div><br></div><div>I&#39;m hoping someone can help me get at custom headers in the dial-plan. I&#39;ve read about X- headers being accessible but need to get at some X_ headers passed through from a proxy. Reading the info app docs, the X shouldn&#39;t actually matter but no matter which way I try I always seem to get a null result.</div>
<div><br></div><div>An example header in an INVITE is:</div><div><br></div><div>X_ACCOUNTCODE: XXXXXX.</div><div><br></div><div>I&#39;ve tried the following dial-plan structures hoping one might work but none do:</div><div>
<br></div><div><div>&lt;action application=&quot;set&quot; data=&quot;accountcodea=${variable_sip_h_X_ACCOUNTCODE}&quot; /&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;accountcodeb=${variable_sip_h_ACCOUNTCODE}&quot; /&gt;</div>
<div>&lt;action application=&quot;set&quot; data=&quot;accountcodec=${sip_h_X_ACCOUNTCODE}&quot; /&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;accountcoded=${sip_h_ACCOUNTCODE}&quot; /&gt;</div><div><br>
</div><div>Any help would be much appreciated.</div><div><br></div><div>Thanks,</div><div>Simon</div></div>