Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Daniel-Constantin Mierla
Hello, On 09.11.17 09:50, Marco Capetta wrote: > Dear All, > > I'm facing a strange problem with the call accounting module: even if > in my configuration I have the parameter: > modparam("acc", "early_media", 0) > I can find some ACC records with sip_code 180 or 183. > > > I investigated

[SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Marco Capetta
Dear All, I'm facing a strange problem with the call accounting module: even if in my configuration I have the parameter: modparam("acc", "early_media", 0) I can find some ACC records with sip_code 180 or 183. I investigated those cases and this issue seems to happen when an endpoint

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Daniel-Constantin Mierla
Hello, I expect that the code value is taken from status of the transaction, which at that time has 200ok ranked with more priority. I will check the code and if it proves to be this case, I will come up with a fix. Cheers, Daniel On 09.11.17 10:42, Marco Capetta wrote: > Hello, > > no we

[SR-Users] t_relay_to_udp - 500 server error occurred (6/SL)

2017-11-09 Thread Donat Zenichev
Hi all. I have a problem with t_relay_to_udp function. My topology: UAC -> tcp -> kamailio <-> udp <-> asterisk Kamailio processes requests from clients over TCP and relays requests to asterisk over UDP. Kamailio gets INVITE from client, relays it to asterisk, then he sends 100 trying to user

Re: [SR-Users] GeoIP2 module deb package

2017-11-09 Thread Daniel-Constantin Mierla
Hello, On 09.11.17 04:20, Joel Serrano wrote: > Hi,  > > I can't seem to find the geoip2 module for debian stretch (installing > from packages, kamailio 5.0 branch).  > > Is it not available in the repository? > > is the old geoip module packaged in this distro or non of the geoip modules are in

Re: [SR-Users] Kamailio issue

2017-11-09 Thread bazou2 bazou2
Any idea... Regards Sent from Outlook From: bazou2 bazou2 Sent: Wednesday, November 8, 2017 12:36:10 AM To: Kamailio (SER) - Users Mailing List Subject: Kamailio issue Hello, I have a kamailio version 4.4 with an Asterisk 13 ... and

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Daniel-Constantin Mierla
One more thing, have you seen it in latest versions from branch 4.4.x? Or was it on 4.4.1 only? Or from other perspective, on which versions you noticed this kind of issues? Cheers, Daniel On 09.11.17 14:02, Marco Capetta wrote: > Thank Daniel. > > Cheers > Marco > > On 11/09/2017 12:38 PM,

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Marco Capetta
I have the same issue on 4.4.5 and 4.4.6 Thanks Marco On 11/09/2017 02:22 PM, Daniel-Constantin Mierla wrote: One more thing, have you seen it in latest versions from branch 4.4.x? Or was it on 4.4.1 only? Or from other perspective, on which versions you noticed this kind of issues?

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Daniel-Constantin Mierla
Forgot to add that for branch 4.4, the changes should be for line 1952 in modules/tm/t_reply.c On 09.11.17 16:06, Daniel-Constantin Mierla wrote: > > I just pushed to master, here is the link to the diff: > >   - >

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Daniel-Constantin Mierla
Are you able to reproduce as you need in a testbed or so? I may have a small patch and wondering if you would be able to test? Cheers, Daniel On 09.11.17 14:32, Marco Capetta wrote: > I have the same issue on 4.4.5 and 4.4.6 > > Thanks > Marco > > On 11/09/2017 02:22 PM, Daniel-Constantin

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Marco Capetta
Yes, I have a test system where I can deploy the patch. Thank you very much Marco On 11/09/2017 03:09 PM, Daniel-Constantin Mierla wrote: Are you able to reproduce as you need in a testbed or so? I may have a small patch and wondering if you would be able to test? Cheers, Daniel On

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Daniel-Constantin Mierla
I just pushed to master, here is the link to the diff:   - https://github.com/kamailio/kamailio/commit/785a3ccc743f429107c3dfae78d43705918aa4e6.diff It will help to see if what I found was the source for the issue. If yes, there might be another patch to have a proper handling of the situation.

Re: [SR-Users] http_async_client problem with tls_ca_path

2017-11-09 Thread gmele
Hello Giacomo, any news on this topic? Are you waiting something from me? Thx Giovanni -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] strange --dialog in delete state is too old-- log line managing dialog hashes

2017-11-09 Thread David Escartín
hello Daniel I might think they were not, at least i cannot see dialogs being created with the same id and entry hash values in the previous hours to the kamailio reset, but i'm not sure. I dont know if maybe they could be some "lost" dialogs with more than 2 hours lifetime for some strange

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Marco Capetta
Thanks. Patch applied on the test system with kamailio 4.4.6. Just for documentation, an additional difference with 5.X is that variable  "TMCB_NONE_F" is called "relayed_code". I will leave the system running and I let you know if the issue is solved. Thanks Marco On 11/09/2017 04:18 PM,

Re: [SR-Users] http_async_client problem with tls_ca_path

2017-11-09 Thread Giacomo Vacca
Hi Giovanni, This is what I've done, on the same CentOS 7.4.1708 (and libcurl 7.56.1-1.0.cf.rhel7) machine referred to in this thread. - Checked out 071b85f66cabaa3a705a014b26b7c1eb31029b26 from branch 5.0 (which is the last one before Aug 18th). - Used the latest http_async_client module - make

Re: [SR-Users] GeoIP2 module deb package

2017-11-09 Thread Joel Serrano
Hi Daniel, The old geoip (v1, libgeopip) module is available, it's the geoip2 (v2, libmaxminddb) the one I can't seem to find. Thanks, Joel. On Thu, Nov 9, 2017 at 1:19 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 09.11.17 04:20, Joel Serrano wrote: > > Hi, > > >

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-09 Thread Marco Capetta
Thank Daniel. Cheers Marco On 11/09/2017 12:38 PM, Daniel-Constantin Mierla wrote: Hello, I expect that the code value is taken from status of the transaction, which at that time has 200ok ranked with more priority. I will check the code and if it proves to be this case, I will come up