<p>actually I tried the curl module with curl_connect function to do the same thing and it worked awesome. I'll still try to reproduce this with http_query and update. Thanks.</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/432#issuecomment-162795371">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZbA_5eCPWWMsKsR4N_8xR9N7ppm6ks5pNndRgaJpZM4GwU98.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/432#issuecomment-162795371"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>