<p>I'm very sorry, this is my first commit, so I might ask not so very clever questions. :)<br>
I tried to use same logic for user_agent as for xcap_table, which is string.</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/670#issuecomment-225897354">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZZ11fcczJnwktKbX0-iyZkdmMIl_ks5qLrmKgaJpZM4I1Vpw">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZR4mPaBnP5_LS5gqhQvsdeP_-sDrks5qLrmKgaJpZM4I1Vpw.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/670#issuecomment-225897354"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>