[sr-dev] git:master:15731d40: async: docs - some improvements to examples
Module: kamailio Branch: master Commit: 15731d40ff1af78bf568d19bdbe4704d35931afd URL: https://github.com/kamailio/kamailio/commit/15731d40ff1af78bf568d19bdbe4704d35931afd Author: Daniel-Constantin MierlaCommitter: Daniel-Constantin Mierla Date: 2018-03-07T22:29:55+01:00 async: docs - some improvements to examples --- Modified: src/modules/async/doc/async_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/15731d40ff1af78bf568d19bdbe4704d35931afd.diff Patch: https://github.com/kamailio/kamailio/commit/15731d40ff1af78bf568d19bdbe4704d35931afd.patch --- diff --git a/src/modules/async/doc/async_admin.xml b/src/modules/async/doc/async_admin.xml index f7de934bdb..d829679b2d 100644 --- a/src/modules/async/doc/async_admin.xml +++ b/src/modules/async/doc/async_admin.xml @@ -10,9 +10,9 @@ - + - + Overview @@ -24,7 +24,7 @@ Note that after invoking the asynchronous operation, the processing - will continue later in another application process. Therefore variables + will continue later in another application process. Therefore variables stored in private memory should not be used, try to use shared memory if you want to get values after the processing is resumed (e.g., $avp(...), $xavp(...), $shv(...), htable $sht(...)). @@ -72,7 +72,7 @@ workers (int) Number of worker processes to be started to handle the asynchronous - tasks for async_route() and async_sleep(). + tasks for async_route() and async_sleep(). @@ -124,8 +124,11 @@ modparam("async", "workers", 2) async_route usage ... -async_route("RESUME", "4"); -... +request_route { +... +async_route("RESUME", "4"); +... +} route[RESUME] { send_reply("404", "Not found"); exit; @@ -184,7 +187,7 @@ exit; async_workers usage ... -; Enable 8 worker processes used by async and other modules +# Enable 8 worker processes used by async and other modules async_workers=8 ... @@ -212,8 +215,11 @@ async_workers=8 async_task_route usage ... -async_task_route("RESUME"); -... +request_route { +... +async_task_route("RESUME"); +... +} route[RESUME] { t_relay(); exit; @@ -224,4 +230,3 @@ route[RESUME] { - ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[sr-dev] git:master:42610691: modules: readme files regenerated - async ... [skip ci]
Module: kamailio Branch: master Commit: 42610691aa3b19fe47caed0b186a10253e6aaabd URL: https://github.com/kamailio/kamailio/commit/42610691aa3b19fe47caed0b186a10253e6aaabd Author: Kamailio DevCommitter: Kamailio Dev Date: 2018-03-07T22:31:26+01:00 modules: readme files regenerated - async ... [skip ci] --- Modified: src/modules/async/README --- Diff: https://github.com/kamailio/kamailio/commit/42610691aa3b19fe47caed0b186a10253e6aaabd.diff Patch: https://github.com/kamailio/kamailio/commit/42610691aa3b19fe47caed0b186a10253e6aaabd.patch --- diff --git a/src/modules/async/README b/src/modules/async/README index 26db487939..2e8357b52d 100644 --- a/src/modules/async/README +++ b/src/modules/async/README @@ -136,8 +136,11 @@ modparam("async", "workers", 2) Example 1.2. async_route usage ... -async_route("RESUME", "4"); -... +request_route { +... +async_route("RESUME", "4"); +... +} route[RESUME] { send_reply("404", "Not found"); exit; @@ -177,7 +180,7 @@ exit; Example 1.4. async_workers usage ... -; Enable 8 worker processes used by async and other modules +# Enable 8 worker processes used by async and other modules async_workers=8 ... @@ -197,8 +200,11 @@ async_workers=8 Example 1.5. async_task_route usage ... -async_task_route("RESUME"); -... +request_route { +... +async_task_route("RESUME"); +... +} route[RESUME] { t_relay(); exit; ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[sr-dev] git:master:6abd8472: kamctl: set default PID_FILE to /var/run/kamailio/kamailio.pid
Module: kamailio Branch: master Commit: 6abd8472b764f88c5c054becb440fda8fff47349 URL: https://github.com/kamailio/kamailio/commit/6abd8472b764f88c5c054becb440fda8fff47349 Author: Daniel-Constantin MierlaCommitter: Daniel-Constantin Mierla Date: 2018-03-08T08:55:35+01:00 kamctl: set default PID_FILE to /var/run/kamailio/kamailio.pid - this being now the path used by default kamailio options --- Modified: utils/kamctl/kamctl.base Modified: utils/kamctl/kamctlrc --- Diff: https://github.com/kamailio/kamailio/commit/6abd8472b764f88c5c054becb440fda8fff47349.diff Patch: https://github.com/kamailio/kamailio/commit/6abd8472b764f88c5c054becb440fda8fff47349.patch --- diff --git a/utils/kamctl/kamctl.base b/utils/kamctl/kamctl.base index eb8ab554b7..641449422c 100644 --- a/utils/kamctl/kamctl.base +++ b/utils/kamctl/kamctl.base @@ -101,7 +101,7 @@ fi # # ### configuration for starting/stopping kamailio if [ -z "$PID_FILE" ] ; then - PID_FILE=/var/run/kamailio.pid + PID_FILE=/var/run/kamailio/kamailio.pid fi if [ -z "$SYSLOG" ] ; then SYSLOG=1 # 0=output to console, 1=output to syslog diff --git a/utils/kamctl/kamctlrc b/utils/kamctl/kamctlrc index 836290a5b8..d6e927fe84 100644 --- a/utils/kamctl/kamctlrc +++ b/utils/kamctl/kamctlrc @@ -154,7 +154,7 @@ # STORE_PLAINTEXT_PW=0 ## Kamailio START Options -## PID file path - default is: /var/run/kamailio.pid +## PID file path - default is: /var/run/kamailio/kamailio.pid # PID_FILE=/var/run/kamailio/kamailio.pid ## Extra start options - default is: not set ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] auth_ephemeral.so: undefined symbol: EVP_sha512 (#1473)
OS: Ubuntu Xenial 16.04 ``` libssl-dev:amd64 1.0.2g-1ubuntu4.10 libssl-doc 1.0.2g-1ubuntu4.10 libssl1.0.0:amd641.0.2g-1ubuntu4.10 openssl 1.0.2g-1ubuntu4.10 ``` tried with `TLS_HOOKS=1 ` on 5.1 branch (pulled this morning): ``` root@qa1:/usr/local/lib64/kamailio/modules# ldd auth_ephemeral.so linux-vdso.so.1 => (0x7ffc9d3e1000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f67566da000) /lib64/ld-linux-x86-64.so.2 (0x7f6756cc2000) root@qa1:/usr/local/lib64/kamailio/modules# ``` while tls.so links to libssl ``` root@qa1-voip:/usr/local/lib64/kamailio/modules# ldd tls.so linux-vdso.so.1 => (0x7fff049fe000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x7f6b22e85000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f6b22abb000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x7f6b22677000) /lib64/ld-linux-x86-64.so.2 (0x7f6b2337d000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f6b22473000) root@qa1-voip:/usr/local/lib64/kamailio/modules# ``` on master branch: ``` root@qa1-voip:/usr/local/lib64/kamailio/modules# ldd auth_ephemeral.so linux-vdso.so.1 => (0x7ffe23787000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f071da65000) /lib64/ld-linux-x86-64.so.2 (0x7f071e04d000) root@qa1-voip:/usr/local/lib64/kamailio/modules# ldd tls.so linux-vdso.so.1 => (0x7ffce6d1e000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x7f5fd6ae9000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f5fd671f000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x7f5fd62db000) /lib64/ld-linux-x86-64.so.2 (0x7f5fd6fe1000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f5fd60d7000) root@qa1-voip:/usr/local/lib64/kamailio/modules# ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1473#issuecomment-371057092___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] auth_ephemeral.so: undefined symbol: EVP_sha512 (#1473)
Do you linked the auth_ephemeral statically? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1473#issuecomment-371065722___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] auth_ephemeral.so: undefined symbol: EVP_sha512 (#1473)
I think it should use dynamic linking same as tls module. ``` root@qa1-voip:/usr/src/kamailio# make clean & && cd src/modules/auth_ephemeral/; make && ldd auth_ephemeral.so && cd ../tls/ && make && ldd tls.so [cut] make -C src/ make[1]: Entering directory '/usr/src/kamailio/src' make[1]: 'kamailio' is up to date. make[1]: Leaving directory '/usr/src/kamailio/src' make: 'auth_ephemeral.so' is up to date. linux-vdso.so.1 = (0x7ffc0cd61000) libc.so.6 =/lib/x86_64-linux-gnu/libc.so.6 (0x7fb15287c000) /lib64/ld-linux-x86-64.so.2 (0x7fb152e64000) make: 'tls.so' is up to date. linux-vdso.so.1 = (0x7fffe5104000) libssl.so.1.0.0 =/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x7f77edbd6000) libc.so.6 =/lib/x86_64-linux-gnu/libc.so.6 (0x7f77ed80c000) libcrypto.so.1.0.0 =/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x7f77ed3c8000) /lib64/ld-linux-x86-64.so.2 (0x7f77ee0ce000) libdl.so.2 =/lib/x86_64-linux-gnu/libdl.so.2 (0x7f77ed1c4000) root@qa1-voip:/usr/src/kamailio/src/modules/tls# ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1473#issuecomment-371068093___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[sr-dev] git:master:d1d151e8: README: change twitter handle to the new one
Module: kamailio Branch: master Commit: d1d151e8ef792be4a711fcd183ff0b43a48fb204 URL: https://github.com/kamailio/kamailio/commit/d1d151e8ef792be4a711fcd183ff0b43a48fb204 Author: Henning WesterholtCommitter: Henning Westerholt Date: 2018-03-07T09:57:01+01:00 README: change twitter handle to the new one --- Modified: README --- Diff: https://github.com/kamailio/kamailio/commit/d1d151e8ef792be4a711fcd183ff0b43a48fb204.diff Patch: https://github.com/kamailio/kamailio/commit/d1d151e8ef792be4a711fcd183ff0b43a48fb204.patch --- diff --git a/README b/README index fbd0f2e38d..44645b73d1 100644 --- a/README +++ b/README @@ -141,5 +141,5 @@ Particularly, it includes: - download links - etc. -You can also follow us on Twitter as @kamailioproject and like us on Facebook +You can also follow us on Twitter as @kamailio and like us on Facebook to get regular updates. ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev