Any idea where this kind of error message could come from:
Mar 12 07:16:17 rox2 /usr/bin/sip-proxy[32058]: CRITICAL: <core>
[core/pass_fd.c:277]: receive_fd(): EOF on 61
Mar 12 07:16:17 rox2 /usr/bin/sip-proxy[32058]: ERROR: <core>
[core/io_wait.h:607]: io_watch_del(): trying to delete already erased
entry 61 in the hash(-1, 0, 0x7f689c16a868) flags 0)
Mar 12 07:16:17 rox2 /usr/bin/sip-proxy[32058]: ERROR: <core>
[core/io_wait.h:607]: io_watch_del(): trying to delete already erased
entry 64 in the hash(-1, 0, 0x7f68c063b0f0) flags 0)
Mar 12 07:16:17 rox2 /usr/bin/sip-proxy[32058]: CRITICAL: <core>
[core/pass_fd.c:191]: send_fd(): sendmsg failed sending 79 on 64: Broken
pipe (32)
Mar 12 07:16:17 rox2 /usr/bin/sip-proxy[32058]: ERROR: <core>
[core/tcp_main.c:4225]: send2child(): send_fd failed for 0x7f689c18a0b0
(flags 0x4018), fd 79
Debug does not give any hints.
-- Juha
Hello,
I am trying to increase cseq in invite with credentials to 401
Unauthorized, but with topoh.so module and mask_callid enabled it does not
work.
Are there any way to fix it?
--
Aydar A. Kamalov
Hi Guys,
We are running kamailio 5.3 in our dev environment with a view to using the xhttp_prom module, so that we can monitor using prometheous.
It works fine in terms of getting all the internal stats and groups, however is it possible to grab the dispatcher.list output/stats using the module?
I know there is a collector that does this and provides the dispatcher gateway trunk status, but wondered if it could be implemented using xhttp_prom, or if external code would be required to grab the states using rpc etc?
Many thanks
Jon
Hello,
you need to provide some details about the errors (like output from log messages etc..) that we can help you here on this list.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: ahmed moghazy <ahmed.m.moghazi(a)gmail.com>
Sent: Thursday, March 12, 2020 8:56 AM
To: Henning Westerholt <hw(a)skalatan.de>
Subject: Re: [SR-Users] (no subject)
I want to know steps for that cause when i try this it give me error i dont know why ?!
On Mar 11, 2020, at 10:21 AM, Henning Westerholt <hw(a)skalatan.de<mailto:hw@skalatan.de>> wrote:
Hello,
this could be done with a database query (e.g. with sqlops module). If you are looking for a dedicated interface, there is for example the group module:
https://kamailio.org/docs/modules/devel/modules/group.html
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org<mailto:sr-users-bounces@lists.kamailio.org>> On Behalf Of ahmed moghazy
Sent: Tuesday, March 10, 2020 8:53 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: Re: [SR-Users] (no subject)
If i want to make users in groups for example two Groups group A and group B and each group has 4 users but users in group A couldn't Call users in group B?
On Mar 3, 2020, at 10:36 PM, ahmed moghazy <ahmed.m.moghazi(a)gmail.com<mailto:ahmed.m.moghazi@gmail.com>> wrote:
I generate those certificates and i put then in linphone source code i want to enable require_certficate=1 could you help me how and where to put the certificates and linphone peer return it ? , thank you
On Mar 3, 2020, at 10:52 AM, M S <shaheryarkh(a)gmail.com<mailto:shaheryarkh@gmail.com>> wrote:
Any sip client will work with kamailio (as sip server) as long as it supports TLS and configured correctly. I mostly use Linphone, Xlite and some of my own sip clients that i have built over the years.
You simply need to follow the quick howto in tls module documentation (as i mentioned earlier) to generate client and server certificates. Then copy client cert along with CA to sip client, provide connection and authentication info and it should work fine.
For over simplified setup where you don't have client certificate or not sure how to configure one for any given sip client, you can disable "verify_certificate" option in tls module.
Hope this helps.
On Tue, 3 Mar 2020, 08:53 ahmed moghazy, <ahmed.m.moghazi(a)gmail.com<mailto:ahmed.m.moghazi@gmail.com>> wrote:
I know that but i want voip program to be used with kamailio using tls i you could suggest one , thank you
Sent from my iPhone
On Mar 3, 2020, at 5:54 AM, M S <shaheryarkh(a)gmail.com<mailto:shaheryarkh@gmail.com>> wrote:
Dude again, RTFM!
The TLS module has a quick how-to generate client and server certificates. Both must be issued by same CA and server must have all issued certificates along with CA, CRL and private key. The whole directory structure and what to put where is listed, along with how to configure kamailio.
On Mon, 2 Mar 2020, 20:27 ahmed moghazy, <ahmed.m.moghazi(a)gmail.com<mailto:ahmed.m.moghazi@gmail.com>> wrote:
I put my own certficate in /res/raw/rootca.pem in linphone
Sent from my iPhone
On Mar 2, 2020, at 7:40 PM, M S <shaheryarkh(a)gmail.com<mailto:shaheryarkh@gmail.com>> wrote:
Please read the tls module documentation,
https://kamailio.org/docs/modules/devel/modules/tls.html#tls.p.require_cert…
when enabled it requires client to present certificate, but client does not have one, which is the likely cause of the problem.
Hope this helps.
On Mon, 2 Mar 2020, 14:34 ahmed moghazy, <ahmed.m.moghazi(a)gmail.com<mailto:ahmed.m.moghazi@gmail.com>> wrote:
Hello sir ,
when i enabled tls module in kamailio and i made the configurations in tls.cfg,
kamailio always sent me that peer dont return certificate when i make requre_certficate=1
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello sir ,
when i enabled tls module in kamailio and i made the configurations in
tls.cfg,
kamailio always sent me that peer dont return certificate when i make
requre_certficate=1
I have a fresh install of Kamailio 5.2.5 on CentOS7. I am trying to
install the secfilter module as per the link below
https://www.kamailio.org/wiki/tutorials/security/kamailio-security
When I restarted the service it is not finding the geoid or secfilter
module. From what I was reading there are no dependencies or anything to
install. What am I missing?
-------------------------------------------------
Mar 10 16:30:47 kamailio01 systemd: Started Kamailio (OpenSER) - the Open
Source SIP Server.
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/sr_module.c:487]:
load_module(): could not find module <geoip2> in
</usr/lib64/kamailio/modules>
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3508]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
300, column 15-25: failed to load module
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/sr_module.c:487]:
load_module(): could not find module <secfilter> in
</usr/lib64/kamailio/modules>
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3508]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
301, column 15-28: failed to load module
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/modparam.c:152]:
set_mod_param_regex(): No module matching <secfilter> found
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3511]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
322, column 81: Can't set module parameter
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/modparam.c:152]:
set_mod_param_regex(): No module matching <secfilter> found
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3511]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
323, column 43: Can't set module parameter
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/cfg.y:3371]:
yyparse(): cfg. parser: failed to find command geoip2_match (params 2)
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3511]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
614, column 38: unknown command, missing loadmodule?
Mar 10 16:30:47 kamailio01 kamailio: ERROR: bad config file (6 errors)
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/pvapi.c:915]:
pv_parse_spec2(): error searching pvar "gip2"
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/pvapi.c:1119]:
pv_parse_spec2(): wrong char [s/115] in [$gip2(src=>cc)] at [6 (5)]
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3508]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
615, column 36-49: Can't get from cache: $gip2(src=>cc)
Dear
Hope all is well.
Can i trouble you with pointing me to the right tutorial for properly
adding tls on any version of Kamailio.
i have been trying for days, all versions and method i can find on the
internet, even build from source and changed openssl version as
suggested by one of the threads in the mailing list still without any luck.
apologies for not providing any references as i am sending this email
from my colleague machine.
Thanking you in advance
Mike Nasr
ICT Consultant
mikenasr.com
Hello,
(moving discussion to users list)
have a look to the Kamailio log files to see the actual errors, maybe there is a path not correct. You can also execute Kamailio with logging to stdout (have a look to the parameter visible with kamailio -h).
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: subhra giri <subhraprakash79(a)gmail.com>
Sent: Monday, March 9, 2020 12:20 PM
To: Henning Westerholt <hw(a)skalatan.de>
Cc: sr-dev(a)lists.kamailio.org
Subject: Re: Thank you --- Compilation success
Dear Henning
Sure, will do that.
But after running kamailio on the mips board i am getting below error.
/bin/kamailio-5.3.2/src # ./kamailio
loading modules under config path: /usr/lib/kamailio-5.3.2/src/modules/
ERROR: bad config file (45 errors)
I have attached config file.
Please help me what is wrong in this config file.
Thanks and regards
Subhra Prakash
On Mon, Mar 9, 2020 at 3:27 PM Henning Westerholt <hw(a)skalatan.de<mailto:hw@skalatan.de>> wrote:
Hello Subhra,
Great! Could you share the here steps that lead to the success that others might be able to learn from it as well?
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: subhra giri <subhraprakash79(a)gmail.com<mailto:subhraprakash79@gmail.com>>
Sent: Saturday, March 7, 2020 11:18 AM
To: Henning Westerholt <hw(a)skalatan.de<mailto:hw@skalatan.de>>
Subject: Thank you --- Compilation success
Dear Henning
Compilation is successful for MIPS.
Thank you very much
Subhra Prakash Giri
On Sat, Mar 7, 2020 at 1:26 PM subhra giri <subhraprakash79(a)gmail.com<mailto:subhraprakash79@gmail.com>> wrote:
Dear Henning
I tried to compile directly on MIPS board, but there is no make file in my board. so it is not compiling.
I am not getting Make for MIPS board.
Is there any other way to compile on x86 for mips board.
Thanks and Regards
Subhra Prakash Giri
On Fri, Mar 6, 2020 at 6:43 PM Henning Westerholt <hw(a)skalatan.de<mailto:hw@skalatan.de>> wrote:
Hi Subhra,
I meant with native platform – to test compilation directly on the MIPS board, not sure if you understood it the same way.
Cheers,
Henning
From: subhra giri <subhraprakash79(a)gmail.com<mailto:subhraprakash79@gmail.com>>
Sent: Friday, March 6, 2020 1:11 PM
To: Henning Westerholt <hw(a)skalatan.de<mailto:hw@skalatan.de>>
Cc: sr-dev(a)lists.kamailio.org<mailto:sr-dev@lists.kamailio.org>
Subject: Re: [sr-dev] Regarding MIPS Compilation
Dear Henning
Executing "make cfg " gives below output
[root@www kamailio-5.3.2]# make cfg
make -C src/ cfg
target architecture <mips64>, host architecture <x86_64>
----------------------------------------------------------------------------------------------------------------------------------------------------------
In native platform it is compiling successfully. But giving problem for target platform i.e mips64-octeon-linux.
Please help me with steps for mips compilation
Thanks and Regards
Subhra Prakash Giri