Hi folks,<div><br></div><div>I'm hoping someone can help me get at custom headers in the dial-plan. I'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'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've tried the following dial-plan structures hoping one might work but none do:</div><div>
<br></div><div><div><action application="set" data="accountcodea=${variable_sip_h_X_ACCOUNTCODE}" /></div><div><action application="set" data="accountcodeb=${variable_sip_h_ACCOUNTCODE}" /></div>
<div><action application="set" data="accountcodec=${sip_h_X_ACCOUNTCODE}" /></div><div><action application="set" data="accountcoded=${sip_h_ACCOUNTCODE}" /></div><div><br>
</div><div>Any help would be much appreciated.</div><div><br></div><div>Thanks,</div><div>Simon</div></div>