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,
>
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
Module: kamailio
Branch: master
Commit: b1e8c2f007e533c7a01c3ced2a34620f4737ca18
URL:
https://github.com/kamailio/kamailio/commit/b1e8c2f007e533c7a01c3ced2a34620f4737ca18
Author: Federico Cabiddu
Committer: grumvalski
Date:
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
> 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
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
```
#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
if version: kamailio 4.4.4 (x86_64/linux) 852c47
10.1.244.235:5060176.99.138.244:5060
──┬─ ──┬─
│INVITE (SDP) │
│ ──> │
│ 401 Unauthorized │
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
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 --
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 ,
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
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")
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:
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
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
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
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
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
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:
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:
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:
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:
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
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
@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
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
Module: kamailio
Branch: 4.4
Commit: 973e8ef6e2f0323168f42ff9f77a86862604b51d
URL:
https://github.com/kamailio/kamailio/commit/973e8ef6e2f0323168f42ff9f77a86862604b51d
Author: Giacomo Vacca
Committer: Giacomo Vacca
Date:
28 matches
Mail list logo