I just installed kamailio 4.3.0 with apt-get. But it won't start.
mysql and /etc/kamailio/kamctlrc done. Minimum change to kamailio.cfg
Any idea?
syslog output:
/usr/sbin/kamailio[1291]: INFO: rr [../outbound/api.h:54]:
ob_load_api(): Failed to import bind_ob
/usr/sbin/kamailio[1291]: INFO: rr [rr_mod.c:174]: mod_init():
outbound module not available
/usr/sbin/kamailio[1291]: INFO: usrloc [hslot.c:51]: ul_init_locks():
locks array size 1024
/usr/sbin/kamailio[1291]: ERROR: ctl [init_socks.c:115]:
init_unix_sock(): ERROR: init_unix_sock: bind: No such file or
directory [2]
/usr/sbin/kamailio[1291]: ERROR: ctl [ctl.c:273]: mod_init(): ERROR:
ctl: mod_init: init ctrl. sockets failed
/usr/sbin/kamailio[1291]: ERROR: <core> [sr_module.c:945]:
init_mod(): Error while initializing module ctl
(/usr/lib/x86_64-linux-gnu/kamailio/modules/ctl.so)
kernel: [ 13.978764] init: kamailio main process (1291) terminated
with status 255
Hello,
I want to define a counter that increase in every invite.
I tried the below :
if (is_method("INVITE"))
{
$var(u)=$var(u)+1;
xlog("L_INFO","Counter : $var(u) " );
}
But the counter is reset to 1 randomly (even before restarting kamailio
service)
How can have a proper counter that count invite messages.
Thanks
Ali
Hello,
I have configured kamailio 4.0.4 long back. Now, I wanted to enable the
usage of port 5061 with TLS. By doing so, the client(video camera) can
place outgoing calls fine. But while receiving an incoming call, the
message does not get sent out to the other client. Hence, the call fails. I
can place and receive calls on port 5060 successfully without any issues.
Can anyone please tell me why port 5061 is giving me a problem.
Also, as a test, I set up kamailio on another machine(version 4.1) and 5061
works fine in all directions. Its only on the other machine that I have
problems with.
Appreciate any help!
Thank you,
Ankhit
Hello,
I'm planning to interconnect kamailio with a SIP-I provider (an i have
no more information at this time from my telco).
I read the documentation about the SIP-I module, who need to be
completed to match our needs.
basically, we need to read the location parameter for incoming call, and
be able to set redirecting number for outgoing call
Does anybody use this module for SIP-I ?
Have you experiences of SIP-I trunking with telco ?
And another question: when you make an ISUP (SS7) interconnection with a
telco, you need to pass specific test to validate the correct
implementation of the SS7 protocol (and it's national variant, eg.
SPIROU in france).
Is it the same thing on an SIP-I interconnection ?
Any information about it will be appreciate,
Cheers,
Jérôme.
Hello,
Is there a way to ping a device using Kamailio.
In my scenario I need to access a Kamailio located in my DMZ over a
firewall that is only open in LAN > DMZ direction. It is close in the other
way round.
In my current configuration I keep the link open using Asterisk qualify
option in SIP. I would like to replace Astersik located in LAN with
Kamailio thus I need to keep the link open.
I know there is an option using dispatch but I would like to avoid using
this module in order to keep it simple.
Is there a "simple embedded function" in order to accomplish this.
thank you
Hi All,
I'm getting the warning in the subject after replacing a route() with a async_task_route(). In the called route() I'm
doing some db query and send notify messages using the uac module. The async_task_route() is called
once received a register message.
Any idea what's is going on?
Cheers,
Roberto Fichera.
I wish to know how I can have two kinds of users
1. some users with real time integration with asterisk
2. other users do not
How can I achieve in the same kamailio instance?
Hello,
So Im using dispatcher to poll SBC's behind my kamailio load balancer.
What I need to do is get a count of how many "active" SBC's there are in
the dispatcher module. ( how many SBC's are actively responding to their
options ping )
so that I can then use this info when I reply to an OPTIONS on the load
balancer.
effectively , if there are no SBC's active, the LB needs to not reply to
options.
I COULD use ds_select_dst or something , but is that going to be overkill
from a CPU perspective ?
( And I dont want ds_select_dst to do any modification to my otpions
packets )
just wandering what everyone thinks the best way to achieve this would be.
--
Sincerely
Jay
Hi all,
I need to install Kamailio, and Siremis as well, with Postgres backend. My current versions are the following:
- Kamailio 4.2.1
- Siremis 4.2.0
- PHP 5.3.10-1ubuntu3.18
- postgres 9.1.3
To do so, I installed libpq-dev and compiled Kamailio with db_postgres module. After that, I create the Kamailio database using
kamdbctl create
No problems so far....while I’m facing some problem when I tried to install Siremis with Postgres. To do so, I installed php5-pgsql before and then I did the steps described here:
http://kb.asipto.com/siremis:install42x:main#dokuwiki__top
After clicking on “Setup Now” and “Next” buttons, I’m facing with the following problem:
ERROR: SQLSTATE[08006] [7] FATAL: password authentication failed for user "www-data" FATAL: password authentication failed for user "www-data"
Though the username I specified into web page is not www-data, but siremis. As far as I know www-data is a Debian user name under which Apache/PHP is running.
Can anyone help me please?
Thanks in advance
Best Regards,
Tomas
Tomas Zanet
Software Design Department
tzanet(a)came.com
CAME S.p.A.
I am compiling the kamailio 4.3 in raspberry Pi 2. It compiled and worked.
However, kamcmd did not work as it looks for the file
/var/run/kamailio/kamailio.ctl which is not present.
Similar issue found for kamctl but I fixed it by change the /tmp directory
to /var/run/kamailio
Did I miss something?