[sr-dev] [kamailio/kamailio] Kamailio crashes when it receives a 404 reply to an INVITE originated after a 302. (#875)

2016-11-30 Thread Joel Serrano
Hi, Kamailio crashes when we handle a 302 redirect and the reply is a 404. > # kamailio -v > version: kamailio 4.4.4 (x86_64/linux) > flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, > USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, >

[sr-dev] [kamailio/kamailio] Sipcapture fixes (#874)

2016-11-30 Thread Federico Cabiddu
Two fixes in this PR. The first is to perform the ntohs also on hep messaging carrying payload other than SIP. The scond is to take in count the definition of captid chunk in HEPv3 (uint32 BE) different from the one for HEPv2 (uint16 LE). You can view, comment on, or merge this pull request

[sr-dev] git:master:b1e8c2f0: http_async_client: added support for authentication

2016-11-30 Thread grumvalski
Module: kamailio Branch: master Commit: b1e8c2f007e533c7a01c3ced2a34620f4737ca18 URL: https://github.com/kamailio/kamailio/commit/b1e8c2f007e533c7a01c3ced2a34620f4737ca18 Author: Federico Cabiddu Committer: grumvalski Date:

Re: [sr-dev] [kamailio/kamailio] ratelimit module not working properly when FEEDBACK algorithm is used (#871)

2016-11-30 Thread GUILHERME CESAR PILON
Yes, the data retrieved from /proc/stat is indeed a unit of hertz, but, when you take the total time spent and divide by the amount of time the CPU is idle, you have a percentage of the CPU's idle time. (exactaly as the ratelimit module does). The problem is, this percentage is being divided by

Re: [sr-dev] [kamailio/kamailio] ratelimit module not working properly when FEEDBACK algorithm is used (#871)

2016-11-30 Thread Victor Seva
> The mistake here seems to be the division by the number of CPU cores, because > the overall porcentage retrieved from the /proc/stat file is already in the > range from 0-100, regardless of the number of CPU cores >From `man proc` > The amount of time, measured in units of USER_HZ (1/100ths

[sr-dev] sipcapture sip-status and method

2016-11-30 Thread David Villasmil
Hello all, The way sipcapture now works, for requests it inserts the actual method name into the "method" field. But for replies, it inserts the SIP Status (i.e. 200, 407) into the "method" field. It would be better to extract the actual method name from the CSEQ header and insert it into the

Re: [sr-dev] [kamailio/kamailio] kamailio crashes on CANCEL due to empty reply_lumps (#872)

2016-11-30 Thread Victor Seva
``` #0 build_res_buf_from_sip_req (code=1576798744, code@entry=487, text=0x25, new_tag=0x7f186f74d2b0 , msg=0x7f185dfbf9a0, returned_len=0xb7, bmark=0x8548c03148244489) at msg_translator.c:2395 lump = 0x0 received_len = 0 rport_len = 0 warning_len = 0

Re: [sr-dev] [kamailio/kamailio] sending repeated CANCEL (#870)

2016-11-30 Thread sergey19
if version: kamailio 4.4.4 (x86_64/linux) 852c47 10.1.244.235:5060176.99.138.244:5060 ──┬─ ──┬─ │INVITE (SDP) │ │ ──> │ │ 401 Unauthorized │

Re: [sr-dev] [kamailio/kamailio] ratelimit module not working properly when FEEDBACK algorithm is used (#871)

2016-11-30 Thread GUILHERME CESAR PILON
The fix I purpose is commited at pull request #873. -- 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/871#issuecomment-263904800___ sr-dev

[sr-dev] [kamailio/kamailio] ratelimit module not working properly when FEEDBACK algorithm is used (#873)

2016-11-30 Thread GUILHERME CESAR PILON
You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/873 -- Commit Summary -- * ratelimit module not working properly when FEEDBACK algorithm is used -- File Changes -- M modules/ratelimit/ratelimit.c (1) -- Patch Links --

[sr-dev] [kamailio/kamailio] kamailio crashes on CANCEL due to empty reply_lumps (#872)

2016-11-30 Thread apogrebennyk
We have a crash in kamailio 4.4.4 after t_next_contacts() has been called from failure route, if at this very moment when kamailio is preparing new INVITE the caller sends a cancel. #0 build_res_buf_from_sip_req (code=3186024432, code@entry=487, text=0x25, new_tag=0x7f8dcf5fb2b0 ,

[sr-dev] [kamailio/kamailio] ratelimit module not working properly when FEEDBACK algorithm is used (#871)

2016-11-30 Thread GUILHERME CESAR PILON
I'm currently using version 4.4.2 and I am came across an issue while using the ratelimit module with the FEEDBACK algorithm. Checking the ratelimit.c to see how the cpu load value is calculated I saw that the module parses only the line corresponding to the overall CPU usage in the

[sr-dev] [kamailio/kamailio] sending repeated CANCEL (#870)

2016-11-30 Thread sergey19
When you call, we use dlg_manage (); function to authorize the ISP with the following settings dialog module loadmodule "dialog.so" modparam ( "dialog", "enable_stats", 0) modparam ( "dialog", "db_url", DBURL) modparam ( "dialog", "db_mode", 1) modparam ( "dialog", "table_name", "dialog")

Re: [sr-dev] [kamailio/kamailio] sipcapture: remove workaround of correlation_id (#869)

2016-11-30 Thread Alexandr Dubovikov
no, it was just for review. I always careful for cherry picking to the stable release ;-) next time I will do by self! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] sipcapture: remove workaround of correlation_id (#869)

2016-11-30 Thread Giacomo Vacca
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/869#issuecomment-263855307___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] modules/sdpops - extend sdp_remove_line_by_prefix() (#863)

2016-11-30 Thread Daniel-Constantin Mierla
Merged #863. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/863#event-876632480___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:18c7eaf1: modules/app_lua: sdpops API changed

2016-11-30 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 18c7eaf11c69eccea195020d4b82f96ddae5dafb URL: https://github.com/kamailio/kamailio/commit/18c7eaf11c69eccea195020d4b82f96ddae5dafb Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-11-17T02:27:09+02:00

[sr-dev] git:master:44a87c18: Merge pull request #863 from mslehto/sdpops

2016-11-30 Thread GitHub
Module: kamailio Branch: master Commit: 44a87c1892c8ac33fffedc0f82ff2a8d114cc1ef URL: https://github.com/kamailio/kamailio/commit/44a87c1892c8ac33fffedc0f82ff2a8d114cc1ef Author: Daniel-Constantin Mierla Committer: GitHub Date: 2016-11-30T11:17:18+01:00

[sr-dev] git:master:0ede53d0: modules/app_lua: support 1 or 2 parameters with sr.sdpops.sdp_remove_line_by_prefix()

2016-11-30 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 0ede53d0872cbd426dcb3542dbca5ca7c00139e2 URL: https://github.com/kamailio/kamailio/commit/0ede53d0872cbd426dcb3542dbca5ca7c00139e2 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-11-28T12:37:53+02:00

[sr-dev] git:master:60703e86: modules/sdpops: add optional media parameter to sdp_remove_line_by_prefix()

2016-11-30 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 60703e86eff4849501938b2dcbb85382a9febb9d URL: https://github.com/kamailio/kamailio/commit/60703e86eff4849501938b2dcbb85382a9febb9d Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-11-17T01:15:11+02:00 modules/sdpops:

[sr-dev] git:master:3690bce2: test/unit: update unit test 60

2016-11-30 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 3690bce25ee7ca01bb9d36ec253e727c2c10bc9f URL: https://github.com/kamailio/kamailio/commit/3690bce25ee7ca01bb9d36ec253e727c2c10bc9f Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-11-16T23:45:21+02:00 test/unit:

[sr-dev] git:master:892ab273: test/unit: create unit test 61

2016-11-30 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 892ab2737cf931c6bd232439715e80874a7f1d97 URL: https://github.com/kamailio/kamailio/commit/892ab2737cf931c6bd232439715e80874a7f1d97 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-11-28T12:38:08+02:00 test/unit:

[sr-dev] git:master:8d4c2e41: test/unit: update unit test 60

2016-11-30 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 8d4c2e419068b034ced89828878c6635d69c8d6f URL: https://github.com/kamailio/kamailio/commit/8d4c2e419068b034ced89828878c6635d69c8d6f Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-11-17T01:17:00+02:00 test/unit:

Re: [sr-dev] [kamailio/kamailio] modules/sdpops - extend sdp_remove_line_by_prefix() (#863)

2016-11-30 Thread Daniel-Constantin Mierla
Yes, kemi should simplify and do the export only inside the sdpops module, then lua and python (at this moment, other languages to be added soon) will pick from there everything, without any change in lua/python modules. -- You are receiving this because you commented. Reply to this email

[sr-dev] git:4.4:ae7f6d49: Merge pull request #869 from giavac/gv/correlation_id_backport

2016-11-30 Thread GitHub
Module: kamailio Branch: 4.4 Commit: ae7f6d49ed1caf4a133f72012196a876d258e159 URL: https://github.com/kamailio/kamailio/commit/ae7f6d49ed1caf4a133f72012196a876d258e159 Author: Daniel-Constantin Mierla Committer: GitHub Date: 2016-11-30T11:14:08+01:00

Re: [sr-dev] [kamailio/kamailio] sipcapture: remove workaround of correlation_id (#869)

2016-11-30 Thread Daniel-Constantin Mierla
@adubovikov - ok. You should be able to do the merge as well, isn't working for you (just to be sure you have all the permissions needed)? Or you just wanted my review that is fine to backport? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or

Re: [sr-dev] [kamailio/kamailio] sipcapture: remove workaround of correlation_id (#869)

2016-11-30 Thread Daniel-Constantin Mierla
Merged #869. -- 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/869#event-876628688___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:4.4:973e8ef6: sipcapture: remove workaround of correlation_id

2016-11-30 Thread Giacomo Vacca
Module: kamailio Branch: 4.4 Commit: 973e8ef6e2f0323168f42ff9f77a86862604b51d URL: https://github.com/kamailio/kamailio/commit/973e8ef6e2f0323168f42ff9f77a86862604b51d Author: Giacomo Vacca Committer: Giacomo Vacca Date: