<p>Jeff, you are right, the problem is about the AVPs being attached to first transaction and not visible to the second one. A solution will be change the list of AVPs before the search, to trick the code to look into the list of AVPs of the first transaction.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/issues/134#issuecomment-30621254'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwMjY3NTk0MiwiZGF0YSI6eyJpZCI6MjA1NjAyOTV9fQ==--960d40e4ca16e6220bcc4f068b698816467f2b70.gif' height='1' width='1'></p>