I'm using allow_address function of the permissions module and I'm seeing
strange behavior with network masks not divisible by 8. I have 172.16.0.0/12
in my address table and Kamailio is marking packets from 172.56.16.232 as
being part of that local subnet. If I change the subnet to 172.16.0.0/16, I
no longer have an issue.
I know there was a bug several years ago related to this (
http://git.kamailio.org/gitlist/index.php/sip-router/commit/0ead7ab31bf0df6…),
but that code is very different, so I'm wondering if a regression has crept
in? I'm using Kam 4.1.6.
Thanks,
Kyle
--
*Kyle Kurz*
Digium, Inc. · Senior Software Engineer
9115 Brown Deer Rd · San Diego, CA 92121 · US
direct +1 858.537.1166
Check us out at: http://digium.com · http://asterisk.org
<http://www.asterisk.org/>
Hi
I have a Kamailio in front of an Asterisk Cluster and moved to rtpengine to
give support for SRTP from rtpproxy
What i want is to have SRTP on Kamailio-rtpengine leg but RTP inside
network for Asterisk.
I have found that config
https://loadmultiplier.com/sites/default/files/kamailio/pcscf/kamailio.cfg
But could not be able to make it work? Anyone did this scenareo and could
give me some tips?
I have enabled sdops and be able to remove SRTP and crypto lines but not be
able to make it work as i mention
Thanks in advanced
Alberto
hello,
I posted a message in the kamailio forum but it wasn't in the good place,
so I rebroadcast at this e-mail as it was say.
Hello,
I have installed Kamailio 4.2 and I would like to use it as IMS server but
I don't have any ideas how to do this. I have a LTE core network which
includes HSS ans PCRF. I saw on this page (
http://www.kamailio.org/w/2013/05/ims-kamailio/ ) that is apparently easy,
just need to take the P-CSCF, S-CSCF and I-CSCF Kamailio and Diameter
config files in the examples folder and run kamailio but I don't know how
to use them and I didn't find any tutorials about it.
Could you help me please ?
Marc
link: https://github.com/kamailio/kamailio/issues/227#issuecomment-118073500
I tried the 2 tutorials that it has given but it's not really working
I am using ubuntu 15.04
Thanks
Marc
Hi All,
I would like to reduce the time it takes for kamailio to timeout an
initial message to a dispatcher destination so that it will select the
next destination in the set, before, hopefully, a restransmission. In
this case I am testing registration messages.
I came accross the t_set_fr() function in the TM module documentation
today and have been experimenting with it for some hours. I have an
issue where a 408 timout is sent back to the UAC before the last
destination in the dispatcher set is selected, I suspect I am hitting
the timeout somewhere, but I cannot see where, I presume the fr_timeout
is set every time I issue the t_set_fr() call and the associated t_relay.
I'm just wondering if I am doing this correctly, if one of the guru's
out there wouldnt mind casting an eyeball over this config and let me
know if I am on the right track, or if I am going about this in the
wrong way. Any suggestions are most welcome.
What appears to be happening is, I have 3 destinations in the dispatcher
set, it looks like the 1st 2 are tried, which correctly timeout and are
set inactive-probing, but on the last destination, which is working, I
appear to be getting a 408 timeout being sent back from kamailio.
Here is a snip of my configuration:
#!define NO_RESPONSE_TIMER 250
request_route {
t_on_failure("DISPATCHER_FAILURE");
t_set_fr(0, NO_RESPONSE_TIMER);
if(!ds_select_dst("1", "0")) {
xlog("L_ERR", "No dispatcher destinations available for $ru\n");
sl_send_reply("500", "No destination available");
exit;
}
route("RELAY")
}
route[RELAY] {
if (!t_relay()) {
sl_reply_error();
}
exit;
}
failure_route[DISPATCHER_FAILURE] {
if (t_is_canceled()) {
exit;
}
# select next destination only for local timeout
if (t_branch_timeout() && !t_branch_replied()) {
xlog("L_INFO", "route[DISPATCHER_FAILURE] : $rm : timeout and
no reply ($si:$sp->$Ri:$Rp->$du)\n");
xlog("L_INFO", "route[DISPATCHER_FAILURE] : $rm : setting $du
to probing state");
ds_mark_dst("ip");
if(ds_next_dst()) {
xlog("L_INFO", "route[DISPATCHER_FAILURE] : $rm : next
destination selected ($du)\n");
t_set_fr(0, NO_RESPONSE_TIMER);
t_relay();
exit;
} else {
xlog("L_INFO", "route[DISPATCHER_FAILURE] : $rm : No
destinations available for $rd");
send_reply("500", "No destination available");
exit;
}
}
}
Hi guys,
I would like to configure Cx interface, i.e. Diameter on SCTP between
I/S-CSCF and external HSS.
Can somebody Guide me how to achieve it or if somebody who already did
that, can he share his configurations files with me?
Thank you
Jan
using kamailio 4.3 on ubuntu server 14.04
i noticed tcp socket will be killed by kamailio after around 11 minutes
with or without tcp_keepalive=no. tcpdump shows that by default
(tcp_keepalive=yes) there is indeed keepalive packets going back and forth.
if set to no, there would be nothing in between.
if i have clients who have registration timeout of 1700, they would send
re-registration around half of that, or around 14 minutes after
registration. then the socket would be long dead and they would be
unreachable for 3 minutes.
based on procfs, ubuntu have settings for 9 probes with 75 seconds interval
so that means around 11 minutes of sending keepalives. so i tried changing
these values, on procfs. and tried playing around with these kamailio cfg
settings as well:
tcp_keepcnt
tcp_keepidle
tcp_keepintvl
whatever i do, the interval between keepalives are always 2 minutes and
after 4-5 probes, kamailio will send a FIN to the client. i checked the
source code tcp_main.c and it looks alright. could this be an ubuntu issue?
anybody seen this before?
I created a workaround by setting expire 900 for all registrations but this
is not ideal.
Kelvin Chua
Sorry, this is my problem:
have included the kamctlrc, kamailio.cfg, and modus.lst files if that
helps,
run create command, not sure of path for chrooted directory in kamctlrc
file so I have not been able to create my initial database. I know that is
holding up creation of MySQL database. can you assist, sent contribution to
this email address, could not find any other. thanks in advance, joe zimmer
+1 703-957-0186 USA
root@telephonepros:~# /usr/local/sbin/kamdbctl create
/usr/local/etc/kamailio//kamctlrc: line 13: =/path/to/chrooted/directory:
No such file or directory
MySQL password for root:
INFO: test server charset
/usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 105: mysql: command
not found
/usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 106: mysql: command
not found
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
/usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 112: [: =: unary
operator expected
INFO: creating database kamailio ...
/usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 71: mysql: command not
found
ERROR: Creating database kamailio failed!
root@telephonepros:~#
Hi experts,
from the current trace we can see that the I/S-CSCF always changes SOURCE
port when contacting our eternal HSS.
In order to make the Cx work HSS expects the Source port to be fixed on the
TCP layer and in our I/S-CSCF configuration we did not find any setting for
SOURCE Port.
Can somebody help us please ;-) ?
We appreciate your support,
Br,
Jan
Hi Sir,
This is a Chinese company from ABB group, We're looking for a VOIP system solution,
As our understanding, kamailio is the best choice,
Does any Chinese company take this business?
Thank you and Best Regards.
[cid:image001.png@01D02128.0536F2C0]
Zhuyue.zhang
ABB Genway Xiamen Electrical Equipment CO.,LTD
7F,NO.23 Wanghai Road,Software Park 2,Lvling Road Xiamen SEZ,Fujian,China
361008
Phone: (86)592-2954819 Mobile: (86)15260200863