Hi,
On Fri, Jul 28, 2017 at 1:25 PM, Ashutosh chaubey
wrote:
> Hi,
> i was able to start kamailio service without database configuration but
> after the database configuration its giving the following error : -
> [..]
> Jul 28 16:37:51 coditas-Vostro-3446
Hi,
On Thu, Aug 3, 2017 at 3:26 AM, Arslan Saeed wrote:
> We are seeing that Kamailio's nat_helper_module function of
> add_rcv_param(), inserts " (quote) mark to some of the SIP headers (as
> below in the contact header in sip 200 OK response)
>
> Contact:
>
Hi,
On Thu, Aug 3, 2017 at 3:45 PM, Yu Boot wrote:
> I use this in WITHINDLG to handle reINVITEs
>
> else if ( is_method("INVITE") ) {
> record_route();
>
> or T.38 fax behind NAT doesn't work at all.
Actually that shouldn't be the case. I know,
Hi,
On Wed, Aug 16, 2017 at 11:02 AM, Logeshwaran G wrote:
> Is it possible to use the LCR reload command with the xmlrpc module?
Of course. You can use xmlrpc or jsonrpc, whichever you prefer. You
need the xhttp module as a dependency though.
Best Regards,
Sebastian
Hi,
On Wed, Aug 16, 2017 at 10:32 AM, Abdoul Osséni wrote:
> Does this mean that uac must be compliance with RFC 5761 if I want multiplex
> and demultiplex RTP/RTCP between UAC and rtpengine?
I don't know whether I understand your question correctly, but the
options in
Unless you want to trigger that after receiving some kind of "SIP
control packet", you would rather add something like this in your
kamailio.cfg:
event_route[xhttp:request] {
if ($hu =~ "^/jsonrpc") {
xlog("L_NOTICE", "Got jsonrpc request, body '$rb'\n");
jsonrpc_dispatch();
} else {
Hi,
On Mon, Aug 14, 2017 at 9:50 PM, Yu Boot wrote:
> Problem was that SDPs in reinvite sequence have already "nortpproxy=yes"
> flag set (from initial INVITE transaction I think), and SDP rewriting just
> don't triggers when it should.
Oh, I've seen that before. User Agents
On Thu, Aug 17, 2017 at 9:13 AM, Logeshwaran G wrote:
> Also If I commented the dispatch_rpc();
> Kamailio is running but it dosent accepting the http request.
> Please Guide me.
Actually, it is all documented in the xmlrpc module. My example was
for using jsonrpc,
Hi,
On Wed, Jul 12, 2017 at 11:53 AM, Alex Balashov
wrote:
> All SIP messages passing through the proxy can be forwarded statelessly
> and based on properties of the SIP message alone.
There's one thing that could happen: Calls that get cancelled after a
restart,
Hi,
On Thu, Jul 6, 2017 at 12:26 PM, Daniel-Constantin Mierla
wrote:
> You can check a shared memory variable (like $sht(...) or $shv(...))
> that you can change via rpc, so you can re-fetch the database records
> even if you don't change the lua script.
I've implemented it
Hi,
On Tue, Jul 18, 2017 at 9:42 AM, Juha Heinanen wrote:
> Is the note about "serial forking" correct or should it be about
> "parallel forking" instead? In case of serial forking, it would not
> matter if the whole call is deleted, because a new offer would be issued
> for
Hi,
On Fri, Jul 28, 2017 at 8:25 AM, Ashutosh chaubey
wrote:
> Jul 28 11:37:22 coditas-Vostro-3446 kamailio[5293]: ERROR: loading config
> file(/usr/local/kamailio-4.4/etc/kamailio/kamailio.cfg): No such file or
> directory
That's the actual error. Looks to me as if
Hi,
I've seen this before, but with MySQL. Kamailio is pretty strict with
data types of database fields. IIRC I tried to use it with a view and
the view returned a string value where Kamailio expected an integer
and threw the same error. So maybe you might want to check the
reference structure of
Hi,
where do you get the IP address of the receiver from? You can get the
local interface address of Kamailio where the request was received
with $Ri, but I guess you want the IP address of the target host. If
you are dealing with locally registered users only, you can use the
request URI after
Hi,
On Fri, Jun 30, 2017 at 5:40 PM, Narayan P wrote:
> But when 183 session progress came ,kamailio is sending its ipv6 address to
> pjsip client inside sdp body.So that it is not accepting and 488 error
> message is giving.
>
>
> How to convert ipv6 to ipv4 inside
t a quick check: is route[li] supposed to be route[magic]? Otherwise
> it is missing from your example.
>
> Cheers,
> Daniel
>
> On 03.07.17 10:04, Sebastian Damm wrote:
>> Hi again,
>>
>> since there really isn't much to find about the lock() function, can
>> so
Hi Daniel,
thanks for the reply.
On Mon, Jul 3, 2017 at 11:57 AM, Daniel-Constantin Mierla
wrote:
> the last log message is outside of the lock()/unlock(), so it can
> printed whenever the OS decides to allocate CPU for it. You should move
> it inside the locked block, but
Okay, this is the order from my first mail:
(1) Jun 28 13:27:04 busch /usr/sbin/kamailio[18836]: INFO:
Hi,
On Mon, Jul 3, 2017 at 4:22 PM, Daniel-Constantin Mierla
wrote:
> Can you paste here the parameters for cfgutils module related to locks?
Wow, that's what I missed. I didn't set any parameter at all. I didn't
expect the locking to not work at all if I don't set it. I
On Mon, Jul 3, 2017 at 3:05 PM, Daniel-Constantin Mierla
wrote:
> Meanwhile, the one thing you cans till check is to be sure $ci is the
> same in both cases, print it with xlog, but within some chars (quotes,
> parenthesis) to be sure the is no white space around it.
In my
Hi,
On Wed, Jul 5, 2017 at 6:47 PM, Daniel-Constantin Mierla
wrote:
> the reload command marks the scripts specified by 'load' parameter to be
> reloaded next time they are going to be used.
That's what I saw in the debug logs. But what does that exactly mean?
I thought the
Hi,
for a project I need to make sure, I have a setup where I get
mirror-traffic into Kamailio which has to do something with it. To
work correctly, I need to make sure, the initial INVITE is processed
correctly before any reply to the same call. So I thought I use lock()
and unlock() for it.
Hi,
we have written some logic for a project in lua. There is a small
function that gets called from Kamailio, but the main logic is done in
a self-written module. That module does initialize some values from
database on the first request that comes in.
Now when reloading app_lua from kamcmd or
Hi,
I'm trying to use a htable array. For that, I have inserted some
values in the database (in pseudo CSV):
key_name; key_type; value_type; key_value
'1234567'; 1; 0; 'foo'
'1234567', 1, 0, 'bar'
'1234567', 1, 0, 'baz'
insert into htable (key_name , key_type , value_type , key_value )
values
Hi,
On Tue, Aug 8, 2017 at 12:24 PM, Sunil More wrote:
> I have the following SDP coming in from a carrier and would like to remove
> the following line. Cant figure how to go about it.
sdpops should do what you need:
Hi,
On Fri, Jul 28, 2017 at 6:03 PM, hdssdsdsdsfsdf hdssdsdsdsfsdf
wrote:
> if (avp_db_load("$to/username", "$avp(s:email)")) {
> xlog("bla02");
> }
$to is not a valid pseudo variable. You
Hi,
On Thu, Aug 3, 2017 at 12:48 PM, Yu Boot wrote:
> First one works OK, but if second route triggers, the following disaster
> occurs (tshark dump) https://pastebin.com/00Ayty36
it's not really a disaster. The Mediant2000 sends out a reINVITE after
the call was established.
Hi,
On Fri, Aug 4, 2017 at 1:37 PM, Yu Boot wrote:
> Problem was magically solved by replacing t_relay in CR route by route
> (RELAY) :)
Okay, the only thing route(RELAY) does more is set the reply route. So
maybe your replies were not correctly handled in first place. (And it
Hi,
On Sat, Aug 5, 2017 at 7:00 PM, Yu Boot wrote:
> Gotcha! I've added fix_nated_contact() to [NATDETECT] route and now all
> messages UNTIL reinvite occurs are with correct NATed IP in "Contact" field.
while fix_nated_contact() may work in your scenario, it is generally a
Hi,
we recently stumbled upon the following problem:
We had something like this in our route:
$var(ret) = allow_address("2");
if ($var(ret)) {
do_something;
}
Turns out, this always evaluates to true, no matter whether the IP
address really is in address group 2 or not. The values in
Hi,
On Wed, Aug 23, 2017 at 9:47 AM, Alex Balashov
wrote:
> Makes me think that the return value of functions cannot be captured by
> assigning an arbitrary variable in this manner:
Well, I printed out the content of the variable while debugging and it
carried 1 or -1
Hi,
I was wondering whether there is some kind of documentation of all
functions currently exported for KEMI by Kamailio modules. I know I
can find them somehow via grep, but I could not find a page in the
Kamailio wiki listing all of them. Is there any?
Best Regards,
Sebastian
I'm afraid I have no idea what you are doing. You already had the
requests coming to your Kamailio this morning when you tried using
dispatch_rpc() inside your xhttp event route. You posted an error log
line.
I don't know what the "http postman" is and what it does. All I know
is that my example
Hi,
On Tue, Jun 20, 2017 at 1:15 PM, Daniel-Constantin Mierla
wrote:
>> thanks for the reply. I just set up a test configuration for KEMI, and
>> it does work when loading an external lua script. However, it would be
>> nice if I could write my 5 lines of glue code (I have
Hi Daniel,
thanks for the reply. I just set up a test configuration for KEMI, and
it does work when loading an external lua script. However, it would be
nice if I could write my 5 lines of glue code (I have written a class
for all my functions) within my kamailio.cfg. Is this somehow
possible?
Hi,
I'm developing some routing logic with Kamailio 5.0.1 and app_lua.
I've integrated my lua script and now I'm trying to use sqlops within
the script. I want to use the reconnect stuff of sqlops instead of
implementing it by myself.
This is what the Kamailio config looks like:
[..]
loadmodule
Hi,
I think this has been answered before, but I don't know the answer. Is
there a way to find out, how many workers are busy right now processing
packets? For a new setup I don't know whether I need 16 or 96 UDP
listeners, but I'd like to scale it correctly.
The setup just inspects HEP messages
Hi,
since this is still unanswered:
On Wed, Sep 13, 2017 at 11:01 AM, eskornev wrote:
> Trying to set Kamailio as proxy in front of Asterisk.
>
> When natted user registers is remembered in Kamailio via save("location").
> Kamailio forwards Register to * with new contact
Hi Daniel,
thanks for the quick response. See my other mail with more details.
I don't use cfg variable from the lua script, I only access $shv(...)
and $vn(...) or $var(...) and $sht(...) from it. And of course $tU,
$hdr(...) and other builtin variables. Some of the variables I'm
accessing
quot;)
>
> The issue is known, there were other reporting it here on the mailing
> list. It's in my to-do before 5.1 to fix it in a way or another, by
> either setting a limit of defined variables and then throw error
> (easier), or track when a variable is used and start deleting the
>
Hello,
since Kamailio does not deal with voice streams, it depends on the
voice gateway or B2BUA or devices you plan to use. Kamailio handles
only signalling, and it can deal with TLS encrypted SIP.
BR
Sebastian
On Thu, Sep 21, 2017 at 11:30 AM, Vasan VS wrote:
> Hello all,
Hi,
did you see that there are debian folders coming with your kamailio
source code? I think all you have to do is symlink the correct folder
to the root project folder so it is accessible under
/path/to/kamailio-sources/debian and you should be ready to go. Then
your dpkg-buildpackage command
Hello,
On Tue, Sep 5, 2017 at 4:08 PM, Richard Fuchs wrote:
> That's not currently supported (neither as an offerer nor as an accepter).
> AFAIK the usual mantra is to offer SRTP first and then fallback to RTP when
> a "not supported" (415) is received.
I tried the solution
Hi,
indeed, when a function returns with 0, Kamailio immediately ends the
processing of the packet. So that's why the unlock statement is never
executed.
I am wondering, why you are using locks at this point. That way, only
one REGISTER can be processed at the same time, since they all share
the
Hi,
my guess would be that's only for accounting. If I remember correctly,
the acc module won't record this call if a transaction was never
created. So the transaction gets created before sending out the reply.
I could be wrong, though. :)
Best Regards,
Sebastian
On Sat, Sep 9, 2017 at 5:28
Hi,
On Mon, Sep 11, 2017 at 8:26 AM, Logeshwaran G wrote:
> Is there any way to use the Mapping technique in kamailio.
>
> For Example:
> ==
>
> Key = 91, Value = India
> Key = 92, Value = Srilanka
>
> How to store Key Value Pairs into kamailio and how to
Hi,
On Tue, Sep 5, 2017 at 8:37 AM, Tony - Telecomy wrote:
> I'm having an issue setting phone numbers values in htable using kamcmd when
> the phone number is above the integer range 2147483647.
>
> Initially I planned to set the values as strings but this is not working as
>
Hello,
http://www.kamailio.net/docs/modules/5.0.x/modules/auth.html
Sebastian
On Tue, Sep 26, 2017 at 9:28 AM, Logeshwaran G wrote:
> Hi,
>
> How to send the 407 proxy authentication for Invite message?
>
> Input Please
>
> Thanks & Kind Regards,
> Logeshwaran G
>
>
Hi,
On Thu, Aug 24, 2017 at 10:05 PM, Abdul Basit wrote:
> I am trying to capture and distinguish two types of cancels generated by
> kamailio.
> 1- Cancel when Invite timeout 408
You can catch this one in failure route. Whenever an INVITE times out
and you have set
Hi Daniel,
thanks für the explanation.
Best Regards,
Sebastian
On Wed, Aug 23, 2017 at 3:07 PM, Daniel-Constantin Mierla
<mico...@gmail.com> wrote:
> Hello,
>
>
> On 23.08.17 10:36, Alex Balashov wrote:
>> On Wed, Aug 23, 2017 at 10:34:03AM +0200, Sebastian Damm wrote
Hi,
On Fri, Aug 25, 2017 at 10:28 AM, Mikko Lehto wrote:
> Maybe t_is_canceled() works for your scenario:
Without having tested this, I would expect, that the transaction is
not cancelled but answered.
You might be able to catch it with t_on_branch_failure:
Hi,
I think you are looking for cfg_rpc:
http://www.kamailio.net/docs/modules/5.0.x/modules/cfg_rpc.html
HTH
Sebastian
On Thu, Aug 31, 2017 at 12:53 PM, Karsten Horsmann wrote:
> Hello,
>
>
> at this moment i try to figure out the best way to add an "switch" for
>
Hi,
On Fri, Sep 1, 2017 at 2:35 PM, Iskren Hadzhinedev
wrote:
> Hi everyone,
> I'm having a hard time transferring calls when the users are on different
> FreeSWITCH servers behind kamailio.
We had to solve that problem a while ago, too. Only with Asterisk
instead
Hi,
you can use a regex match for that as well.
if ($rs =~ "^[45].*") {
# do something
}
HTH
Sebastian
On Mon, Oct 23, 2017 at 11:34 AM, vi...@advaitamtech.com
wrote:
> Hi,
>
>
>
> Is there any way to catch all 4XX and 5XX SIP error codes rather then
> specifying
Hi,
we deploy our gateways through ansible, and while doing that we insert
a database entry for the gateway into the dispatcher table. After
that, we issue a dispatcher.reload on our Kamailio servers. You need
some delegate_to statements in your playbook, but this way we can add
gateways
Hi,
I think you ended up on the wrong mailing list. This list is for
Kamailio, not OpenSIPS. You might want to ask your question again
somewhere here:
https://www.opensips.org/Support/MailingLists
Regards,
Sebastian
On Tue, Nov 28, 2017 at 8:33 PM, SamyGo wrote:
> P.S:
>
Hi,
most user agents ignore the domain and port in the from header. Your
UAC must be special.
However, the uac module has some functions to help you. But don't
forget to restore it on the way back.
Regards,
Sebastian
On Tue, Dec 5, 2017 at 5:32 AM, Arun NV wrote:
> Hi,
Hi,
On Mon, Jan 8, 2018 at 2:39 PM, Jean Cérien wrote:
>
> Thanks for this answer. The voip provider is not really eager to alter its
> SBC as it considers that the contact field is not mandatory in the ACK. The
> RFC states (section 8.1.1.8)
>
The problem is not that
; Do you have other lock() / unlock() in the config?
>
> Cheers,
> Daniel
>
> On 12.01.18 08:49, Sebastian Damm wrote:
>
> Hi,
>
> this morning, two Kamailio servers suddenly stopped working after having
> worked without a problem for months. Both are running 5.0.2 on Debian
Hi,
this morning, two Kamailio servers suddenly stopped working after having
worked without a problem for months. Both are running 5.0.2 on Debian
Jessie. Those systems only analyze mirrored traffic and write some
information to a RabbitMQ.
I tried restarting, but after a few seconds they get
Hi Jean,
as pointed out earlier, the ACK is probably broken. Every packet after the
200 OK should have the contact of the 200 OK in the Request URI. Your
example packet carries probably the original request URI, which is most
certainly wrong, exept if you use some topology hiding.
This is
Hi Daniel,
On Mon, Aug 6, 2018 at 2:17 PM Daniel Tryba wrote:
> No answer to you question (which sounds like a legit problem), but why
> not do it with:
> kamcmd rtpengine.enable udp:x.y.z.a:port 0/1
> on the kamailio machines?
Of course, that's probably the better way. But as far as I know,
On Mon, Aug 6, 2018 at 6:56 PM Daniel Tryba wrote:
> BTW forgot to ask: are you REJECTing or DROPing packets?
> A reject should trigger a failover in the rtpengine_* calls immediately.
Of course, we block the traffic with a REJECT rule.
> A drop will result in a timeout mechanism triggering,
Hi,
we run multiple rtpengine servers to share the load. Whenever we need
to take an rtpengine server offline, we used to just block the control
port via iptables, then no new calls ended up on this instance of
rtpengine. This worked pretty well in Kamailio 4.4.5.
However, since Kamailio 5.0,
On Tue, Aug 7, 2018 at 3:04 PM Richard Fuchs wrote:
> On 2018-08-06 06:58, Sebastian Damm wrote:
> When you query the running config via kamcmd for the value of
> rtpengine_tout_ms, what does it say? (Wondering if the default value of
> 1000 properly gets established or if some
quot; callee="12012343...@ep.domain.com"
> max_duration="15" hangup="5"
> username="VP_ENV_USERNAME" password="VP_ENV_PASSWORD"
> realm="domain.com"
> />
>
>
>
>
> On Wed, Dec 18, 2019 at
hints or examples.
Regards,
Sebastian
--
Sebastian Damm
Voice Engineer
__
sipgate GmbH
Gladbacher Straße 74 | 40219 Düsseldorf
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https
h
impossible to be answered in certain scenarios.
Regards and thanks for all the answers so far.
Sebastian
--
Sebastian Damm
Voice Engineer
__
sipgate GmbH
Gladbacher Straße 74 | 40219 Düsseldorf
___
Kamailio (S
a stateless proxy.
> >
> > I am not sure I remember correctly, but in some discussions I think it
> > was suggested to just reuse the branch value of incoming top Via when
> > doing stateless forwarding.
> >
> > Cheers,
> > Daniel
> >
> > On 10
dvance
Sebastian
--
Sebastian Damm
Voice Engineer
__
sipgate GmbH
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
We use 5.2 on the affected systems.
On Mon, Feb 10, 2020 at 4:15 PM Serge S. Yuriev wrote:
>
> Hi
>
> I believe you are using 5.2 or 5.3 series? This tend to work properly on 5.1
> series
>
> 10.02.2020, 18:10, "Sebastian Damm" :
> > Hi,
> >
> >
It has to be different. May
> be it is better to point provider to this?
>
> On Mon, 10 Feb 2020, 14:26 Sebastian Damm, wrote:
>>
>> Hi,
>>
>> I stumbled upon an interop problem with a carrier. We have the
>> following scenario:
>>
>> Gateway --> Loadbalanc
use the "via-branch" parameter.
Now, when one branch answers the call, what happens to the other
branch? I there a way to delete the other branch? How and in which
route? Or does Kamailio do this automatically?
I'm happy for a hint.
Regards,
Sebastian
--
Sebastian Damm
Voic
Hi,
I have a peer that requests separate TCP connections for each registration to
their server. Those registrations run through the same Kamailio instance on my
side.
Now what I tried is to use tcpops and the tcp_set_otcpid function, supplying a
previously nonexistant TCP connection ID
I would probably load the xhttp module and then discard those messages there.
See the docs of xhttp, though, there's an option that has to be set to accept
requests without Content-Length header.
Regards,
Sebastian
- Ursprüngliche Mail -
Von: "Ben Kaufman"
An: "sr-users"
Gesendet:
ierla"
An: "sr-users" , "Sebastian Damm"
Gesendet: Freitag, 12. März 2021 09:27:03
Betreff: Re: [SR-Users] Open separate TCP streams to the same destination
Hello,
that is not possible at this moment, SIP does not associate the sessions
or the users with the transport lay
Hi,
I noticed a strange behavior on some of our proxy servers, all running Kamailio
5.3.8. After running for some time (weeks), our monitoring system sporadically
starts reporting errors. The check connects via tls and registers to an
Asterisk behind the proxy server. When this happens, the
Mail -
Von: "miconda"
An: "sr-users" , "Sebastian Damm"
Gesendet: Montag, 30. August 2021 13:28:04
Betreff: Re: [SR-Users] What does "tls.reload" actually do?
Hello,
does it happen only for connections done by the monitoring system? Or
also for the con
Hi,
I have the following weird problem. A Kamailio (5.4.x) with some asynchronous
permission logic suspends outgoing INVITEs and resumes them after the answer of
the permission system. Everything works as expected when the call is answered.
However, when the called party rejects the call (with
it could help. Without success. Still stuck at "Why is there
another branch after t_suspend and t_continue and how do I make it go away?
There's just an evapi call to cgrates in between.
Grateful for any ideas.
Thanks,
Sebastian
- Ursprüngliche Mail -
Von: "Sebastian Damm"
-
Von: "miconda"
An: "sr-users" , "Sebastian Damm"
Gesendet: Mittwoch, 24. November 2021 16:30:19
Betreff: Re: [SR-Users] t_suspend() / t_continue() create new branches
Hello,
a suspend of a request is practically a branch that is not sent out,
which can
core#set_reply_close ]
On Fri, Dec 10, 2021 at 8:49 PM Sebastian Damm < [ mailto:sd...@pascom.net |
sd...@pascom.net ] > wrote:
Hi,
for having a maintenance mode, I need to implement some sort of draining
functionality. All our clients register via TLS. So I thought, I just answer
the
Hi,
for having a maintenance mode, I need to implement some sort of draining
functionality. All our clients register via TLS. So I thought, I just answer
the next REGISTER of a client with a 503 and kill the tcp connection
afterwards, so they need to open up a new connection to the
Hi,
we have some Kamailio instances running (currently latest 5.4 release), and we
need to restart it from time to time. We have a grafana graph showing the pkg
memory usage of one random tcp listener, and it increases slowly over time.
Config is pure python KEMI.
A mem dump directly after
?
Regards
Sebastian
From: Henning Westerholt
Sent: Thursday, December 15, 2022 16:59
To: Kamailio (SER) - Users Mailing List
Cc: Sebastian Damm
Subject: RE: Dealing with failed SRV peers
Hello Sebastian,
actually, it’s the fault is by the provider
Hi,
we have some Kamailios working as outboundproxy. So they get requests from
internal systems and send them to different providers. From time to time, one
provider returns a server as primary resource which is currently unavailable.
I guess if the internal systems connected directly to the
Hello,
My plan is to reject new inbound requests if there is already a certain number
of open connections on one Kamailio server. I could answer with a 503 and
directly close the connection forcing the client to reconnect and the
loadbalancer to send traffic to a different node on the next
new requests,
and the existing connections will drain slowly.
From: David Villasmil
Sent: Tuesday, February 6, 2024 13:49
To: Sebastian Damm
Cc: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Get the amount of open TCP connection from routing logic
From: David Villasmil
Sent: Tuesday, February 6, 2024 13:11
To: Kamailio (SER) - Users Mailing List
Cc: Sebastian Damm
Subject: Re: [SR-Users] Get the amount of open TCP connection from routing logic
Why not just increase the max tcp connections? Also, once you hit it, Kamailio
will reset the syn and th
89 matches
Mail list logo