<p>Backtrace from the curl module in dev. Looks similar with the http_request in 4.3</p>

<p>#0  0x00007fabdd0a20d5 in raise () from /lib/x86_64-linux-gnu/libc.so.6<br>
No symbol table info available.<br>
<a href="https://github.com/kamailio/kamailio/issues/1" class="issue-link" title="API for ruby">#1</a>  0x00007fabdd0a583b in abort () from /lib/x86_64-linux-gnu/libc.so.6<br>
No symbol table info available.<br>
<a href="https://github.com/kamailio/kamailio/pull/2" class="issue-link" title="Fix some typos and capitalisation in INSTALL">#2</a>  0x0000000000632ad0 in qm_debug_frag (qm=0x7fabdc86b010, f=0x7fabdc93cf78) at mem/q_malloc.c:142<br>
        <strong>FUNCTION</strong> = "qm_debug_frag"<br>
<a href="https://github.com/kamailio/kamailio/pull/3" class="issue-link" title="usrloc_dmq: add module for usrloc sync via dmq">#3</a>  0x0000000000634069 in qm_malloc (qm=0x7fabdc86b010, size=296, file=0x7fabdc65ce70 "pv: pv_svar.c", <br>
    func=0x7fabdc65d01d "set_var_value", line=128) at mem/q_malloc.c:369<br>
        f = 0x7fabdc93cf78<br>
        hash = 168<br>
        list_cntr = 1<br>
        <strong>FUNCTION</strong> = "qm_malloc"<br>
<a href="https://github.com/kamailio/kamailio/pull/4" class="issue-link" title="Update pcscf.cfg">#4</a>  0x00007fabdc61483b in set_var_value (var=0x7fabdc942658, value=0x7ffd762e8070, flags=1) at pv_svar.c:128<br>
        <strong>FUNCTION</strong> = "set_var_value"<br>
<a href="https://github.com/kamailio/kamailio/issues/5" class="issue-link" title='dialplan: using $(avp("key")[*]) on match/subst rules'>#5</a>  0x00007fabdc5fbfa8 in pv_set_scriptvar (msg=0x7fabdc8a9048, param=0x7fabdc939d18, op=254, val=0x7ffd762e8150)<br>
    at pv_core.c:1988<br>
        avp_val = {n = -594293216, s = {<br>
            s = 0x7fabdc93ce20 "{\"status\":\"OK\",\"uid\":\"device.john.smith\",\"dom\":\"example.com\",\"pwd\":\"7ymu0mAJ\",\"recfile\":\"20151103144733822~0313809101~unspecified~example.com~john.smith\",\"recdir\":\"example.com/2015/11/03\",\"rec\":true,"..., len = 295}, re = 0x7fabdc93ce20}<br>
        flags = 1<br>
        <strong>FUNCTION</strong> = "pv_set_scriptvar"<br>
<a href="https://github.com/kamailio/kamailio/issues/6" class="issue-link" title="usrloc: REGISTER with new callid gets updated on memory but not on DB">#6</a>  0x00007fabd2bc9f6e in curL_query_url (<em>m=0x7fabdc8a9048, <br>
    <em>url=0x7ffd762eb490 "http://mws:3001/api/rtc/devpw/INVITE/sip:0313809101%40example.com", _dst=0x7fabdc939d00 "\017", <br>
    _username=0x7ffd762e8490 "", _secret=0x7ffd762e9490 "", contenttype=0x7fabdc8ff698 "application/json", <br>
    _post=0x7fabdc93dc20 "{\"ah\":\"Digest algorithm=MD5, username=\\"john.smith\\", realm=\\"example.com\\", nonce=\\"Vji8FVY4uulLhKFK2JwtBHn5FZ4hC6nj\\", uri=\\"sip:<a href="mailto:0313809101@example.com">0313809101@example.com</a>\\", response=\\"802228e5c68db80d419b72925c7beee"..., <br>
    timeout=4, http_follow_redirect=0, oneline=0, maxdatasize=0) at functions.c:242<br>
        datasize = 295<br>
        curl = 0x15cb210<br>
        res = CURLE_OK<br>
        value = {s = 0x7ffd762eb490 "http://mws:3001/api/rtc/devpw/INVITE/sip:0313809101%40example.com", len = 66}<br>
        url = 0x7fabdc93e590 "http://mws:3001/api/rtc/devpw/INVITE/sip:0313809101%40example.com"<br>
        at = 0x0<br>
        stream = {<br>
          buf = 0x7fabdc93ce20 "{\"status\":\"OK\",\"uid\":\"device.john.smith\",\"dom\":\"example.com\",\"pwd\":\"7ymu0mAJ\",\"recfile\":\"20151103144733822~0313809101~unspecified~example.com~john.smith\",\"recdir\":\"example.com/2015/11/03\",\"rec\":true,"..., curr_size = 296, pos = 295, max_size = 0}<br>
        stat = 200<br>
        dst = 0x7fabdc939d00<br>
        val = {rs = {<br>
               s = 0x7fabdc93ce20 "{\"status\":\"OK\",\"uid\":\"device.john.smith\",\"dom\":\"example.com\",\"pwd\":\"7ymu0mAJ\",\"recfile\":\"20151103144733822~0313809101~unspecified~example.com~john.smith\",\"recdir\":\"example.com/2015/11/03\",\"rec\":true,"..., len = 295}, ri = 1982772372, flags = 4}<br>
        download_size = 295<br>
        total_time = 0.091017000000000001<br>
        headerlist = 0x15c8500<br>
        __FUNCTION</em></em> = "curL_query_url"<br>
<a href="https://github.com/kamailio/kamailio/issues/7" class="issue-link" title="avpops: avp_copy add xavp">#7</a>  0x00007fabd2bcd569 in curl_con_query_url (<em>m=0x7fabdc8a9048, connection=0x7fabdc935868 "apiauth", <br>
    <em>url=0x7fabdc93d548 "\360\231\223ܫ\177", _result=0x7fabdc939d00 "\017", contenttype=0x7fabdc8ff698 "application/json", <br>
    _post=0x7fabdc939c80 "`\270\223ܫ\177") at functions.c:353<br>
        conn = 0x7fabdc8d2810<br>
        connstr = {s = 0x7fabdc935868 "apiauth", len = 7}<br>
        usernamebuf = '\000' <br>
        passwordbuf = '\000' <br>
        connurlbuf = "mws:3001/api/rtc/devpw", '\000' <br>
        urlbuf = "http://mws:3001/api/rtc/devpw/INVITE/sip:0313809101%40example.com", '\000' <br>
        urlbuf2 = {s = 0x7fabdc99fc00 "/INVITE/sip:0313809101%40example.com", len = 37}<br>
        urlbuf3 = 0x7fabdc93e590 "http://mws:3001/api/rtc/devpw/INVITE/sip:0313809101%40example.com"<br>
        postdatabuf = {<br>
          s = 0x7fabdc9a98d0 "{\"ah\":\"Digest algorithm=MD5, username=\\"john.smith\\", realm=\\"example.com\\", nonce=\\"Vji8FVY4uulLhKFK2JwtBHn5FZ4hC6nj\\", uri=\\"sip:<a href="mailto:0313809101@example.com">0313809101@example.com</a>\\", response=\\"802228e5c68db80d419b72925c7beee"..., <br>
          len = 205}<br>
        postdata = 0x7fabdc93dc20 "{\"ah\":\"Digest algorithm=MD5, username=\\"john.smith\\", realm=\\"example.com\\", nonce=\\"Vji8FVY4uulLhKFK2JwtBHn5FZ4hC6nj\\", uri=\\"sip:<a href="mailto:0313809101@example.com">0313809101@example.com</a>\\", response=\\"802228e5c68db80d419b72925c7beee"...<br>
        maxdatasize = 0<br>
        res = 2<br>
        __FUNCTION</em></em> = "curl_con_query_url"</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/400#issuecomment-159557372">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfZqK1kalOd4ikp-2HqHFBZHmwYgks5pJX6ogaJpZM4GkiF1.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/400#issuecomment-159557372"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>