i noticed that kamailio 4.3 presence server takes several seconds to
generate notify when it receives subscribe request. for example:
Dec 27 15:42:01 lohi /usr/bin/sip-proxy[7363]: INFO: Routing SUBSCRIBE <sip:test@test.tutpro.com> to presence server at <sip:127.0.0.1:5080;transport=tcp>
Dec 27 15:42:01 lohi /usr/bin/pres-serv[7113]: INFO: Handled SUBSCRIBE <sip:test@test.tutpro.com>
Dec 27 15:42:05 lohi /usr/bin/pres-serv[7108]: INFO: Routing locally generated NOTIFY <sip:test@test.tutpro.com;gr=urn:uuid:47759291-c9db-4eb3-a540-5e68353414ee> to <sip:test@test.tutpro.com> from <sip:test@test.tutpro.com>
the host is not loaded at all. these relevant presence server params are
set:
modparam("presence", "subs_db_mode", 3)
modparam("presence", "db_table_lock_type", 0)
and db is on localhost.
any explanation why notify takes so long to generate?
-- juha
Hi All,
I have build Kamailio 4.0.1 from source in CentOS 5.8(i386
architecture).I followed all instructions from
http://www.kamailio.org/wiki/install/4.0.x/git.(Though Modules_k directory
is not generated).I then edit kamailio.config file for websocket support as
described in webocket.cfg file in exmples directory.But while starting
kamailio it gives following error
ERROR: load_module: could not open module : libunistring.so.0: cannot
open shared object file: No such file or directory
0(30270) : [cfg.y:3567]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 318, column 12-57: failed to
load module
I checked websocket.so file in the specified directory and it is
already there.Can you please help me what's wrong with it?
please help.
Rupayan Dutta
I want to store RTPProxy statistics in $rtpstat variable (exported by
RTPProxy module) into database. Currently I use app_python module to run a
specific Python script with from_tag, to_tag, callid and $rtpstat as
parameters. This module puts this information in a message queue which is
red by another process. That process writes the data in the database. Is
there a better, more efficient way to store arbitrary data like this into
database in Kamailio?
Regards
Seasons Greetings!
Am starting to learn about Kamailio fronting Asterisk and wish to ask how one performs multi-site failover.
What I would like to be able to do is when the upstream trunk provider routes a SIP call to me if Kamailio detects that the backend Asterisk is down it will send to a secondary system ?
Thanks, Phil
Hi friends:
I am running rtpengine daemon on a CentOS machine functionally. SIP server is Kamailio. Vedio and audio calls are both OK with rtpengine.
But there is always prompts like following in rtpengine’s log:
So I am wondering whether this prompt is normal. Otherwise, what should I do to prevent this to happen?
Thx a lot!
------------------------------------
北京邮电大学网络技术研究院
网络与交换技术国家重点实验室
田军
+86 18810315790
mozillafire(a)bupt.edu.cn
------------------------------------
With an amazing 2015 almost gone, I am using this moment to give my
thanks and greetings to the people involved in Kamailio project, old and
new friends, developers, contributors, the engaged and warm community
members.
Very soon 2016 will arrive, Kamailio will celebrate 15 years of
development, therefore we are looking to a special year ahead!
Merry Christmas and Happy Winter Holidays!
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello!
Here is my config:
http://pastebin.com/X20JumYB
Why can't I authorize? I get:
403 Not relaying
(kamailio (4.3.4 (x86_64/linux)))
Interesting that with previous version everything was ok.
I just use my previous config.
--
lifayk
e: lifayk(a)gmail.com
pgp: 0x84CAC40B
Hi All,
I have deployed a Kamailio proxy server (as IMS pCSCF) in Amazon EC2. UA
registration over TCP and presence flow (PUBLISH/NOTIFY) are all fine. But
MESSAGE from one UA to another is UA over TCP is always not successful. I
captured the sip flow from the server, and found that at the final hop from
Proxy to terminating UA, the Kamailio server send the MESSAGE over udp,
regardless of the fact that UAs were registered over TCP.
What is the problem maybe? Attached is the cfg file.
Thanks.
Thierry Luo
Dear friends,
I am working on a program on Kamailio and rtpengine proxy. I am wondering whether can I set Kamailio and rtpengine daemon on different physical machines. For example, I set Kamailio on a machine with IP address:10.109.247.80, and launch rtpengine daemon on another machine with interface parameter as 10.109.247.90 and ng port 7723. I set parameter in Kamailio.cfg with modparam(“rtpengine”, “rtpengine_sock”, “udp:10.109.247.90:7723”).
Unfortunately I got debug message like this:
ERROR: rtpengine [rtpengine.c:1710]: send_rtpp_command(): can't send command to a RTP proxy
ERROR: rtpengine [rtpengine.c:1746]: send_rtpp_command(): proxy <udp:10.109.247.90:7723> does not respond, disable it
ERROR: rtpengine [rtpengine.c:1616]: rtpp_test(): proxy did not respond to ping
And, I also tried to set Kamailio and rtpengine daemon in a same machine,and use modparam(“rtpengine”, “rtpengine_sock”, “udp:localhost:7723”). And Kamailio can work functionally under this situation. rtpengine daemon can receive ping message from Kamailio and rtpengine daemon can work as suspected. So for the later case, is it supposed that Kamailio be in the same machine with same localhost address? Otherwise, what’s the reason for my ERROR?
------------------------------------
北京邮电大学网络技术研究院
网络与交换技术国家重点实验室
田军
+86 18810315790
mozillafire(a)bupt.edu.cn
------------------------------------