If you run kamailio under Linux, you could change this kernel parameter:
# *echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind
*
http://linux-ip.net/html/adv-nonlocal-bind.html
If set, allows processes to bind() to non-local IP addresses. I tested in
Kamailio 3.x.x (I don´t remember wich version) and
Hi,
I want to do this:
2 hosts, with 2 running kamailios, every host has 1 IP address and hostA
has virtualIP assigned. kamailio should run on both hosts. I made a script
which can transfer virtual IP from hostA to hostB.
The problem is, I cannot tell kamailio to use virtualIP on hostB because,
Good day people,
I downloaded the source code for Kamailio on my CentOS 6 server and did the
following :
Modified the modules.ls to add db_mysql and app_python.
Did the make all
Did the make install
Copied the configuration and had the same result.
Seeing this, I installed myself a copy of ubun
Could you please compress and attach core file.
2013/6/13 phil lemelin
> Ok, I disabled WITH_MYSQL and left loadmodule "app_python.so" at the end
> of all the other loadmodule directive and here is the output:
>
> 0(3572) DEBUG: [sr_module.c:935]: DEBUG: init_mod: app_python
> 0(3572) DEBUG:
Hi,
what this function in fact does? It only compares host from dispatcher list
and $si ? or it compares with source port as well ?
I'm distributing traffic across multiple gateways with dispatcher module,
these gateways create another leg and send it back to proxy. I would like
to compare it wit
Ok, I disabled WITH_MYSQL and left loadmodule "app_python.so" at the end of
all the other loadmodule directive and here is the output:
0(3572) DEBUG: [sr_module.c:935]: DEBUG: init_mod: app_python
0(3572) DEBUG: [sr_module.c:935]: DEBUG: init_mod: mi_fifo
0(3572) DEBUG: mi_fifo [mi_fifo.c:124]
Yes, you're correct. Default values are:
modparam("app_python", "script_name", "/usr/local/etc/sip-router/handler.py"
modparam("app_python", "mod_init_function", "mod_init")
modparam("app_python", "child_init_method", "child_init")
But app_python is nothing related to db_mysql.
Anyways, see my te
Ok so this is my case:
I have rtimer which checks for shv(startload) variable. If it is set, it
will run LOAD_DATA route which deletes the hashtable a fills with fresh
data from database. These hashtables contains prefixes and some custom
data. So I'm afraid when doing an update, data can be incon
If i remove ' loadmodule "app_python.so" ', Kamailio starts just fine.
This only appears when the app_python module is loaded.
Is there anything else than mysql to enable when using the app_python ?
Here is the ouput when I only enable mysql. The module is loaded and there
are no issues...
*
On Jun 13, 2013, at 7:23 AM, phil lemelin wrote:
> Good morning,
>
> I'm trying to use the app_python module with Kamailio but i'm unable to even
> reach a point where it loads my python module.
It's actually failing even before that. It's unable to load the db_mysql module:
> 0(751) DEBUG
As describe in my original post:
The installed packages:
[root@host ~]# rpm -qa | grep kamai
kamailio-4.0.1-1.1.x86_64
kamailio-mysql-4.0.1-1.1.x86_
64
kamailio-python-4.0.1-1.1.x86_64
So, Kamailio 4.0.1-1.1
My understanding is that the default values are the following:
modparam("app_python", "
Hello,
What version of kamailio are you using ?
It is not enough just to add 'loadmodule "app_python.so"'. This module have
to be configured properly.
For example:
modparam("app_python", "script_name", "/path/to/python/file.py"
modparam("app_python", "mod_init_function", "mod_init")
modparam("app_
Good morning,
I'm trying to use the app_python module with Kamailio but i'm unable to
even reach a point where it loads my python module.
My host:
CentOS release 6.3 (Final)
2.6.32-042stab076.7
x86_64
The installed packages:
[root@host ~]# rpm -qa | grep kamai
kamailio-4.0.1-1.1.x86_64
kamaili
Hello,
On 6/13/13 10:27 AM, Jens Grönningberg wrote:
Hi! Has someone managed to get the Microsoft Lync client communicate
with the Lync Server through Kamailio? I tried but the Lync Server
behaved differently, refusing to send BENOTIFY requests. This caused
presence not to work properly, and I
Hello,
I think the only way to do this would be to use the dialog module.
However, as far as I know the appropriate dialog function (dlg_bye) needs
to be run from a route where the SIP message is within the dialog in
question.
In other words, there is no way you could run this from
event_route[w
Related to 'Doing automatic unregister when a WEBSOCKET connection is
closed' thread.
http://sip-router.1086192.n5.nabble.com/Doing-automatic-unregister-when-a-WEBSOCKET-connection-is-closed-td118083.html
Any hint to implement automatic call termination when websocket
connection is closed?
Some o
Hi! Has someone managed to get the Microsoft Lync client communicate with
the Lync Server through Kamailio? I tried but the Lync Server behaved
differently, refusing to send BENOTIFY requests. This caused presence not
to work properly, and IM not to work at all. I would be happy to hear if
someone
Hello,
On 6/12/13 8:25 AM, Mino Haluz wrote:
Hi,
I need to update some hash tables inside kamailio, but this update
should be triggered externally.
I know there is xmlrpc or xhttp, but I am just curious if there is
some easier way how to run this route. I have to run it instantly, so
setti
Hello,
On 6/11/13 2:49 PM, Rupayan Dutta wrote:
Hello,
I've been trying to make the Presence thing work with kamailio
4.0.1 and SipML5 browser client .I have loaded only the modules which
are already in the Kamailio.cfg file
loadmodule "presence.so"
loadmodule "presence_xml.so"
Is
Hello,
On 6/12/13 9:04 AM, Mino Haluz wrote:
Hi,
I need to lock the hashtable but this
lock("$sht(a)");
does not work. Any hints?
htable locks are inside the code and per slot, not per hash table, why
you would need to lock it?
For synchronous access in config file, you can use the locks f
Hello,
On 6/12/13 8:35 AM, Ravindra Gowda wrote:
Dear Daniel,
Thank you for your previous reply.
I am working on Kamailio (V 4.0) server to bring up VoIP features
(Voice call, SMS) on my Hand-held, Wi-Fi enabled devices (Which are
not GSM supportable).
1) I would like you to confirm that,
Hello,
On 6/12/13 3:50 PM, Fabian Borot wrote:
Hi, please help me out with these questions:
Is it possible to configure kamailio to use different certificates, one per peer? Do we
just add them to the same "calist.pem" file?
look at tls.cfg structure, you can define sections for various case
Hello,
rpm packages for v4.0.2 are no available on opensuse build service -
more details and download links at:
- http://www.kamailio.org/wiki/packages/rpms
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
K
23 matches
Mail list logo