Hugh Waite writes:<br>
<br>
> The tm module needs to know the name of the attributes AVP, which is<br>
> currently passed as a modparam to the usrloc module. Therefore to<br>
> 'activate' this bugfix, you need to pass the same modparam to the tm<br>
> module.E.g. `modparam("usrloc|tm", "xavp_contact", "ulattrs")`<br>
> If the modparam is not given to tm, the system will behave as before.<br>
> There are no changes to the way the functions are called.<br>
<br>
i'm still confused about xavp_contact tm module parameter.  when i<br>
implemented t_load_contacts(), t_next_contacts() and<br>
t_next_contact_flows() functions, contacts_avp and contact_flows_avp<br>
defined the xavps that those functions used as described in tm README on<br>
those functions.<br>
<br>
now there is another variable xavp_contact.  tm README tells about it<br>
that it is used for storing attributes per contact, but does tell how<br>
the xavp gets set.  usrloc README tells that xavp gets set at lookup (if<br>
i got it right), but is also tells "The tm module parameter xavp_contact<br>
must also be set to the same value to use the t_load_contacts and<br>
t_next_contacts functions".<br>
<br>
does that mean that t_load_contacts()/t_next_contacts() does not anymore<br>
work if xavp_contact parameter is not defined for tm and usrloc modules?<br>
<br>
-- juha<br>


<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/178#issuecomment-111514198">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZRhSIzzA5fMN1zfCoNDffySIy5u2ks5oSuXjgaJpZM4Er60H.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/178#issuecomment-111514198"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>