Hi,
On Wed, Jan 25, 2017 at 9:26 AM, Daniel-Constantin Mierla wrote:
> To some extent you may be able to do it in configuration file by replacing
> the acc default behaviour with sqlops. The records are written by mysql
> when 200ok is received (which can be caught via an onreply_route) or a
> f
Mierla
wrote:
> Hello,
>
> there is a mode when the matching is done only on call-id. Have you
> checked if they use different call-id?
>
> Anyhow, knowing the matching mode helps looking into the code in the
> right direction.
>
> Cheers,
> Daniel
>
> On 07/10/16
Hi Daniel,
thanks for the reply. Since we didn't configure the matching mode, it is 0
I guess. I actually didn't look into the usrlc module settings. But from
the registrations, the Contacts all have a different IP address in it, so
they shouldn't replace each other, right?
Best Regards,
Sebastia
Hi,
we are running a Registrar server with 4.4.3, the registrar module is
configured with the following parameters:
modparam("registrar", "max_contacts", 50)
modparam("registrar", "use_path", 1)
modparam("registrar", "path_mode", 0)
modparam("registrar", "path_use_received", 1)
modparam("registra
Hi,
Kamailio release 4.4.3 was tagged as a "bug fix release", no config changes
should be needed.
However, we had to change two things in our config file to get 4.4.3
running. I thought, I might share those on the list.
1) Defines must not have '-' in the names.
In 4.4.2 we had a Define like th
Hello,
On Tue, Jul 12, 2016 at 12:55 PM, Daniel-Constantin Mierla
wrote:
> if you set t_on_failure() before t_suspend(), then you should get
> failure_route executed when the transaction timed out in suspended state.
That's exactly how it works. We set up something like this last week.
route{
Hi,
we are suspending a transaction at one place in our route and resume
it later. I want to log the time difference between suspending and
resuming. I thought I could do it with saving $TV(Sn), but apparently
I can't. Kamailio says, it can't convert the saved value into integer.
This true, of cou
Hi,
is there a reason to not allow it as a simple operation on a separate
line without a left and right side? After all, it's just an
incrementation of a value, so why do I have to assign it to a variable
(which I don't need at this point) or use it somewhere else? I now
included it into an xlog l
Hi,
I'm trying to use this line in one route:
$shtinc(pushedUsers=>$avp(s:authuser));
However, when checking the syntax of this file, Kamailio says:
0(609) : [cfg.y:3365]: yyerror_at(): parse error in config
file /etc/kamailio/kamailio_sip_proxy.cfg, line 3304, column 2-39:
read only
Just to not leave the problem unresolved on the list, we finally found
out the reason for it.
We did an strace on one of the UDP listeners, and there we could see
that Kamailio was sending out log messages, but on the wrong file
descriptor. Actually, it was sending the log lines to one of our RTP
Hi,
on one of our systems we are checking a few times whether a
transaction already exists. We noticed that route execution stops if
the transaction is found. And after looking into the code, we found
that it seems to be intended like this.
From tm.c:
int t_check_trans(struct sip_msg* msg
After examining this issue a bit more, I'm even more confused.
Findings:
* When changing the memory manager to qm, Kamailio starts. Tried 3
times with fm, 3 times with qm, had three failures and three
successes.
* When running with fm memory manager, I can get it running by adding
these lines ba
Hi,
it is definitely no memory or open files issue. I stopped all
processes and tried to start one of the faulty instances by itself,
without luck.
Actually, there are core files. I don't know whether they say
something interesting, but I just saw that each start attempt produced
a core file.
Th
Hi,
we have a machine running 16 Kamailio instances, and while upgrading
to 4.4.1 (from 4.3.5), 8 of them wouldn't start. When downgrading to
4.3.5, they all start again.
All of them have pretty identical configuration files, except IPs,
ports and some code enabled or disabled via defines. After
Hi,
On Tue, May 24, 2016 at 11:25 PM, Daniel-Constantin Mierla
wrote:
> there were some changes in the logging system to allow custom "transport"
> for syslog messages -- like those implemented by the new log_* modules.
>
> But they should not affect the old (and still default) mode. I just looke
On Tue, May 24, 2016 at 4:31 PM, Sebastian Damm wrote:
> Hi,
>
> I upgraded one of our systems today to 4.4.1. And when checking
> whether everything is okay, I noticed, that only the first UDP
> listener (from kamcmd core.ps) is actually sending lines to the log.
> The only ot
Hi,
I upgraded one of our systems today to 4.4.1. And when checking
whether everything is okay, I noticed, that only the first UDP
listener (from kamcmd core.ps) is actually sending lines to the log.
The only other logs I see are from usrloc timer worker.
kamcmd> core.ps
10737
main process - atte
Hi,
just to resolve this thread, we found the reason for the problem. It
occurs, when we try sending out packets to a customer, which look
identical to netfilter, at roughly the same time. Those could be for
example forked calls to two extensions registered on the same device
(a FRITZ Box for exam
tantin Mierla <
mico...@gmail.com> wrote:
> Hello,
>
> run with -E -ddd command line parameters, some of the messages are in
> stderror.
>
> The error is somewhere else, because the the one related to tls is during
> shutdown process, therefore something else was detected b
ons so
> kamailio can create fifo file/etc.?
>
> Cheers,
> Daniel
>
>
> On 13/11/15 18:07, Sebastian Damm wrote:
>
> Hi Daniel,
>
> I just moved the TLS config lines up top even before sl and tm module.
> Also moved the modparam stuff up there. When starting, Ka
Hi,
Kamailio tells you, what's wrong.
On Sat, Nov 14, 2015 at 1:32 AM, David Villasmil Govea <
david.villas...@gmail.com> wrote:
> 0(5069) DEBUG: [sr_module.c:695]: find_mod_export_record():
> find_export_record: not found
> 0(5069) ERROR: mohqueue [mohq.c:390]: mod_init(): Unable to load
>
On Fri, Nov 13, 2015 at 3:43 PM, Alexandru Covalschi <568...@gmail.com>
wrote:
> What if I don't need a plaintext password on Kamailio? I mean, I don't
> want to user pv_www_authenticate or other auth functions again - I need to
> fully control AUTH on API. Is it ok to just send 200 OK to client i
tialized before, actually tls needs to be initialized
> and it does some of its init stuff when it is loaded (unlike the common to
> do init stuff in mod init).
>
> Cheers,
> Daniel
>
>
> On 13/11/15 14:16, Sebastian Damm wrote:
>
> Hi Daniel,
>
> yes, we see thi
MD5 on its side and compares with encr.passwd
>> 4. Sends OK if it's ok, huh
>> 5. I receive OK from API and send simple 200 OK to user
>>
>> Do you see any logical mistakes here? Do I need some speacial 200 OK to
>> approve registration, or simple send_reply("
Hello,
if your script can return the password for the user to Kamailio, you could
use the pv_*_authenticate functions. You can pass the password to check
against to these functions in a pseudo variable.
http://www.kamailio.net/docs/modules/4.3.x/modules/auth.html#auth.f.pv_www_authenticate
Best
[sr_module.c:959]: init_mod(): tls
>
> Cheers,
> Daniel
>
>
> On 13/11/15 12:17, Sebastian Damm wrote:
>
> Hello,
>
> we just updated one kamailio server from 4.1.5 to 4.3.3, and although the
> config file is correct and kamailio starts up, it doesn't initialize TLS
Hello,
we just updated one kamailio server from 4.1.5 to 4.3.3, and although the
config file is correct and kamailio starts up, it doesn't initialize TLS
and says " tls support enabled, but no tls engine available (forgot to
load the tls module?)"
In the log I see:
Old shutdown (last lines):
No
Hi,
when inspecting dmq a bit further, I found that in fact there is an
autodiscovery built in. When I told registrar 1 and registrar 2 to send to
receiver, and told receiver to only send to itself, everything worked.
Until the receiver went offline. Then it got disabled by the registrars and
no p
0, 2015 at 5:32 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> iirc, if one node doesn't handle a SIP register itself, should not publish
> to other nodes anything. Is this what you are looking for -- one node not
> to send to the others?
>
> Cheers,
> Daniel
>
&
Hi,
I evaluated the dmq_usrloc module, and it works pretty good if there are
two identical machines which replicate their location with each other. But
what I actually want to do is to send registrations to an extra machine
which is just there for writing the location into a central DB (in one
tab
On Wed, Sep 16, 2015 at 10:44 AM, Daniel Tryba wrote:
> You should look at the OS level, the error is from the kernel.
>
I know, but dmesg, syslog or kernel log don't say anything.
> Are you runing out of sockets/files? It the connection tracker full?
>
The connection tracking table is monito
On Wed, Sep 16, 2015 at 10:21 AM, Sven Neuhaus wrote:
> Could it be that you are trying to send from an ip address that is down
> at the time?
>
Interesting thought, but all interfaces on the machine are up at this time.
And we are not manipulating the sending socket, so the address where the
pa
Hi,
we have a load balancer which is handling a lot of SIP traffic all day.
There's always 20-40 Mbit SIP traffic going through. From time to time we
see in our logs messages like these:
Sep 16 09:46:28 ecker /usr/sbin/kamailio[25505]: ERROR:
[udp_server.c:591]: udp_send(): ERROR: udp_send:
send
Hi,
you need to change the ACK the same way you did change your BYE Request.
The 400 Bad Request URI response seems to be geneerated by your Kamailio.
But I can't find a matching BYE request with CSeq 2, so I don't know what
Kamailio is complaining about.
The BYE with CSeq 3 is not directed to t
Hello,
you are probably just sending the BYE to the wrong contact. The 200 OK
didn't come from your Kamailio but from the server where the request was
dispatched to. So you have to use the URI from Contact header as your new
Request URI. (This is true already for the ACK after the 200 OK was
recei
Hi Daniel,
On Fri, Jun 19, 2015 at 12:02 PM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> there was a bug returning 0 in case of a no match. I just pushed a fix
> in master, going to backport it.
>
the patch is working, thanks.
Best Regards,
Sebastian
_
Hi,
we have some cases, where we get multiple PCMA lines with different numbers
from a peer. One of our backend systems doesn't handle that correctly. So
what I want to do is detect whether there is a PCMA line with a
non-standard number in the SDP.
This is how an SDP looks like:
v=0
o=hiQ9200 29
Hi,
I'm looking for an option to mark CANCELs which are generated locally by
Kamailio after receiving a 200 OK for another fork of the same call.
In the tm module documentation I found the option
local_cancel_reason
which enables this. This option is available (and turned on by default) in
newe
Hi Alex,
On Thu, May 14, 2015 at 5:47 AM, Alex Balashov
wrote:
> According to the rtpengine module documentation for rtpproxy_manage(),
> that's exactly what rtpproxy_manage() does:
>
>
>
> http://kamailio.org/docs/modules/4.2.x/modules/rtpengine.html#rtpengine.f.rtpengine_manage
>
> i.e.
>
> -
Hi,
I'm working on a setup, where I have to support late SDP. It is working
right now, but I have to use an explicit rtpproxy_offer() when processing
the reply to an INVITE without SDP.
Is there a way to have rtpproxy_manage() handle those calls automatically?
I was thinking of setting a flag in
On Fri, Feb 27, 2015 at 3:11 PM, Daniel-Constantin Mierla wrote:
>
> I would use an extra branch flag here.
>
> Keepalives are sent based on nat_bflag and sipping_bflag. You can set both
> no matter it is actually a register from a natted phone or not.
>
That's the solution we tried to implement
On Fri, Feb 27, 2015 at 9:59 AM, Olle E. Johansson wrote:
> Actually, it's the latter. Our current high availability setup reilies on
> anycast. And with TCP, this would mean a huge change in our setup.
>
> That is in fact an interesting topic. Can you please elaborate a bit more
> on this as I
ycast. And with TCP, this would mean a huge change in our setup.
Best Regards,
Sebastian
--
Dipl.-Inf.
Sebastian Damm - VoIP-Engineer - d...@sipgate.de
Telefon: +49 (0)211-63 55 55-52
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Ges
Hi,
On Fri, Feb 27, 2015 at 9:07 AM, Juha Heinanen wrote:
> Sebastian Damm writes:
>
> > Does anyone have a hint, how to keep the IPv6 registrations alive? Thanks
> > in advance.
>
> use tcp.
>
Okay, should have added: UDP, pleas
Hi,
while testing IPv6 with customers, we fell over quite a few cases, where
customers aren't reachable on inbound calls most of the time. And digging
into this, we found the home router firewall as the cause for those
problems.
Normally, you would think, all the NAT problems cease when switching
Hi,
On Mon, Feb 23, 2015 at 11:34 PM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> Interesting to learn that mysql views are not using same type as the
> source column...
>
> I guess we should handle this case internally, doing views is quite
> common out there.
>
Interesting to read t
Hi,
since we integrated IPv6 into our existing routing logic, in some cases
"fix_nated_sdp" gets called for IPv6 calls, too. (Actually, this just
happens because of the mistakenly detected NAT.) But that ends up with a an
error in the log.
ERROR: nathelper [nathelper.c:1685]: replace_sdp_ip(): no
Hi Daniel,
On Fri, Jan 23, 2015 at 12:55 PM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> can you split your checks from nat_uac_test("23") to individual checks
> (like nat_uac_test("1"), nat_uac_test("2"), ...) and see which one fails?
>
Yes. It's the Via check (2). And I don't see w
Hi,
it looks to me that Kamailio detects NAT without NAT being there, when used
in IPv6 scenarios.
I have a register, which comes in like this:
U 2015/01/23 11:42:31.013284 2a01:1234:123:1234::2:16732 ->
2001:9876:98:9876::aa01:5060
REGISTER sip:domain SIP/2.0
Via: SIP/2.0/UDP [2a01:1234:123:123
Hi Daniel, Hi Klaus,
On Thu, Jan 22, 2015 at 10:48 PM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> 1) I guess the initial author know there is no nat in ipv6, so he didn't
> bother with. I just pushed a patch for it in master (814c08f3), if
> tested and reported to work ok, it can be b
Hi,
I'm trying to set up a Kamailio (4.1.3) server which converts between IPv6
and IPv4. Everything looks pretty good. Now I have a test client which
sends packets via IPv6, but in contact header, SDP etc. there are still
IPv4 addresses. (This comes from some converting from v4 to v6 earlier.)
Thu
; And because was asked, I added it to the blogs list as well:
> -
> http://by-miconda.blogspot.de/2014/10/kamailio-42-tips-8-asynchronous.html
>
> Cheers,
> Daniel
>
>
> On 21/10/14 11:06, Sebastian Damm wrote:
>
> Hi,
>
> I read the article about asynchronous
Hi,
I read the article about asynchronous sqlops:
http://by-miconda.blogspot.de/2014/10/kamailio-42-tips-4-asynchronous-sql.html
I was wondering whether there are any plans of bringing that feature to the
acc module, too. We have seen it in the past that a blocking database
server brought our pro
On Wed, Sep 24, 2014 at 3:26 PM, Juha Heinanen wrote:
> Sebastian Damm writes:
> > fix_nated_sdp("1");
> > rtpproxy_offer();
> i would make only one of the above calls depending on if the destination
> supports direction:active or not.
>
But what if I don
Hi,
I switched from rtpproxy module to the rtpproxy-ng module lately, and
noticed a strange behavior. In my branch route to the device, I have two
statements:
fix_nated_sdp("1");
rtpproxy_offer();
The first command appends a line with "direction:active" to the SDP. The
second one puts the RTP pr
nd pass the flag
> to trust the ip in sdp -- not sure it is going to work, by worth giving a
> try.
>
> Perhaps a flag to overwrite the source IP would be good.
>
> Cheers,
> Daniel
>
>
> On 29/08/14 11:44, Sebastian Damm wrote:
>
> Hi,
>
> I have the f
Hi,
I have the following setup:
UAC ---> LB ---> Proxy ---> GW
In NAT scenarios the loadbalancer detects it, but the proxy communicates
with the RTP proxy. I want to send the original caller IP as detected by
the loadbalancer (and transported to the proxy) to the RTP proxy.
As far as I understa
Hi,
On Wed, Jun 11, 2014 at 5:59 PM, Klaus Darilion <
klaus.mailingli...@pernau.at> wrote:
> It may work catching 200 OK in reply_route, but catching >=300 in
> failure route. The failure route is executed only once for all branches (it
> chooses the most important response code)
>
I just tried
Hi Daniel,
On Fri, Jun 6, 2014 at 10:21 AM, Daniel-Constantin Mierla wrote:
> try to save the number of branches in an avp before t_relay() in
> request_route.
>
I just tried that, but it looks strange.
This is how my route for t_relay looks like:
route[2] {
xlog("L_DBG", "Sending ou
Hi,
I have a scenario where I want to send a custom SIP package whenever a call
is successfully established or definitely missed. This works pretty well,
except when a user has multiple devices online.
I need to send exactly one packet. When initiating the call I set a flag,
in the reply route I
Hi Daniel,
On Thu, May 15, 2014 at 4:10 PM, Daniel-Constantin Mierla wrote:
>
> I used this, because I found it in an example written by you.
> http://by-miconda.blogspot.de/2009/12/best-of-new-in-kamailio-300-9.html
>
> Is there any other way I can initialize a hash with values from a
> datab
m kernel.
>
> Cheers,
> Daniel
>
>
> On 13/05/14 18:02, Sebastian Damm wrote:
>
> Hi Alex,
>
> yes, I've seen it. But I don't want to use it since I can't set it
> generally, because this Loadbalancer also serves TLS, and TLS uses a
> different port
te = 0,
> insert_delayed = 0,*
>
> * affected_rows = 0, start_transaction = 0, end_transaction = 0,
> abort_transaction = 0, query_lock = 0}*
>
> (gdb)
>
>
>
> Regards,
>
> Hugh
>
>
>
> *From:* sr-users-boun...@lists.sip-router.org [
> mailto:sr-users-
Hi Juha,
you're right, but if that was the problem, we should at least see the
second log line after the sql_query. $var(i) is used only after this.
Any other hints?
Best Regards,
Sebastian
On Thu, May 15, 2014 at 11:44 AM, Juha Heinanen wrote:
> Sebastian Damm writes:
>
>
Hi,
I'm trying to fill a hash table on startup in the htable:mod-init event
route. But it doesn't work. Kamailio doesn't start at all, but doesn't
print out an error in the log.
This is what the route looks like:
event_route[htable:mod-init] {
xlog("L_NOTICE", "Loading Carrier domains in
Hi Alex,
yes, I've seen it. But I don't want to use it since I can't set it
generally, because this Loadbalancer also serves TLS, and TLS uses a
different port.
Any comments about this difference between the sending socket vs. the
advertised socket when not configured specially?
Best Regards,
Se
Hi Alex,
On Tue, May 13, 2014 at 4:39 PM, Alex Balashov wrote:
> Have a look at replacing your record_route() call with
> record_route_preset():
>
>http://kamailio.org/docs/modules/4.1.x/modules/rr.html#idp114624
>
> As for the advertised address more generally, i.e. in Via, have a look at
>
Hi,
we have a setup, where we have a TCP loadbalancer, which converts the
requests from attached devices using TCP into UDP for the rest of our
setup. This loadbalancer has a service IP, and additionally the host IP, it
listens to different addresses.
Example:
Host IP is: 1.1.1.1
Service IP is: 2
et destroyed) in our scenario. Up to how many
pipes is Kamailio able to handle?
Best Regards and many thanks,
Sebastian
On Wed, Apr 30, 2014 at 4:56 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
>
> On 30/04/14 15:43, Sebastian Damm wrote:
>
> Hi,
>
> actually, I only nee
period you want to count
> - for each request you add an item with some random key and value being
> the user
> - use $sthcv(...) to count the number of items that have the value of the
> user
>
> Cheers,
> Daniel
>
>
> On 29/04/14 13:41, Sebastian Damm wrote:
>
> Hi,
Hi,
I'm looking for a solution to limit the number of call initiations or
OPTIONS packets or REGISTER packets per user. Neither pike, nor pipelimit
or ratelimit give me the possibility to do this. Limiting it based on the
source IP is not an option in our case.
Is there a module I can use? Or is
rtpproxy
to trust the ip in sdp and send the rtp to it as soon as received from the
other side. It is the same case as chaining many rtpproxies.
>
> Cheers,
> Daniel
>
>
> On 7/8/13 2:25 PM, Sebastian Damm wrote:
>
> Hi Daniel,
>
> sorry, I probably didn't expla
s
part of parameters to rtpproxy functions -- check the readme of the module.
>
> Cheers,
> Daniel
>
>
> On 7/8/13 1:52 PM, Sebastian Damm wrote:
>
> Hi,
>
> we are building a setup where we use an rtpproxy in all cases. This works
fine except for one scenario.
>
>
Hi,
we are building a setup where we use an rtpproxy in all cases. This works
fine except for one scenario.
Caller -> SIP(+rtpproxy) -> B2BUA -> SIP(+rtpproxy) -> Called
In this case, the B2BUA implements forwarding and sends the call back
through our setup. The B2BUA does not send out a 183 rep
Hi Henning,
On Wed, Aug 17, 2011 at 11:33 AM, Henning Westerholt <
henning.westerh...@1und1.de> wrote:
> On Wednesday 17 August 2011, Sebastian Damm wrote:
> > we have a script running on our Kamailio servers which dumps all online
> > users with kamctl ul show, parses it
0 command 'ul_dump' failed
500 command 'ul_dump' failed
500 command 'ul_dump' failed
500 command 'ul_dump' failed
500 command 'ul_dump' failed
Is there a hard limit for dumping users through the fifo? Why? Or should we
do it differently?
Best Reg
Hi Daniel,
thanks for looking into it again.
On Mon, Aug 1, 2011 at 2:51 PM, Daniel-Constantin Mierla
wrote:
> thanks for further investigation. Indeed, the avps were not backed
up/restored when sending self-generated request.
>
> I just committed a patch to tm module in master branch. If you ca
Hi Daniel, Hi Klaus,
after hours of searching I think we found the problem. This is what our
route that actually sends out the packets looks like:
route[2] {
xlog("... START OF ROUTE
2\n");
xlog("AVP LEG_
Hi,
On Fri, Jul 15, 2011 at 9:02 AM, Klaus Darilion
wrote:
> The named reply routes are only executed if t_on_reply() was called for
> the request. This reply route will be executed after the default
> reply-route. It is triggered by tm module.
I just inserted a new reply_route, which just print
Hi,
I'm still fighting problems in our Kamailio 1.5 to 3.1 migration. Right now
I'm stuck with a strange behavior of AVPs in my dialplan.
I set a lot of AVPs for accounting in the route directive, and I just
inserted an avp_print() statement right before t_relay() is called, all
values are set. T
Hi,
On Wed, May 4, 2011 at 8:33 PM, Daniel-Constantin Mierla
wrote:
> Wouldn't the same onreply_route be conserved for every branch? I can't see
>> how any of our implementations would actually work if that weren't the case.
>>
> Yes, the onreply_route will be conserved for the entire transactio
Hi,
I'm currently migrating a Kamailio 1.5 installation to Kamailio 3.1.3, and I
got all config changes merged, except this one:
branch_route[1] {
if ((isbflagset(4)) && (!isflagset(7))) {
fix_nated_sdp("1");
if (has_body()) {
forc
82 matches
Mail list logo