Porting the registrant module is not straight forward.
Best solution here - as Daniel pointed out - would be to enhance the
existing implementation.
-ovidiu
On Thu, Jul 3, 2014 at 6:32 AM, Daniel-Constantin Mierla
wrote:
> Hello,
>
> not having against adding alternatives to existing features/mo
On 03/07/14 16:42, Yuriy Gorlichenko wrote:
> thanks for fas reply. If I may user rtpengine as rtpproxy maybe you
> already use it or just know - does rtpengine provide ridge mode as
> rtpproxy between internal and external interfaces? At my instalne if I add
> rtpengine --ip=my.ext.net.addr/my.int
thanks for fas reply. If I may user rtpengine as rtpproxy maybe you already
use it or just know - does rtpengine provide ridge mode as rtpproxy between
internal and external interfaces? At my instalne if I add
rtpengine --ip=my.ext.net.addr/my.int.net.addr
It shows that ip if wrong, but I neet prox
Hello All,
Subj, need you help,
How to store this type of message to MSILO database?
Content-Type:
message/external-body;access-type=URL;URL="https://xxx.com//download/539c28884_3e071c9db68044f687bf.jpg";
I modified and recompiled msilo.c to resolve this error:
ERROR: msilo [msilo.c:626]:
Hello,
On 03/07/14 13:37, Olle E. Johansson wrote:
Hi!
Have you implemented a per-customer rate limit in Calls per second? If so - how?
I've played with ratelimit/pipelimit and it seems like I can define a database
with one pipe per customer - but have to restart Kamailio to add customers.
T
Ok. Thanks Alex.
On Thu, Jul 3, 2014 at 8:00 AM, Alex Balashov
wrote:
> On 07/03/2014 08:52 AM, Carlos Ruiz Díaz wrote:
>
>> Hi,
>>
>> do you know how the autoexpire is implemented in the htable module? If
>> it's a timer doing the polling and checking the expiration value, it may
>> not be ide
On 07/03/2014 08:52 AM, Carlos Ruiz Díaz wrote:
Hi,
do you know how the autoexpire is implemented in the htable module? If
it's a timer doing the polling and checking the expiration value, it may
not be ideal for your CPU do it that way. Several entries will surely
impact negatively on the perfo
Hi,
do you know how the autoexpire is implemented in the htable module? If it's
a timer doing the polling and checking the expiration value, it may not be
ideal for your CPU do it that way. Several entries will surely impact
negatively on the performance.
I'm planning to implement this for cnxcc
On 07/03/2014 08:31 AM, Olle E. Johansson wrote:
I really need per second, not average. I need to react FAST.
That was why I picked an interval of 3. It seemed the shortest
practicable interval in which to collect meaningful sampling. But if the
volume of calls is so large that 1-second coll
Yes if you set the key created to auto expire in a second
On Thu, Jul 3, 2014 at 12:31 PM, Olle E. Johansson wrote:
>
> On 03 Jul 2014, at 14:21, Alex Balashov wrote:
>
> > On 07/03/2014 08:18 AM, Abdelkader Allam wrote:
> >> Very true Alex, didnt knew about htables, just checking about it, ve
On 03 Jul 2014, at 14:21, Alex Balashov wrote:
> On 07/03/2014 08:18 AM, Abdelkader Allam wrote:
>> Very true Alex, didnt knew about htables, just checking about it, very
>> interesting :) The added value of Redis though is that other scripts
>> running outside of Kamailio can interact with it a
I think my head isn't fully woken up yet -- sorry about that.
Fred Posner
The Palner Group, Inc.
http://www.palner.com (web)
+1-503-914-0999 (direct)
+1-954-472-2896 (fax)
On 07/03/2014 07:48 AM, Olle E. Johansson wrote:
> I am looking for calls setups per second - not concurrent calls.
> Sorry f
On 07/03/2014 08:18 AM, Abdelkader Allam wrote:
Very true Alex, didnt knew about htables, just checking about it, very
interesting :) The added value of Redis though is that other scripts
running outside of Kamailio can interact with it and potentially
interact with kamailio, can an external scri
Very true Alex, didnt knew about htables, just checking about it, very
interesting :) The added value of Redis though is that other scripts
running outside of Kamailio can interact with it and potentially interact
with kamailio, can an external script have access to htables in memory db ?
On Thu,
On 07/03/2014 08:12 AM, Abdelkader Allam wrote:
Then to check the number of invite per seconds for CUSTOMER_A smoothed
over a window of 10 seconds, you count the keys in the DB that starts
with CUSTOMER_A ( KEYS CUSTOMER_A*) and divide it by 10.
Indeed. But one could also do this with a purely
Hello Olle,
If you are to reimplement this by scripting instead of developing a C
module, maybe you could use redis as a database, and for each invite of a
customer, create a unique key in the redis database like this:
CUSTOMER_A:CALLID
Then set this key to auto expire in let's 10 seconds for in
I do it using htable. I maintain a rolling 3-second sample of number of
calls in 'htable', the tail of which is auto-expired. The need to
implement CPS limits was the basis for the 'updateexpires' option I
added to the htable code in Dec 2011--I wanted updates not to cause
entries' expiration t
Hi,
Check out rtimer http://kamailio.org/docs/modules/4.1.x/modules/rtimer.html
/Morten
On Wed, Jul 2, 2014 at 6:59 PM, AliReza Khoshgoftar Monfared <
khoshgof...@gmail.com> wrote:
> Thanks very much.
>
> That is the correct answer.
> just for the record, one can loadmodule "exec" and then use
I am looking for calls setups per second - not concurrent calls.
Sorry for not being exact.
/O
On 03 Jul 2014, at 13:41, Fred Posner wrote:
> I've done this with dialog and a sql lookup/update.
>
> The sql call updates the table with how many calls are in total for the
> "client" and how many
I've done this with dialog and a sql lookup/update.
The sql call updates the table with how many calls are in total for the
"client" and how many international calls. There's a max calls and a max
international.
If current < max, the call can go through.
The db allows me to combine the lookup ov
Hi!
Have you implemented a per-customer rate limit in Calls per second? If so - how?
I've played with ratelimit/pipelimit and it seems like I can define a database
with one pipe per customer - but have to restart Kamailio to add customers.
There are warnings for low timer settings, like 1 secon
Hello,
local 408 doesn't go in onreply routes, but you can get to failure_route
and there use t_reply(...) to send out a different response code.
However, never tried replacing 408 with 200 because it a different
meaning and makes no much sense at least for INVITEs. But failure route
is used
Hello,
not having against adding alternatives to existing features/modules,
apparently here is just about implementing the reload capability. Most
of the features should be there, like loading from database (which is
done at startup) and destroying exiting structures in memory (which is
done
Hey Alex,
Many thanks for so fast answer. Could be I have missed the past interest
(hence re-posting).
Anyway, I wonder what would be the chances that we get Ovidiu's interest
so he can port registrant module to kamailio maybe? Unfortunately
without reloads it is hard to push remote registra
You can use rtpproxy-ng.so that is included (It does the conversion of SDP
packets) with rtpengine media relay from Sipwise , the rtpengine.so is
still a devel module.
Regards.
2014-07-03 10:38 GMT+02:00 Yuriy Gorlichenko :
> Hello. I install kamailio 4.1.3 and it works fine. But I neen proxy D
Hello. I install kamailio 4.1.3 and it works fine. But I neen proxy DTLS
SRTP to backend media servers through kamailio. rtpproxy no not work with
dtls srtp? so I installed rtpengine but can not find rtpengine.so file for
copiyng to kamailio modules directory.
Does anyone can install rtpengine as
Hello,
the received avp is set by fix_nated_registrar(), iirc.
set_contact_alias() doesn't do it.
If you want to get the source IP and port, use $si and $sp. Local IP and
port is $Ri and $Rp (iirc, you should check the cookbook). The protocol
type is $pr. With these variables you can constru
Hello,
if you relay the request with tm (e.g., via t_relay()) and set before
the flag for siptrace, the responses should be traced two times: as they
get in and are sent out.
Cheers,
Daniel
On 02/07/14 14:55, Jöran Vinzens wrote:
Hi Daniel,
we trace the responses, but we cannot see differe
Hello,
the net-snmp-agent-libs was present on the build system, otherwise the
rpm creation would have failed.
Are you using the rpms from opensuse build service?
Cheers,
Daniel
On 03/07/14 01:56, Allen Zhang wrote:
Hi,
I’m having trouble on installing kamailio-snmpstats module.
I’m using
Hello,
you have to replace [^0-9] with empty, using the global flag.
Cheers,
Daniel
On 02/07/14 23:11, Henry Fernandes wrote:
I'd like to use the dialplan module to remove all non-digits from a
string. For example, "1-306-555-1234" becomes "13065551234" and
"(306) 555-1234" becomes "30655512
30 matches
Mail list logo