Re: [SR-Users] Support for TLS v1.3 (RFC 8446)

2019-04-17 Thread Henning Westerholt
Hello, there was some discussion about refactoring the TLS module recently, have a look to this issue on github: https://github.com/kamailio/kamailio/issues/1878 Please add your comments or suggestions here. Help and/or contributions are always welcome. Cheers, Henning Am 11.04.19 um 15:20

Re: [SR-Users] Via shows wrong protocol of Kamailio

2019-04-17 Thread Henning Westerholt
Hello Andrew, 4.1.x is really really old. Please update to a supported version of Kamailio, e.g. from the 5.1 or 5.2 branch. There are many bugs fixed. Cheers, Henning Am 11.04.19 um 22:36 schrieb Andrew Chen: Hi all, Got another anomaly in 4.1.5. I have this block of code which does t_relay

Re: [SR-Users] "481 Dialog/Transaction Does Not Exist" after sending SUBSCRIBE with Expires: 0

2019-04-17 Thread Henning Westerholt
Hello, not being an expert on the presence module - but I quickly look to the code. It seems that there is no special handling regarding this "Expires:0" logic. It just inserts it into the database/memory and then waits for the timer to remove it. Then the mentioned NOTIFY is send out. Accordi

Re: [SR-Users] Rewrite private IP in SDP

2019-04-17 Thread Henning Westerholt
Hello Bonjour, have a look e.g. to the nathelper module, the functions fix_nated_contact and fix_nated_sdp might help you here. In the default cfg you find also some more complete logic in the routes NATDETECT and NATMANAGE. Cheers, Henning Am 17.04.19 um 10:24 schrieb Bonjour Madame: Hello

Re: [SR-Users] Rewrite private IP in SDP

2019-04-17 Thread David Villasmil
You need to paste the whole trace. There can be a private up VIA as long as the first VIA is an IP reachable. My point is, for audio issues, it’s not the VIA, it’s the SDP. On Thu, 18 Apr 2019 at 00:00, David Villasmil < david.villasmil.w...@gmail.com> wrote: > The VÍA is not really a problem. Ch

Re: [SR-Users] Rewrite private IP in SDP

2019-04-17 Thread David Villasmil
The VÍA is not really a problem. Check the IP in the SDP itself. On both the INVITE and the 200 there should be IP addresses reachable by both On Wed, 17 Apr 2019 at 09:24, Bonjour Madame wrote: > Hello all, > > I am dealing with a no audio issue, phones are not even ringing. There is > a privat

Re: [SR-Users] Record route dynamic IP

2019-04-17 Thread * Paolo Visintin - evosip.cloud
Hello Eyas, you could bind directly the network interface example: listen=udp:eth0:5060 listen=udp:eth1:5060 Il giorno mer 17 apr 2019 alle ore 17:30 eyas barhouk ha scritto: > hello dears > > i'm trying to build kamailio & asterisk with the following : > > >- Kamailio will listen to Al

Re: [SR-Users] How can i change kamailio SIP port form 5060 to any other

2019-04-17 Thread Bonjour Madame
Great On Wed, Apr 17, 2019, 4:53 AM Gaurav Bmotra wrote: > thank you Bonjour > its working with new port > > On Wed, Apr 17, 2019 at 11:27 AM Bonjour Madame > wrote: > >> Edit the kamailio.cfg file >> # vim /usr/local/etc/kamailio/kamailio.cfg >> >> Then change the port number where it says "li

[SR-Users] Record route dynamic IP

2019-04-17 Thread eyas barhouk
hello dears i'm trying to build kamailio & asterisk with the following : * Kamailio will listen to All the interfaces : listen=udp:0.0.0.0:5050 listen=udp:0.0.0.0:5060 * it will add the record header as in the following part : if (!isflagset(FLT_RR)) record_rou

Re: [SR-Users] TCP connection lifetime

2019-04-17 Thread Aymeric Moizard
Hi Daniel! Tks a lot: $> kamcmd core.tcp_list Worked! Next time I meet the issue, I will have more data to analyse... I guess I will be able to compare "timeout" vs "lifetime" Tks a lot! Aymeric Le mer. 17 avr. 2019 à 15:51, Daniel-Constantin Mierla a écrit : > Hello, > > as you said it s

Re: [SR-Users] TCP connection lifetime

2019-04-17 Thread Daniel-Constantin Mierla
Hello, as you said it shows a single connections, I went to the code and I discovered a bug in exporting rpc command core.tcp_info, because it was missing the option that it returns an array. I fixed it in master branch with next commit:   - https://github.com/kamailio/kamailio/commit/24ca2e7760a

Re: [SR-Users] TCP connection lifetime

2019-04-17 Thread Aymeric Moizard
Hi Daniel, Tks for answering! Unfortunatly, core.tcp_list is only returning one connection. But core.tcp_info reports 184 opened connections (same for "kamctl stats tcp") sudo kamctl rpc core.tcp_list { "jsonrpc": "2.0", "result": { "id": 439290, "type": "TCP", "state": "CONN_AC

[SR-Users] Route header

2019-04-17 Thread Duarte Rocha
Greetings, Is there a difference for Kamailio between these 2 situations. 1 - Method with 2 Route Headers, each one with one address and one uri 2 - Method with 1 Route Header that includes 2 Route URI Best Regards, Duarte Rocha ___ Kamailio (SER) - U

Re: [SR-Users] How can i change kamailio SIP port form 5060 to any other

2019-04-17 Thread Gaurav Bmotra
thank you Bonjour its working with new port On Wed, Apr 17, 2019 at 11:27 AM Bonjour Madame wrote: > Edit the kamailio.cfg file > # vim /usr/local/etc/kamailio/kamailio.cfg > > Then change the port number where it says "listen=IP_ADDRESS:PORT" > Or where it says "port" > > On Wed, Apr 17, 2019,

[SR-Users] Rewrite private IP in SDP

2019-04-17 Thread Bonjour Madame
Hello all, I am dealing with a no audio issue, phones are not even ringing. There is a private IP address in the "VIA" section of the message header of the INVITE: Via: SIP/2.0/UDP 192.168.1.25:65291 ;rport;branch=z9hG4bKPj9e3849d1981a4094a8323dad5826ec34 and in the contact too: Contact: I

Re: [SR-Users] allow calls only from registered users

2019-04-17 Thread YASIN CANER
Hello; Registrar module helps to find out ; "registered function" https://kamailio.org/docs/modules/5.1.x/modules/registrar.html#registrar.f.registered registrar Module - Kamailio If the processed message contai