<p>There is a small error in the <a href="http://kamailio.org/docs/modules/4.3.x/modules/ipops.html#ipops.f.srv_query">srv_query ()</a> documentation.  The xlog statements put the closing quotes in the wrong location.  They should be as shown below.</p>

<p>xlog ("port[$var(i)] $srvquery(udp=>port[$var(i)])\n");<br>
xlog ("priority[$var(i)] $srvquery(udp=>priority[$var(i)])\n");<br>
xlog ("target[$var(i)] $srvquery(udp=>target[$var(i)])\n");<br>
xlog ("weight[$var(i)] $srvquery(udp=>weight[$var(i)])\n");</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/issues/327">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZWQ_jRBhcDEcnmncUkmjFckT1Gcbks5oyBdJgaJpZM4F9oJb.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/issues/327"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>