[sr-dev] git:master:395303db: corex: check not in SHM before PKG free for path

2020-03-06 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: 395303dbb3572e57bd8d16bcbbfb29d6d54a60fe URL: https://github.com/kamailio/kamailio/commit/395303dbb3572e57bd8d16bcbbfb29d6d54a60fe Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2020-03-05T10:25:18+02:00 corex: check not in SHM before PKG free

[sr-dev] Regarding MIPS Compilation

2020-03-06 Thread subhra giri
Hi Can any body help me how to compile kamailio for mips Thanks and Regards Subhra Prakash Giri ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] [kamailio/kamailio] Write Buffer too small (#2240)

2020-03-06 Thread Natzy
### Description We're trying to connect the same subscriber with Kamailio for load testing. Sometimes it registers successfully but sometimes it throws the following error. ### Troubleshooting >From my understanding by checking the source code, TLS_WR_MBUF_SZ is set as >65536 by default

Re: [sr-dev] [kamailio/kamailio] TLS write buffer too small (#2240)

2020-03-06 Thread Henning Westerholt
This is a compile time variable right now. You can try to change the define in the code and recompile the module. src/modules/tls/tls_server.c 70:#define TLS_WR_MBUF_SZ 65536 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on G

Re: [sr-dev] Regarding MIPS Compilation

2020-03-06 Thread Henning Westerholt
Hello, do you get some problems during compilation? Please provide more details what you have tried, and which steps don’t work etc.. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: sr-dev On Behalf Of subhra

Re: [sr-dev] [kamailio/kamailio] TLS write buffer too small (#2240)

2020-03-06 Thread Natzy
> This is a compile time variable right now. You can try to change the define > in the code and recompile the module. > > src/modules/tls/tls_server.c > 70:#define TLS_WR_MBUF_SZ 65536 What is maximum value that can be set for this? And I'm assuming this is in bytes. -- You are receiving thi

[sr-dev] dev question related to generate_avps()

2020-03-06 Thread Stefan Mititelu
Hi, I want to ask you if it would make sense for kamailio upstream code to generate_avps() (got from the database) also when the user failed to register? Please have a look in src/modules/auth_db/authorize.c line 303. If it makes sense, I'll do a pull request for it. Thank you, Stefan __

Re: [sr-dev] dev question related to generate_avps()

2020-03-06 Thread Stefan Mititelu
*when the user failed to *authenticate* On 06.03.2020 12:41, Stefan Mititelu wrote: Hi, I want to ask you if it would make sense for kamailio upstream code to generate_avps() (got from the database) also when the user failed to register? Please have a look in src/modules/auth_db/authorize.c

Re: [sr-dev] [kamailio/kamailio] TLS write buffer too small (#2240)

2020-03-06 Thread Henning Westerholt
It is a unsigned char array, yes. Increasing it too much should only waste some memory, but I would not increase it to much as there might be some run time effects (like processing the data etc..). I would try to double it, e.g. to 131072 (2^17) to see if its helps. -- You are receiving this be

Re: [sr-dev] Regarding MIPS Compilation

2020-03-06 Thread Henning Westerholt
Hello, please keep the list in CC. it looks that it still tries to compile the x86 code, and not the MIPS one. What do you get when you execute “make cfg” on your system – this is what I get on 64 Linux: henning@static:~/repositories/kamailio/src$ make cfg target architecture , host architectu

Re: [sr-dev] dev question related to generate_avps()

2020-03-06 Thread Daniel-Constantin Mierla
I had some needs to fetch user attributes after authentication fails, after an incorrect password or expired nonce (practically for a valid user) where I used sql_query(). So its fine to add this feature from my point of view, it is saving an extra sql query. Just make a modparam to control the be

Re: [sr-dev] dev question related to generate_avps()

2020-03-06 Thread Stefan Mititelu
cool, thanks. --- Stefan On 06.03.2020 15:05, Daniel-Constantin Mierla wrote: I had some needs to fetch user attributes after authentication fails, after an incorrect password or expired nonce (practically for a valid user) where I used sql_query(). So its fine to add this feature from my

Re: [sr-dev] Regarding MIPS Compilation

2020-03-06 Thread Henning Westerholt
Hi Subhra, I meant with native platform – to test compilation directly on the MIPS board, not sure if you understood it the same way. Cheers, Henning From: subhra giri Sent: Friday, March 6, 2020 1:11 PM To: Henning Westerholt Cc: sr-dev@lists.kamailio.org Subject: Re: [sr-dev] Regarding MIP

Re: [sr-dev] [kamailio/kamailio] TLS write buffer too small (#2240)

2020-03-06 Thread Natzy
> It is a unsigned char array, yes. Increasing it too much should only waste > some memory, but I would not increase it to much as there might be some run > time effects (like processing the data etc..). > I would try to double it, e.g. to 131072 (2^17) to see if its helps. Thank you for the rep

[sr-dev] git:master:19263243: ims_diameter_server: extern declaration of global vars in header file

2020-03-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 19263243127c40d0418ff04e56048d31e9dd9d0c URL: https://github.com/kamailio/kamailio/commit/19263243127c40d0418ff04e56048d31e9dd9d0c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-06T16:28:51+01:00 ims_diameter_server: e

[sr-dev] git:master:57d131bc: core: functions to encode/decode base64-url

2020-03-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 57d131bc26523d4a87d60b9e3fa96079030efa88 URL: https://github.com/kamailio/kamailio/commit/57d131bc26523d4a87d60b9e3fa96079030efa88 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-06T17:45:43+01:00 core: functions to enc

[sr-dev] git:master:1dd8c578: pv: transformations for base64-url encode/decode variants

2020-03-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1dd8c5784aa58bd48a713661a1f3e4ed7db58c88 URL: https://github.com/kamailio/kamailio/commit/1dd8c5784aa58bd48a713661a1f3e4ed7db58c88 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-06T17:46:49+01:00 pv: transformations fo

Re: [sr-dev] [kamailio/kamailio] TLS write buffer too small (#2240)

2020-03-06 Thread Natzy
Closed #2240. -- 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/2240#event-3106371396___ Kamailio (SER) - Development Mailing List sr-dev@l

[sr-dev] pv module problems on master

2020-03-06 Thread Juha Heinanen
May have something to do with recent two commits. -- Juha --- CC (gcc) [M pv.so] pv_trans.o pv_trans.c: In function 'tr_eval_string': pv_trans.c:539:22: warning: pointer targets in passing argument 1 of 'base64url_

[sr-dev] git:master:d78289c3: core: define function name for base64-url encoding as its declaration in .h file

2020-03-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d78289c34e4e5fb97fe1670e2c6773cf9ae5710f URL: https://github.com/kamailio/kamailio/commit/d78289c34e4e5fb97fe1670e2c6773cf9ae5710f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-06T23:55:59+01:00 core: define function

[sr-dev] git:master:7c097c1b: pv: remove unnecessary casts that rise warnings with some compilers

2020-03-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7c097c1b3715526611668233be79fdf9b1cb0063 URL: https://github.com/kamailio/kamailio/commit/7c097c1b3715526611668233be79fdf9b1cb0063 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-03-06T23:56:42+01:00 pv: remove unnecessary

Re: [sr-dev] pv module problems on master

2020-03-06 Thread Daniel-Constantin Mierla
They were from the previous commits indeed -- clang on mac was not reporting them. I just pushed patches to fix them. Cheers, Daniel On 06.03.20 23:22, Juha Heinanen wrote: > May have something to do with recent two commits. > > -- Juha > >

Re: [sr-dev] pv module problems on master

2020-03-06 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > They were from the previous commits indeed -- clang on mac was not > reporting them. I just pushed patches to fix them. Thanks, works now, Juha ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org h