[SR-Users] (no subject)

Henning Westerholt hw at skalatan.de
Thu Mar 12 08:58:09 CET 2020


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 at gmail.com>
Sent: Thursday, March 12, 2020 8:56 AM
To: Henning Westerholt <hw at 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 at skalatan.de<mailto:hw at 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 at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of ahmed moghazy
Sent: Tuesday, March 10, 2020 8:53 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at 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 at gmail.com<mailto:ahmed.m.moghazi at 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 at gmail.com<mailto:shaheryarkh at 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 at gmail.com<mailto:ahmed.m.moghazi at 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 at gmail.com<mailto:shaheryarkh at 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 at gmail.com<mailto:ahmed.m.moghazi at 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 at gmail.com<mailto:shaheryarkh at gmail.com>> wrote:

Please read the tls module documentation,

https://kamailio.org/docs/modules/devel/modules/tls.html#tls.p.require_certificate

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 at gmail.com<mailto:ahmed.m.moghazi at 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 at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200312/d7627d44/attachment.html>


More information about the sr-users mailing list