Re: [sr-dev] error_readline_pkg-config with latest Makefile

2020-03-19 Thread Ovidiu Sas
Take a look at this makefile: https://github.com/Optware/Optware-ng/blob/master/make/kamailio.mk It was used to cross compile kamailio for several platforms. Through CC_EXTRA_OPTS you can pass extra compiler flags and paths for the target platform. Also, please keep the list in cc, otherwise

[sr-dev] Makefile is not able to compile readline

2020-03-19 Thread subhra giri
Hi The updated Makefile is not able to compile readline. Please help me to cross compile for MIPS. Thanks and Regards On Wed, Mar 18, 2020 at 10:12 PM Daniel-Constantin Mierla wrote: > Module: kamailio > Branch: master > Commit: 0e6e05f8bec1fb451375d71a6b929a6908c5689d > URL: >

Re: [sr-dev] [kamailio/kamailio] ratelimit: increase default number of queues (#2257)

2020-03-19 Thread Daniel-Constantin Mierla
>From my point of view, this can be backported if needed, is just increasing >the capacity of existing features, as the limits were hit in specific >deployments, no new feature added. Like we had to do in the past to increase >internal buffer sizes to cope with larger values. -- You are

[sr-dev] git:5.3:6f871feb: cfgutils: use same type for local variable in rpc gflags functions

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.3 Commit: 6f871feb31e8d1b53b7d0161f2d5643c567b0f9a URL: https://github.com/kamailio/kamailio/commit/6f871feb31e8d1b53b7d0161f2d5643c567b0f9a Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-19T19:20:55+01:00 cfgutils: use same type

[sr-dev] git:5.3:41967543: Makefile.defs: Only add -ldl on systems that use it

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.3 Commit: 41967543be401413f5a93682ea537e2e7824ac3b URL: https://github.com/kamailio/kamailio/commit/41967543be401413f5a93682ea537e2e7824ac3b Author: Greg Troxel Committer: Daniel-Constantin Mierla Date: 2020-03-19T19:20:26+01:00 Makefile.defs: Only add -ldl on

[sr-dev] git:5.3:8283d346: pv: do not set ending '\0' for port value in pv_set_ruri_port()

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.3 Commit: 8283d34684fda83a8f9ec610cd32fb524d09a7be URL: https://github.com/kamailio/kamailio/commit/8283d34684fda83a8f9ec610cd32fb524d09a7be Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-19T19:20:37+01:00 pv: do not set ending

[sr-dev] git:5.3:75976851: Makefile.defs: On NetBSD, link with -lm

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.3 Commit: 7597685108228d9d179845ab2771f2010c77bd57 URL: https://github.com/kamailio/kamailio/commit/7597685108228d9d179845ab2771f2010c77bd57 Author: Greg Troxel Committer: Daniel-Constantin Mierla Date: 2020-03-19T19:20:16+01:00 Makefile.defs: On NetBSD, link with

[sr-dev] git:5.3:fd3527ea: kamcmd: Makefile - updated the msg target to print pkg-config detections

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.3 Commit: fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0 URL: https://github.com/kamailio/kamailio/commit/fd3527ea84d7be2c841cdf89cd6b5b6446fc6ae0 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-19T19:20:08+01:00 kamcmd: Makefile -

[sr-dev] git:5.3:c1cc4a07: kamcmd: use pkg-config to get compile flags for lib readline

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.3 Commit: c1cc4a07d11c829f89ea62206689fba92eb91ea2 URL: https://github.com/kamailio/kamailio/commit/c1cc4a07d11c829f89ea62206689fba92eb91ea2 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-19T19:19:58+01:00 kamcmd: use pkg-config

Re: [sr-dev] [kamailio/kamailio] t_forward_nonack not decoding/unescaping URI (#2255)

2020-03-19 Thread Julien Chavanton
I concluded that the URI in the route should be escaped automatically by `t_relay()`. But t_relay / t_forward_nonack is not unescaping the transport and failing with : ``` 4(34) ERROR: tm [ut.h:245]: uri2dst2(): bad_uri: sip:247.25.169.51:52307%3Btransport%3Dtls 4(34) ERROR: tm [t_fwd.c:1728]:

Re: [sr-dev] [kamailio/kamailio] t_forward_nonack not decoding/unescaping URI (#2255)

2020-03-19 Thread Daniel-Constantin Mierla
And what is the OPTIONS making problems? Route header should be handled automatically. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:master:5411eda4: cfgutils: use same type for local variable in rpc gflags functions

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 5411eda4e44a487479d00433583a68a328aca9a3 URL: https://github.com/kamailio/kamailio/commit/5411eda4e44a487479d00433583a68a328aca9a3 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-19T16:57:29+01:00 cfgutils: use same

Re: [sr-dev] error_readline_pkg-config with latest Makefile

2020-03-19 Thread subhra giri
Hi readline.h is located at /home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/readline.h And libreadline*.so* are present at /home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/shlib/libreadline.so.5.1

Re: [sr-dev] [kamailio/kamailio] t_forward_nonack not decoding/unescaping URI (#2255)

2020-03-19 Thread Julien Chavanton
The message sent by the edge proxy using the path module ``` REGISTER sip:test-domain.com SIP/2.0 Via: SIP/2.0/UDP 137.15.81.151;branch=z9hG4bKf5c2.d20338c99be2a579d16152c911a268b8.0;i=00064 Via: SIP/2.0/TCP

Re: [sr-dev] error_readline_pkg-config with latest Makefile

2020-03-19 Thread Ovidiu Sas
That’s the wrong path because is the host’s path. You need to install readline for the target and provide that path to the Makefile. -ovidiu On Thu, Mar 19, 2020 at 11:05 subhra giri wrote: > Hi Daniel > readline.h is located at > /usr/include/readline/readline.h > > And libreadline*.so* are

Re: [sr-dev] [kamailio/kamailio] t_forward_nonack not decoding/unescaping URI (#2255)

2020-03-19 Thread Julien Chavanton
Yes, ``` loadmodule "path" modparam("path", "use_received", 1) ... if (is_method("REGISTER")) add_path_received(); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] error_readline_pkg-config with latest Makefile

2020-03-19 Thread subhra giri
Hi Daniel readline.h is located at /usr/include/readline/readline.h And libreadline*.so* are present at /lib/x86_64-linux-gnu/libreadline.so.7 /lib/x86_64-linux-gnu/libreadline.so.7.0 /usr/lib/x86_64-linux-gnu/libreadline.so Thanks and Regards Subhra Prakash Giri On Thu, Mar 19, 2020 at 7:43

Re: [sr-dev] error_readline_pkg-config with latest Makefile

2020-03-19 Thread Daniel-Constantin Mierla
Hello, it seems that libreadline-dev is not installing any pkg-config file, so its path is not detected. Can you locate where readline.h and libreadline*.so* files are installed on your system? We can add the paths to the makefile of the kamcmd. Cheers, Daniel On 19.03.20 04:15, subhra giri

Re: [sr-dev] [kamailio/kamailio] Dispatcher module and $dp variable used to overwrite $rp (#2258)

2020-03-19 Thread Piotr Grabowski
Closed #2258. -- 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/2258#event-3145145576___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] Dispatcher module and $dp variable used to overwrite $rp (#2258)

2020-03-19 Thread Piotr Grabowski
Fix is working. ``` /usr/local/sbin/kamailio[7421]: ERROR:

Re: [sr-dev] [kamailio/kamailio] Dispatcher module and $dp variable used to overwrite $rp (#2258)

2020-03-19 Thread Piotr Grabowski
Thanks a lot for fast patch. I will test it today. -- 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/2258#issuecomment-601106596___

Re: [sr-dev] [kamailio/kamailio] ratelimit: increase default number of queues (#2257)

2020-03-19 Thread Stefan Mititelu
Merged #2257 into master. -- 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/pull/2257#event-3144938139___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] Dispatcher module and $dp variable used to overwrite $rp (#2258)

2020-03-19 Thread Daniel-Constantin Mierla
I pushed a commit for it. Can you try with the patch referenced above? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:master:1f76bca7: pv: do not set ending '\0' for port value in pv_set_ruri_port()

2020-03-19 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1f76bca74839f35d11f42edf758eb046cedb752c URL: https://github.com/kamailio/kamailio/commit/1f76bca74839f35d11f42edf758eb046cedb752c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-19T10:59:43+01:00 pv: do not set ending

Re: [sr-dev] [kamailio/kamailio] ratelimit: increase default number of queues (#2257)

2020-03-19 Thread Stefan Mititelu
Updated the default number of pipes and queues to 32. Thanks, will definitely have a look on the pipelimit module also. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] Dispatcher module and $dp variable used to overwrite $rp (#2258)

2020-03-19 Thread Piotr Grabowski
### Description When using dispatcher module to select destination we didn't configure explicit port: ``` sh-4.1# cat /etc/kamailio/dispatcher.list # $Id$ # dispatcher destination sets # # line format # setit(int) destination(sip uri) flags(int,opt) priority(int,opt) attributes(str,opt) 1

Re: [sr-dev] [kamailio/kamailio] ratelimit: increase default number of queues (#2257)

2020-03-19 Thread Stefan Mititelu
@smititelu pushed 1 commit. f79fb073a0939161ad33dfc8156f1b03b9b2286a ratelimit: increase number of queues and pipes -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [sr-dev] [kamailio/kamailio] ratelimit: increase default number of queues (#2257)

2020-03-19 Thread Daniel-Constantin Mierla
If you don't want to make it modparam, then better to be increased a bit higher, maybe 32. Same for the number of pipes. On the other hand, have you looked at pipelimit module? It doesn't have the concept of queues anymore, but they can be replaced with IF conditions in config script, iirc.

[sr-dev] [kamailio/kamailio] ratelimit: increase default number of queues (#2257)

2020-03-19 Thread Stefan Mititelu
!-- Kamailio Pull Request Template -- !-- IMPORTANT: - for detailed contributing guidelines, read: https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md - pull requests must be done to master branch, unless they are backports of fixes from master branch to a stable

Re: [sr-dev] [kamailio/kamailio] Small portability fixes (NetBSD) (#2256)

2020-03-19 Thread Daniel-Constantin Mierla
Thanks! -- 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/pull/2256#issuecomment-601009044___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] Small portability fixes (NetBSD) (#2256)

2020-03-19 Thread Daniel-Constantin Mierla
Merged #2256 into master. -- 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/pull/2256#event-3144214306___ Kamailio (SER) - Development Mailing

[sr-dev] git:master:bca9768b: Makefile.defs: Only add -ldl on systems that use it

2020-03-19 Thread Greg Troxel
Module: kamailio Branch: master Commit: bca9768b6f2667bad8472fa99a113b8249ca0f9a URL: https://github.com/kamailio/kamailio/commit/bca9768b6f2667bad8472fa99a113b8249ca0f9a Author: Greg Troxel Committer: Greg Troxel Date: 2020-03-18T19:06:36-04:00 Makefile.defs: Only add -ldl on systems that

[sr-dev] git:master:3ccaac36: Makefile.defs: On NetBSD, link with -lm

2020-03-19 Thread Greg Troxel
Module: kamailio Branch: master Commit: 3ccaac365da6078a96681109efebc70dcb12fc55 URL: https://github.com/kamailio/kamailio/commit/3ccaac365da6078a96681109efebc70dcb12fc55 Author: Greg Troxel Committer: Greg Troxel Date: 2020-03-18T19:01:52-04:00 Makefile.defs: On NetBSD, link with -lm ---

[sr-dev] git:master:6728fa97: Merge pull request #2256 from gdt/master

2020-03-19 Thread GitHub
Module: kamailio Branch: master Commit: 6728fa974723be3e79e7fd9750cd4fdc26fcb013 URL: https://github.com/kamailio/kamailio/commit/6728fa974723be3e79e7fd9750cd4fdc26fcb013 Author: Daniel-Constantin Mierla Committer: GitHub Date: 2020-03-19T07:21:26+01:00 Merge pull request #2256 from

Re: [sr-dev] [kamailio/kamailio] t_forward_nonack not decoding/unescaping URI (#2255)

2020-03-19 Thread Daniel-Constantin Mierla
Is this about an OPTIONS request received on the proxy that added Path to REGISTER? Can you paste the parameters you set for path module? What add-path function do you use? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: