<div dir="ltr"><div>Hey community,</div><div><br></div><div>I'm trying to get a 2nd leg custom header value stored in my acc table.</div><div><br></div><div>Right now I'm appending the header with append_hf in a failure route and trying to use:</div>
<div><br></div><div>modparam("acc","db_extra","custom=$hdr(Custom)")<br></div><div><br></div><div>A sip trace shows the header was properly added and xlog output shows the proper $hdr(Custom) value just after I append the header, but the value doesn't show in acc. </div>
<div><br></div><div>Does acc only read from the INVITE of the incoming leg?</div><div><br></div><div>Any suggestions on how to get this 2nd leg INVITE header in acc is greatly appreciated. </div><div><br></div><div>Thanks in advance,</div>
<br clear="all"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Ryan</div></div></div>
</div>