[SR-Users] failed to find command http_async_query - Even though module loaded

Federico Cabiddu federico.cabiddu at gmail.com
Fri Sep 23 07:26:11 CEST 2016


Hi,
are you sure that on server 2 you are running 4.4 branch?
The three params version of the query has been removed in master in this
commit
https://github.com/kamailio/kamailio/commit/61adc6e16c73070bd3f8a9a04efa18263793a270
.
Setting the query's body is now done through the $http_req pseudovariable,
for uniformity of the interface.
What does kamailio -v show on that server?

Cheers,

Federico

On Thu, Sep 22, 2016 at 11:34 PM, Jonathan Hunter <hunterj91 at hotmail.com>
wrote:

> Hi guys,
>
> I am using the http_async_client module to POST some requests to a Web
> Interface, and on server 1  it all works well.
>
> I have done a fresh install from github, version 4.4 on Centos 6.8 on
> server 2, and kamailio wont start.
>
> Its the same configuration file, however it states;
>
> failed to find command http_async_query (params 3)
>
> However the module is loaded, and when installing no errors were written
> when creating the module, and in terms of its links they are below and look
> ok  to me.
>
> Is there anywhere else I should be looking?
>
> Thanks
>
> Jon
>
>
>
>
> ldd http_async_client.so
>         linux-vdso.so.1 =>  (0x00007ffecedf1000)
>         libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007fdc5bd63000)
>         libevent-2.0.so.5 => /usr/lib64/libevent-2.0.so.5
> (0x00007fdc5bb1c000)
>         libsrutils.so.1 => /usr/local/kamailio-4.4/lib64/kamailio/libsrutils.so.1
> (0x00007fdc5b90c000)
>         libkcore.so.1 => /usr/local/kamailio-4.4/lib64/kamailio/libkcore.so.1
> (0x00007fdc5b6ff000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007fdc5b36a000)
>         libidn.so.11 => /lib64/libidn.so.11 (0x00007fdc5b138000)
>         libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007fdc5aee7000)
>         librt.so.1 => /lib64/librt.so.1 (0x00007fdc5acde000)
>         libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2
> (0x00007fdc5aa9a000)
>         libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fdc5a7b3000)
>         libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fdc5a586000)
>         libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fdc5a382000)
>         libz.so.1 => /lib64/libz.so.1 (0x00007fdc5a16c000)
>         libssl3.so => /usr/lib64/libssl3.so (0x00007fdc59f28000)
>         libsmime3.so => /usr/lib64/libsmime3.so (0x00007fdc59cfb000)
>         libnss3.so => /usr/lib64/libnss3.so (0x00007fdc599bb000)
>         libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fdc5978e000)
>         libplds4.so => /lib64/libplds4.so (0x00007fdc5958a000)
>         libplc4.so => /lib64/libplc4.so (0x00007fdc59385000)
>         libnspr4.so => /lib64/libnspr4.so (0x00007fdc59146000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdc58f29000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007fdc58d25000)
>         libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007fdc58afc000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007fdc58878000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fdc5c1f8000)
>         liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007fdc58668000)
>         libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fdc5844e000)
>         libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fdc58234000)
>         libkrb5support.so.0 => /lib64/libkrb5support.so.0
> (0x00007fdc58028000)
>         libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fdc57e25000)
>         libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fdc57bb8000)
>         libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fdc577d4000)
>         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fdc5759d000)
>         libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fdc5737d000)
>         libfreebl3.so => /lib64/libfreebl3.so (0x00007fdc5717a000)
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160923/c775a4fd/attachment.html>


More information about the sr-users mailing list