<p>But reg_fetch_contacts() is already returning the contacts in an variable structure - $ulc. I don't see a reason to add to $ulc as well as to an xavp.</p>

<p>Could be better to have a new function reg_fetch_contact_to_xavp() that will get the attributes in xavp instead of $ulc.</p>

<p>I may miss some point, in that case, provide some details when you find useful for reg_fetch_contacts() to return some data twice.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/91#issuecomment-75643253">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZSejFypkv6IAcY4tL6k2JizCE1FFks5nu5d7gaJpZM4DhsB2.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/91#issuecomment-75643253"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>