Hello,
I have one installation with a strange pkg.stats output:
root@host:~# kamcmd pkg.stats index 36
{
entry: 36
pid: 2599
rank: -4
used: 16234288
free: 15788240
real_used: 16900864
}
After some time I've checked it again and found that used and real_used
fields grew up while free wasn't changed:
root@host:~# kamcmd pkg.stats index 36
{
entry: 36
pid: 2599
rank: -4
used: 19393184
free: 15788240
real_used: 20125968
}
Additional info:
- kamailio-4.0.2 started with -m 128 -M 16
- Process:: ID=36 PID=2599 Type=tcp main process
- this server works as a websocket(ws,wss) to udp/tcp gateway.
How is it possible that real_used is bigger that -M allows and free
value is not changing while used/real_used are growing up.
Hello,
Kamailio SIP Server v4.0.4 stable release is out.
This is a maintenance release of the latest stable branch, 4.0, that
includes fixes since release of v4.0.0. There is no change to database
schema or configuration language structure that you have to do on
installations of v4.0.0. Deployments running previous v4.x.x versions
are strongly recommended to be upgraded to v4.0.4.
For more details about version 4.0.4 (including links and guidelines to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2013/10/kamailio-v4-0-4-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Dear All,
I am working on XMPP module of kamailio server (V-4.0.2), intended to
achieve File transfer, IM features.
Firstly my Kamailio and Jabberd2 servers are on the same machine. I managed
to separately make them work. Call setup between SIP clients is working and
so with messaging/presence, File transfer functions for Jabberd clients.
But when i integrate both the servers by using xmpp module, i can only send
messages to SIP clients from XMPP client (one way) but i cannot send
messages to xmpp clients from SIP clients.
Off course the *presence is not sharing* between these SIP and XMPP clients.
My clients URI and JID syntax are looking like this:
---> SIP client (registered to kamailio server):
*112@sip_domain*
---> XMPP client (registered to Jabberd server):
* 114*sip_domain@jabber_server *(Is this syntax is correct?)
And in SIP client contact list ,added an XMPP user which look like this:
*sip:114*sip_domain*jabber_server@gateway_domain *
In XMPP clients buddy list, added a SIP client which looks like this:
* 112*sip_domain@xmpp_domain*
Is the above syntaxes are correct ?
Following are my working domain names(for your reference):
sip_domain ---> kamailio.kamailio.test
xmpp_server host ---> xmpp.kamailio.test
gateway_domain ---> sip-xmpp.kamailio.test
xmpp_domain ---> xmpp-sip.kamailio.test.
And my syslog is giving the errors like this:
Oct 1 18:40:57 kamailio /usr/local/sbin/kamailio[18710]: INFO: pua_usrloc
[ul_publish.c:221]: ul_publish(): not marked for publish
Oct 1 18:41:21 kamailio /usr/local/sbin/kamailio[18714]: ERROR: db_mysql
[km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Duplicate
entry '112-kamailio.kamailio.test-presence-*#-OFFLINE-#*' for key
'presentity_idx'
Oct 1 18:41:21 kamailio /usr/local/sbin/kamailio[18714]: ERROR: <core>
[db_query.c:337]: db_do_update(): error while submitting query
Oct 1 18:41:21 kamailio /usr/local/sbin/kamailio[18714]: ERROR: presence
[presentity.c:1281]: mark_presentity_for_delete(): unsuccessful sql update
operation
Oct 1 18:41:21 kamailio /usr/local/sbin/kamailio[18714]: ERROR: presence
[publish.c:171]: msg_presentity_clean(): Marking presentity
Oct 1 18:41:21 kamailio /usr/local/sbin/kamailio[18723]: INFO: presence
[notify.c:1601]: send_notify_request(): NOTIFY
sip:114*kamailio.kamailio.test*xmpp.kamailio.test@sip-xmpp.kamailio.testvia
sip:114*kamailio.kamailio.test*xmpp.kamailio.test@sip-xmpp.kamailio.teston
behalf of sip:112@kamailio.kamailio.testfor event presence.
Please below find the attachment of my kamailio configuration file.
What could be the wrong ?
How can i solve this issue ?
And why the presence is not visible between the clients even after
integrated pua_xmpp module in script ?
PS: set-up credentials are : XMPP client ---> pidgin
SIP client ---> Jitsi
Any help will greatly appreciate.
Regards,
Nandini
Hello,
I am planing to release Kamailio v4.0.4 this week on Wednesday, Sep 2.
If anyone has patching to push in branch 4.0, do it before noon GMT in
that day. Also, if any developer is preferring another release day, just
present the option on the mailing lists.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at http://www.asipto.com -
Hello,
I am running into a problem with my set up. I have Kamailio 4.0 set up with an Asterisk server (ARA). Initially I had three machines; one for Kamailio, one for Asterisk and one for my db. The set up worked fine for about a week after which I saw that my phones were losing registration for prolonged periods and then would re-register after a few hours. So what I did was to move Asterisk and Kamailio on the same server and only had my DB on a separate machine. All worked well for about a week and now I am facing the same issue. At any given time all my services ( kamailio, Asterisk, RTPproxy) are all running. My question is where and how do I start to trouble shoot this issue? I have not really done any debugging in the past so I would appreciate any pointers as to where to start? Thank you for your help.
Regards,
Arun
Any help solving this error message from kamailio server 4.0
Oct 1 00:31:07 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 00:31:07 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 03:09:14 kmlsvr /usr/local/sbin/kamailio[27169]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 03:09:14 kmlsvr /usr/local/sbin/kamailio[27169]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 03:09:23 kmlsvr /usr/local/sbin/kamailio[27167]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 03:09:23 kmlsvr /usr/local/sbin/kamailio[27167]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 03:09:26 kmlsvr /usr/local/sbin/kamailio[27168]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 03:09:26 kmlsvr /usr/local/sbin/kamailio[27168]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 04:24:24 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 04:24:24 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 06:28:11 kmlsvr /usr/local/sbin/kamailio[27168]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 06:28:11 kmlsvr /usr/local/sbin/kamailio[27168]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 06:37:08 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 06:37:08 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
Oct 1 08:22:55 kmlsvr /usr/local/sbin/kamailio[27169]: ERROR: nathelper
[nhelpr_funcs.c:195]: message body has length zero
Oct 1 08:22:55 kmlsvr /usr/local/sbin/kamailio[27169]: ERROR: nathelper
[nathelper.c:1640]: cannot extract body from msg!
--
Kethzer Docteur
I'm trying to implement a load balancer for asterisk servers using
kamailio and the tutorial at
http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb
I must fit the balancer in an infrastructure without touching the
other media servers (asterisk) which require a username/password
authentication.
The sample implementation constructs a register request from scratch,
but does not handle authorization and thus fails. I cannot change the
current sip servers and their configuration as these are a live system
and I'm not allowed to touch it.
I would really appreciate some hints on how to proceed.
# Forward REGISTER to Asterisk
route[REGFWD] {
if(!is_method("REGISTER"))
{
return;
}
$var(rip) = $sel(cfg_get.asterisk.bindip);
$uac_req(method)="REGISTER";
$uac_req(ruri)="sip:" + $var(rip) + ":" + $sel(cfg_get.asterisk.bindport);
$uac_req(furi)="sip:" + $au + "@" + $var(rip);
$uac_req(turi)="sip:" + $au + "@" + $var(rip);
$uac_req(hdrs)="Contact: <sip:" + $au + "@"
+ $sel(cfg_get.kamailio.bindip)
+ ":" + $sel(cfg_get.kamailio.bindport) + ">\r\n";
if($sel(contact.expires) != $null)
$uac_req(hdrs)= $uac_req(hdrs) + "Expires: " + $sel(contact.expires) + "\r\n";
else
$uac_req(hdrs)= $uac_req(hdrs) + "Expires: " + $hdr(Expires) + "\r\n";
uac_req_send();
}
Thank you,
Paul.
Hello,
On 10/1/13 8:09 AM, Premchandiran wrote:
>
> Hi All,
>
> I have query/observation w.r.t topoh I hiding, before loading topoh
> module rr module must be loaded . I found that methods like
> record_route() in rr module must be present in the cfg then only topoh
> hiding is taking place. Otherwise tough rr module and topoh module is
> loaded topoh hiding is not taking place. Is that right? Please clarify
> the same.
>
there is no relation between rr module and topoh. Can you get the log
messages with debug=3 in config file?
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at http://www.asipto.com -