Re: [SR-Users] Installing rtpengine from RPM on CentOS

2018-11-01 Thread Henning Westerholt
Am Donnerstag, 1. November 2018, 15:00:18 CET schrieb Pan Christensen:
> That’s the kamailio module to control rtpengine, not the rtpengine itself.
> [..]

Hello Pan,

in case you did not get an answer on this list I would suggest to contact the 
rtpengine authors directly. 

The page https://github.com/sipwise/rtpengine/blob/master/el/README.el.md 
indeed does not contain any informations about a Cent.OS repository.

There was a discussion a few month ago (about manual installation on Cent.OS):
https://lists.kamailio.org/pipermail/sr-users/2018-June/101952.html

Installing from source or building your own RPMs is described as well on the 
docs quoted above, as you probably already read.

Best regards,

Henning

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
Kamailio security assessment - https://skalatan.de/de/assessment

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Installing rtpengine from RPM on CentOS

2018-11-01 Thread Pan Christensen
That’s the kamailio module to control rtpengine, not the rtpengine itself.


Pan B. Christensen
Developer
Phonect AS
Mail: pan.christen...@phonect.no
+ 47 41 88 88 00

 [mail_footer]

From: sr-users  On Behalf Of Sergey Safarov
Sent: torsdag 1. november 2018 13:37
To: Kamailio (SER) - Users Mailing List 
Subject: Re: [SR-Users] Installing rtpengine from RPM on CentOS

This is packaged in main kamailio rpm package
https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/kamailio.spec#L1453-L1454

чт, 1 нояб. 2018 г. в 14:33, Pan Christensen 
mailto:pan.christen...@phonect.no>>:
Hello!

According to https://github.com/sipwise/rtpengine/blob/master/el/README.el.md , 
we should be able to install rtpengine from a CentOS repository using yum. 
We’re unable to find the packages. Any suggestions?


Pan B. Christensen
Developer
Phonect AS
Mail: pan.christen...@phonect.no
+ 47 41 88 88 00

 [mail_footer]

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Store TLS handshake date from Kamailio to an external DB

2018-11-01 Thread Joel Serrano
Plus, if kamailio1 dies you will need a NEW tcp connection from your client
to kamailio2, and that effectively means as Daniel said a new handshake.

On Thu, Nov 1, 2018 at 04:11 Daniel Tryba  wrote:

> On Thu, Nov 01, 2018 at 09:20:46AM +, Toffi Bossol wrote:
> > my use case will be:
> >
> >- We use two Kamailio instances (A and B)
> >
> >- A Client registers to a Kamailio A using TLS (SIP over TLS). The
> TLS session data shall be stored into an external DB.
> >- Kamailio A is now unreachable.
> >- The client sends a register to Kamailio B over TLS.
> >- Kamailio B shall look into the external DB and checks that there is
> already a TLS session data and can reuse it.
>
> In order to make a SIP over TLS handshake, there has to be a new
> handshake. So the old data is stale and unusable.
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Installing rtpengine from RPM on CentOS

2018-11-01 Thread Sergey Safarov
This is packaged in main kamailio rpm package
https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/kamailio.spec#L1453-L1454


чт, 1 нояб. 2018 г. в 14:33, Pan Christensen :

> Hello!
>
>
>
> According to
> https://github.com/sipwise/rtpengine/blob/master/el/README.el.md , we
> should be able to install rtpengine from a CentOS repository using yum.
> We’re unable to find the packages. Any suggestions?
>
>
>
>
>
> *Pan B. Christensen *
> Developer
>
> Phonect AS
>
> Mail: pan.christen...@phonect.no
> + 47 41 88 88 00
>
>  [image: mail_footer]
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [CentOS 7] Kamailio 5.1.x mongodb package missing in OpenSUSE repo.

2018-11-01 Thread Sergey Safarov
Please open ticket for this
I will create package for this. Need to assign "sergey-safarov" to this
ticket

Sergey

чт, 1 нояб. 2018 г. в 13:16, Denys Pozniak :

> Hello!
> How can I add module DB_MONGODB to existing installation of Kamailio 5.1.6
> , if there is no package in OpenSUSE repo (home:kamailio:v5.1.x-rpms.repo) ?
>
>
> --
>
>
> BR,
> Denys Pozniak
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Installing rtpengine from RPM on CentOS

2018-11-01 Thread Pan Christensen
Hello!

According to https://github.com/sipwise/rtpengine/blob/master/el/README.el.md , 
we should be able to install rtpengine from a CentOS repository using yum. 
We're unable to find the packages. Any suggestions?


Pan B. Christensen
Developer
Phonect AS
Mail: pan.christen...@phonect.no
+ 47 41 88 88 00

 [mail_footer]

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Store TLS handshake date from Kamailio to an external DB

2018-11-01 Thread Daniel Tryba
On Thu, Nov 01, 2018 at 09:20:46AM +, Toffi Bossol wrote:
> my use case will be:
>
>- We use two Kamailio instances (A and B)   
> 
>- A Client registers to a Kamailio A using TLS (SIP over TLS). The TLS 
> session data shall be stored into an external DB.
>- Kamailio A is now unreachable.
>- The client sends a register to Kamailio B over TLS.
>- Kamailio B shall look into the external DB and checks that there is 
> already a TLS session data and can reuse it.   

In order to make a SIP over TLS handshake, there has to be a new
handshake. So the old data is stale and unusable.


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Diversion headers access and message too long error

2018-11-01 Thread Henning Westerholt
Am Donnerstag, 1. November 2018, 11:18:37 CET schrieb Joan Salvatella:
> Thanks for your quick response. Kamailio is complaining about a too long
> SIP message so migrating to TCP makes sense (I hadn't thought about it).
> 
> I have enabled TCP in kamailio.cfg:
> disable_tcp=no
> 
> I am using the dispatchers module to identify the gateway endpoints and I
> have updated it accordingly:
> 
> 1 sip:10.0.1.69:5080;transport=tcp
> 
> and in my invite resolver I am forcing the sending socket to be tcp as
> well.
> [..]
>$fs = "tcp:PRIVATE_IP:5080";
> [..]
> Are there any resources that I can check to make sure that I am not missing
> anything? Since this is not working, I am suspecting it is related with the
> Asterisk side of things but that should be handled in another mail list.
> > [..]

Hello Joan,

on a first sight it looks fine. Do you get an error from the asterisk side? 
Then indeed it would be good to ask on the asterisk user list about that.

If you get also errors in the Kamailio log, we would need more details about 
this to continue here.

Best regards,

Henning

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
Kamailio security assessment - https://skalatan.de/de/assessment

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] [CentOS 7] Kamailio 5.1.x mongodb package missing in OpenSUSE repo.

2018-11-01 Thread Denys Pozniak
Hello!
How can I add module DB_MONGODB to existing installation of Kamailio 5.1.6
, if there is no package in OpenSUSE repo (home:kamailio:v5.1.x-rpms.repo) ?


--


BR,
Denys Pozniak
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Store TLS handshake date from Kamailio to an external DB

2018-11-01 Thread Toffi Bossol
Hello Joel,

my use case will be:
   
   - We use two Kamailio instances (A and B)   

   - A Client registers to a Kamailio A using TLS (SIP over TLS). The TLS 
session data shall be stored into an external DB.
   - Kamailio A is now unreachable.
   - The client sends a register to Kamailio B over TLS.
   - Kamailio B shall look into the external DB and checks that there is 
already a TLS session data and can reuse it.   

 
Best regards,
Toffi
Am Mittwoch, 31. Oktober 2018, 18:03:48 MEZ hat Joel Serrano 
 Folgendes geschrieben:  
 
 I'm not sure how to answer correctly that question as it depends completely on 
what you are trying to accomplish.
Say you get to save the TLS connection information in a database, how would 
that be helpful?
On Wed, Oct 31, 2018 at 7:08 AM Toffi Bossol  wrote:


Hello Joel,


manythanks for your reply.

Background info: Iam trying to implement Kamailio as stateless as possible and 
wonder how I cancache and reuse the information from a TLS connection within a 
database.

 

And does cachingmake sense?

Best regards,

Toffi







 

Am Mittwoch, 31. Oktober 2018, 02:01:04 MEZ hat Joel Serrano 
 Folgendes geschrieben:  
 
 Maybe use a pseudovariable from the TLS module to get the data you want and 
then use sqlops to insert it to database?
Have a look: 
https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#tls_module_pseudo-variableshttps://kamailio.org/docs/modules/5.1.x/modules/sqlops.html

On Tue, Oct 30, 2018 at 8:11 AM Toffi Bossol  wrote:

Dear community,

I am new in Kamailio hence the following question:
Does any one know how to  tell Kamailio to store the TLS session data in an 
external DB?
Many Thanks in advance!

BR;
Toffi
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
  ___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
  ___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users