<p>Overall I am fine with the PR, but because of limited time to test, I am not sure if there is same result now that the lookup of <code>list</code> and <code>xavp</code> is no longer done only once in <code>build_contact()</code>. In previous version the attributes for all contacts were done inside <code>build_contact()</code> using this single lookup. Now the lookup is done for each contact inside the helper function.</p>
<p>I expect is the same, based on quick thinking. If you did the tests and the result is the same in terms of what is stored in xavp and the order of values, then I am fine to merge.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2168?email_source=notifications&email_token=ABO7UZJR6OWNTQCR4DF474DQXYXC3A5CNFSM4JWYCZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGI5DQI#issuecomment-563204545">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNFZE35FLIN7UICKALQXYXC3ANCNFSM4JWYCZBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOCTGKCA27ENVY6DITQXYXC3A5CNFSM4JWYCZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGI5DQI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2168?email_source=notifications\u0026email_token=ABO7UZJR6OWNTQCR4DF474DQXYXC3A5CNFSM4JWYCZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGI5DQI#issuecomment-563204545",
"url": "https://github.com/kamailio/kamailio/pull/2168?email_source=notifications\u0026email_token=ABO7UZJR6OWNTQCR4DF474DQXYXC3A5CNFSM4JWYCZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGI5DQI#issuecomment-563204545",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>