Good evening all,
Can I ask what might be a basic question, but I would like to confirm
if the CallID field can be modified/mapped when branching a call ?
Thanks
Magnus
Hello,
Does anyone know of a method to check what TLS versions are available from
Kamailio for clients to use? For example, is TLS 1.0 available, TLS 1.1,
etc.
Thanks in advance,
--
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782
Hi
when I start kamailio in my dev system it fails to start and segfaults.
Version: 5.4.0
CFG Line: if (registered("kam_location",$tu)) {
Log:
Aug 14 10:20:29 pekedev2 kamailio: CRITICAL: <core> [core/cfg.y:3588]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 382,
column 34-36: function registered: parameter 2 is not constant#012
Aug 14
10:20:29 pekedev2 kernel: [1501045.504630] kamailio[21276]: segfault at
6e6f6974 ip 00005566607d8887 sp 00007ffd6761b240 error 4 in
kamailio[55666079d000+431000]
Aug 14 10:20:29 pekedev2 kernel: [1501045.504655]
Code: 89 bd 68 ff ff ff 64 48 8b 04 25 28 00 00 00 48 89 45 c8 31 c0 48 83 bd
68 ff ff ff 00 0f 84 f5 09 00 00 48 8b 85 68 ff ff ff <8b> 00 83 f8 01 0f 85 65
09 00 00 48 8b 85 68 ff ff ff 8b 40 0c 85
The coredump is not clear to me. I extracted using coredumpctl (fuck you
systemd) and running gdb. Is there a new method now that systemd has taken
control of my systems?
cheers,
Jon
--
PekePBX, the multitenant PBX solution
https://pekepbx.com
I implemented secfilter in a simple way, in first step routing put that
conditional for black list check that already works:
```
secf_check_ip();
if ($? == -2) {
xlog("L_ALERT", "$rm from $si is blacklisted");
drop();
}
```
BUT NOW i want to change to whitelick checks, so i reviewed the docs and
"2" is resulting for whitelist, so then i said "if not whitelisted so
block" using "!= 2" as on
https://www.kamailio.org/wiki/cookbooks/5.3.x/core#operators BUT SEEMS DOES
NOT WORK: that is the code:
```
secf_check_ip();
if ($? != 2) {
xlog("L_ALERT", "$rm from $si is not in whitelist, block");
drop();
}
```
when i tested all the calls passed not matter if are in the table or not
as whitelist!
I want able to call only if are present and whitelisted the ip address.. so
i also tested with:
```
secf_check_ip();
if ($? == 0) {
xlog("L_ALERT", "$rm from $si is not present, so block");
drop();
}
```
to check if the ip address are presented in the table but call also passed
and must not cos i not put never a entry in the table!
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
Hi, I'm connecting Teams with kamailio server. From Kamailio to teams I
have no problems, but from teams to Kamailio yes. Drop the call..
With ngrep I see that:
INVITE:
[image: imagen.png]
200 OK:
[image: imagen.png]
I never received ACK..
In my configuration:
Kamailio.cfg:
#!KAMAILIO
#!define WITH_TLS
event_route[tm:local-request] {
if(is_method("OPTIONS") && $ru =~ "pstnhub.microsoft.com") {
append_hf("Contact: <sip:FQND:5061;transport=tls>\r\n");
}
xlog("L_INFO", "Sent out tm request: $mb\n");
}
request_route{
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
xlog("L_INFO","$fU is trying to call to $rU con valores
$tu\n");
$ru = "sip:" + $rU + "@ip asterisk:port";
route(RELAY);
}
}
What I'm doing wrong?
I don't understand why not received ACK..
Could anyone help me?
Thanks
Hi,
I am trying to do the following and wanted to seek help on how this can be
done in Kamailio and if it feasible to do this. If not, whether there are
other ways to do this.
I would like to do the following ..
If there is an incoming call, kamailio should be able to send the incoming
calling number to an external application via Rest Interface, the external
application will return a response on what to do with this call, it can be
simple as sending a call to the called extension or a media server like
asterisk for further treatment.
I have a kamailio version 5.3.5 running on CentOS 7. I have a few end
points registered to kamailio and they are able to call each other
Any help would be appreciated.
Thank you.
Dinesh
Hi all,
I would just like to check in and find out if/when the Kamailio v5.4.0 rpm's will be available on the OpenSUSE build service.
Thanks to all involved for all the hard work in this new release!
Thanks
There are two major products that came out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson
00asgaroth00(a)gmail.com (https://link.getmailspring.com/link/146DE51A-E8C2-4126-B8D5-EA45E62CBA11@ge…)
Hello,
I am trying to generate sms status report using smsops module but without
success. I couldn't find any example on the net. Can somebody help me?
According to https://en.wikipedia.org/wiki/GSM_03.40 TP-MTI (tpdu(type) in
kamailio) should be "1 0" for status report. Delivery is "0 0" and submit
"0 1". According to the provided examples in smsops module:
tpdu(type) = 4 is delivery
tpdu(type) = 1 is submit
So what's the number for status? I could't find the mapping in the code.
Only this:
// Types of the PDU-Message
typedef enum _pdu_message_type {
DELIVER = 0x00,
SUBMIT = 0x01,
COMMAND = 0x02,
ANY = 0x03,
} pdu_message_type_t;
So any hint or example is appreciated.
Thanks,
Pavel Siderov
Hello
I wonder if there is some way to get the lastinsertid from an "INSERT
INTO" sql_query
--
-------------------- Med Liberalistiske Hilsner ----------------------
Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk