> Just out of curiosity, but is kamailio notified (some event in the
> config) that a socket died when using tcp keepalives on the OS level?
If the tcpops module is loaded, the tcp:closed event route will be
called:
http://kamailio.org/docs/modules/devel/modules/tcpops.html#idp24759196
--
Camil
> Is it possible to check the socket towards the receiver user at the
> moment when the message arrives at Kamailio? I think if I would check
> that if the socket is not fine, I could send the message to the msilo
> directly and the client would not have wait for timeout to resend.
Hi,
one soluti
Le Thu, 12 May 2016 12:30:15 +0300,
Juha Heinanen a écrit :
> I did 'apt-get dist-upgrade'. The following packages were upgraded
> and the mem/tlsf_malloc.c warnings went away:
>
> apt apt-utils base-files gnupg gpgv libapt-inst1.5 libapt-pkg4.12
> libc-bin libc-dev-bin libc6 libc6-dev libcurl3
Le Thu, 12 May 2016 12:03:59 +0300,
Juha Heinanen a écrit :
> Perhaps it has to do with some other defines. Do you remember what
> to add to debian/rules in order to see all gcc parameters during
> compilation?
I add "Q=0" on the make command line to see the full compiler's command
line. For th
Hi,
> > All I see is that we are assigning a
> > void* (*)(tlsf_t, size_t)
> > to a
> > void* (*)(void* , unsigned long)
> > yet tlsf_t is defined as `typedef void* tlsf_t`, and size_t and
> > unsigned long have the same width on this architecture...
>
> Is that true also when DBG_TLSF_MA
Le Tue, 5 Jan 2016 20:06:19 +0100,
Daniel-Constantin Mierla a écrit :
> anyone going to Fosdem?
Hi,
I'll be there too, up for any chat / dinner / drink event.
See you
--
Camille
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users maili
Le Fri, 20 Nov 2015 15:02:24 +0100,
Thibault Gueslin a écrit :
> Finally I have removed this line:
> modparam("usrloc", "close_expired_tcp", 1)
>
> It seems it was causing the memory leak.
Hi Thibault,
the latest commit on master and 4.3 branch should fix this memory leak.
Thanks for spotting
Le Tue, 24 Nov 2015 09:49:36 -0600,
Anthony Messina a écrit :
> When the close_expired_tcp modparam was disabled, Kamailio never
> displayed this warning and continued to process all TLS connections
> from 2015-11-19 through 2015-11-23, when I re-enabled the
> close_expired_tcp modparam for
Le Tue, 24 Nov 2015 09:49:36 -0600,
Anthony Messina a écrit :
> After having re-enabled the close_expired_tcp modparam, Kamailio
> made it about 12hours before giving the following warning and
> blocking new TLS connections again:
>
> ERROR: tls [tls_server.c:189]: tls_complete_init(): tls: ssl
Le Sun, 22 Nov 2015 15:22:06 -0600,
Anthony Messina a écrit :
> I did tow things on 2015-11-19 which seem to have (at least
> temporarily) resolved this issue:
>
> 1. Upgraded to git master@b056aed
>
> 2. Commented out #modparam("usrloc", "close_expired_tcp", 1) based on
> http://lists.sip-rou
Le Fri, 20 Nov 2015 16:02:26 +0100,
Daniel-Constantin Mierla a écrit :
> > Finally I have removed this line:
> > modparam("usrloc", "close_expired_tcp", 1)
> >
> > It seems it was causing the memory leak.
>
> Thanks for troubleshooting and pointing to this, I will investigate
> that part of the
Le Wed, 9 Sep 2015 04:58:52 -0400,
Alex Balashov a écrit :
> > ok, note that there is a core parameter in kamailio.cfg to
> > enable/disable the feature when MEM_JOIN_FREE is defined.
>
> What exactly does this do? Does it attempt to avoid fragmentation by
> recycling free fragments into larger
Le Tue, 25 Aug 2015 12:23:21 +0200,
Daniel-Constantin Mierla a écrit :
> I was looking to get README displayed as markdown file by github.com
> on the website of kamailio project repository, without renaming it to
> README.md.
Maybe a symlink README.md -> README could do the trick?
--
Camille
Le Mon, 10 Aug 2015 16:25:36 +0300,
Juha Heinanen a écrit :
> i think it would be useful especially if sdpops functions could also
> be made operate on the pv. then there would no need to call
> msg_apply_changes(). the pv could be initialized from $rb and when
> all calls that manipulate the b
Le Mon, 10 Aug 2015 18:33:47 +0200,
Daniel Tryba a écrit :
> Only strange thing is that $var(sdp) is set to 0 on on the second
> passing of below during branch routing after handling a 302 redirect
I don't know the full context here, but since $var()s are
process-local, is the process reading th
Le Mon, 10 Aug 2015 17:12:22 +0200,
Daniel Tryba a écrit :
> But I'm still not getting how it works. The avp is always null
> (request/reply and onsend routes) after using rtpengine_manage. Does
> it really only work with rtpengine_(offer|answer)? I'm to lazy to
> replace _manage :)
Should be wo
Le Mon, 10 Aug 2015 16:47:55 +0200,
Camille Oudot a écrit :
> Le Mon, 10 Aug 2015 13:00:19 +0200,
> Daniel Tryba a écrit :
>
> > 315 being modparam("rtpengine", "write_sdp_avp", "$avp(sdp)")
> > version: kamailio 4.3.1 (x86_64/linux)
>
&
Le Mon, 10 Aug 2015 12:38:57 +0300,
Juha Heinanen a écrit :
> if the pvar is set, will rtpengine use its value also as input when
> rtpengine_offer/answer is called?
the current behaviour is to use this pvar for "output" only (the
current message buffer will still be used as an input), but we co
Le Mon, 10 Aug 2015 13:00:19 +0200,
Daniel Tryba a écrit :
> 315 being modparam("rtpengine", "write_sdp_avp", "$avp(sdp)")
> version: kamailio 4.3.1 (x86_64/linux)
you have to use the name "write_sdp_pv", not "..._avp"
--
Camille
___
SIP Express R
Le Mon, 10 Aug 2015 10:49:10 +0300,
Juha Heinanen a écrit :
> Daniel-Constantin Mierla writes:
>
> > You should use
> > msg_apply_changes() in between them in order to have previous
> > changes visible for further processing.
>
> Do you mean that msg_apply_changes() needs to be called between ea
Le Tue, 30 Jun 2015 15:49:26 +0300,
Yuriy Gorlichenko a écrit :
> 4) I tried to do it with tcpops
>
> Only for ws and tcp (WS is use TCP as i know)
> tcp_keepalive_enable("15", "5", "15");
>
> same result...
Hi Yuriy,
the tcp_keepalive_enable() function will send keepalive packets at TCP
leve
Le Mon, 6 Apr 2015 23:00:42 -0700,
MadhuManjushaAripirala a écrit :
> Can you please share me any document or url for group chat methods.
> I would want to know what all kinds of packets(method with headers)
> are exchanged for group chat.
Hi,
It is a GSMA standard, you should find all details
Le Wed, 25 Mar 2015 02:44:37 -0700,
MadhuManjushaAripirala a écrit :
> Can I be able to enhance Kamailio 4.2.x IMS/RCS based server to
> implement file transfer feature in it?
Hi,
keep in mind that kamailio only takes care of SIP signaling, and RCS
file transfer use MSRP to transfer data. Now t
Le Thu, 26 Mar 2015 02:06:42 -0700,
MadhuManjushaAripirala a écrit :
> Hello all,
> I have RCS based client.
> I would like to implement MUC(multi chat user) in existing Kamailio
> IMS Server.
> Please help me to input the procedure.Is it really possible to do
> it ?
There is currently no su
Hi,
> 1.What are the IMS and RCS based clients available to test on Kamailio
> IMS/RCS server?
you can use the following android application:
https://rcsjta.googlecode.com/git/sdk-joyn/index.html
> 2.On browsing for Kamailio Installation,I found below 3 different
> links,please suggest me which
> Are you saying that $avp(caller_conid) when set on the initial
> INVITE, for example, wouldn't be available in the onreply_route to
> the INVITE? If so, the examples in the TCP Ops README will need to
> reflect the need for using dialog vars instead.
Hi Anthony,
the AVP you set on a request wi
Le Mon, 2 Mar 2015 05:15:09 -0600,
Anthony Messina a écrit :
> Thanks Daniel. The TCP Ops module README will probably need some
> updates then. My example above is sourced from there.
Hi Anthony,
the AVP must be accessed in a TM callback. The example is not correct,
i'll fix it.
Thanks for yo
Le Sat, 21 Feb 2015 12:47:08 -0600,
Anthony Messina a écrit :
> Good day. Is anyone able to let me in on what this means "WARNING:
> [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer
> added"? I just started seeing this after pulling down 5c1a9df from
> git and it seems like something
Le Sat, 21 Feb 2015 18:09:19 -0600,
Anthony Messina a écrit :
> > Good day. Is anyone able to let me in on what this means "WARNING:
> > [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer
> > added"? I just started seeing this after pulling down 5c1a9df from
> > git and it seems like s
Hi,
> a) Can kamailio be used as sip-proxy while using WebRTC based UA
> calling to plain UAC/WebRTC based UAC ?
Yes, kamailio can do SIP over websocket, so all you need is a
javascript SIP stack (e.g. JsSIP, jain-sip JS, ...) on your WebRTC
enabled client.
> b) What to use for media proxying (t
Le Fri, 24 Oct 2014 10:51:57 +0200,
Marko Seidenglanz a écrit :
> I have a xlog call as the first statement in kamailio routing script.
> I can see the request, which get's handled correctly but the response
> does not appear in kamailio log, though it arrives at the machine.
Hi Marko,
the SIP
Le Wed, 22 Oct 2014 19:21:54 +0200,
Daniel-Constantin Mierla a écrit :
> Maybe you can do save() when there is a register with credentials and
> unregister if there is a failure for relaying that registration (e.g.,
> it was failure to authenticate in the next server).
Ok, this is so simple and
Le Wed, 22 Oct 2014 09:02:01 -0500,
Carlos Ruiz Díaz a écrit :
> You wouldn't be able to use the unregister function of the registrar
> module, because a faked SIP message is used to trigger the event, but
> you can always write a custom SQL to delete the record of the
> location table using the
Le Wed, 22 Oct 2014 16:12:12 +0200,
Daniel-Constantin Mierla a écrit :
> it should work -- quickly looked to the code and couldn't spot a
> problem. Just be aware that is working only when usrloc keeps the
> records in memory (not designed for db only mode).
Ok, i'm using in memory storage, so i
Hi,
I'm looking for a mechanism to unregister clients when the corresponding
TCP connection is closed, but had no success so far.
I've tried the handle_lost_tcp parameter of usrloc, but it didn't work:
the user was not unregistered, whereas the connection was seen as
closed by kamailio. Is it sti
Le Tue, 9 Sep 2014 12:40:15 +,
Laurent Schweizer a écrit :
> I have found on internet many doc regarding TCP and max connection
> issue and I have already done change in sysctl (see below) to
> increase the number of tcp connection but seems still not ok.
>
> Any idea ?
Is your machine using
Le Tue, 18 Mar 2014 11:48:30 +0100,
Cock Ootec a écrit :
> the errors in attached error.log appear.
Hi,
these are not real errors, it's the debugger module that shows step by
step script instructions being executed. By default, the log level of
this module is set to L_ERR. You can tweak it with
Le Wed, 6 Nov 2013 12:48:47 +0100,
Daniel-Constantin Mierla a écrit :
> What defines you set for each of the cases? I see there is an else
> left open inside the #!ifdef, which ends up in getting an append_hf()
> if the define id is set.
Hello Daniel,
thanks, you figured it right: the WITH_NAT
Le Tue, 5 Nov 2013 14:53:34 +0100,
Daniel-Constantin Mierla a écrit :
> Even if the header is not present, insert/append_hf() should not fail
Ok I assumed wrong. The issue looks trickier: I've made tests that go
OK or KO depending on a harmless looking cfg change. In the KO
situation, a Path hea
Hi,
I'm using remove_hf() and append_hf() to manipulate the sip headers
on my application. Apparently, calling insert_hf("foo") after
remove_hf("bar") if bar is the last header (not including
Content-Length) is a bad idea, foo doesn't get inserted (I understand
that the append_hf() command tries t
Hi Carsten,
Thanks for the response,
> i wrote the patch quite long ago (2years+?). Back then, i posted the
> patch both on the rtpproxy-devel list and i even asked, if there was a
> tracker for patches; but i never ever received ANY reply... :-(
Ok, I've successfully applied it on an older vers
Hi All,
do someone know how to apply the rtpproxy patch
(modules/rtpproxy/test/rtpproxy.patch) on the rtpproxy server source
code? The notifications on media inactivity is done through
kamailio's XMLRPC interface, and this patch is needed by the rtpproxy
server to do so.
I fetched the code from
Le Fri, 14 Jun 2013 17:06:14 +0530,
Shankar a écrit :
> I am new to Kamailio. I need a sample S-CSCF config file to test and
> understand. Please help.
Hi Sankar,
you will find samples for P, I and S-CSCF in the kamailio repository in
the 'examples' dir:
http://git.sip-router.org/cgi-bin/gitwe
43 matches
Mail list logo