Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Sergey Safarov
I have testes build on 5.7 kernel on CentOS 8 (custom rpm package) You will find commit here https://github.com/sipwise/rtpengine/issues/975 Sergey On Fri, Sep 11, 2020 at 10:53 PM Daniel-Constantin Mierla wrote: > Related to tainted kernel, I faced the same issue when I deployed > rtpengine

Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Andrew Chen
Thanks Daniel. Let me look at that option. On Fri, Sep 11, 2020 at 3:52 PM Daniel-Constantin Mierla wrote: > Related to tainted kernel, I faced the same issue when I deployed > rtpengine on a Suse Enterprise many months ago, so I do not really remember > the exact steps, but there is a way to

Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Andrew Chen
Sorry let me clarify this line here: "...at the time, I was running an older version 8.0.x so I recompiled all the ngcp packages under this kernel and completed the installation without issues.." 8.0.x is the older ngcp version. I recompiled version 9.0.1.0 under that new kernel version

Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Andrew Chen
Thanks Alex. So it turns out my rtpengine stopped working after our latest kernel upgrade to: Linux sjomainrtpe30 5.3.0-1035-aws #37-Ubuntu SMP Sun Sep 6 01:17:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux at the time, I was running an older version 8.0.x so I recompiled all the ngcp packages

[SR-Users] RTPENGINE question

2020-09-11 Thread Andrew Chen
Hey guys, Is this the right place to ask about rtpengine (ngcp) related issues with kernel packet forwarding? Thanks. -- Andy Chen Sr. Telephony Lead Engineer achen@ fuze.com -- *Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you

Re: [SR-Users] Is there any way to remove stale registrations before expires time from usrloc ?

2020-09-11 Thread Juha Heinanen
sagar malam writes: > I have tried ul_rm_contact but it is not working : > curl POST --data > '{"jsonrpc":"2.0","method":"ul.rm_contact","params":{"0":"location","1":" > 30...@x.com >

Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Daniel-Constantin Mierla
Related to tainted kernel, I faced the same issue when I deployed rtpengine on a Suse Enterprise many months ago, so I do not really remember the exact steps, but there is a way to disable the check of signed kernel modules (iirc, these are only the ones coming from the kernel source tree, so if

Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Richard Fuchs
On 11/09/2020 15.29, Andrew Chen wrote: Thanks Alex. So it turns out my rtpengine stopped working after our latest kernel upgrade to: Linux sjomainrtpe30 5.3.0-1035-aws #37-Ubuntu SMP Sun Sep 6 01:17:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux at the time, I was running an older version

Re: [SR-Users] RTPENGINE question

2020-09-11 Thread Alex Balashov
There is an RTPEngine mailing list, I believe, but RTPEngine questions are often posed here given its close association with Kamailio. What's going on? On 9/11/20 2:57 PM, Andrew Chen wrote: Hey guys, Is this the right place to ask about rtpengine (ngcp) related issues with kernel packet

[SR-Users] Is there any way to remove stale registrations before expires time from usrloc ?

2020-09-11 Thread Juha Heinanen
sagar malam writes: > I am using the usrloc module to store registrations. I could not find any > way to remove stale registrations before expires time. Most of the > registrations are mobile app so they wont run in background to save battery > of phone hence we end up having lots of

Re: [SR-Users] xlog print sdp parameters

2020-09-11 Thread Angel Elena
Ok, thanks for the info. Ángel Elena Medina _o) cr...@craem.net / \\ http://diablo.craem.net _(___V @craem_ www.linkedin.com/in/angel-elena-medina Kopano Webapp. -Original message- From: Henning

Re: [SR-Users] Is there any way to remove stale registrations before expires time from usrloc ?

2020-09-11 Thread David Villasmil
Why not just expire them quickly? On Fri, 11 Sep 2020 at 17:25, sagar malam wrote: > Hello Juha, > > baresip app is interesting. I will look at it. > > I have tried ul_rm_contact but it is not working : > curl POST --data >

Re: [SR-Users] Is there any way to remove stale registrations before expires time from usrloc ?

2020-09-11 Thread sagar malam
Hello Juha, baresip app is interesting. I will look at it. I have tried ul_rm_contact but it is not working : curl POST --data '{"jsonrpc":"2.0","method":"ul.rm_contact","params":{"0":"location","1":" 30...@x.com

Re: [SR-Users] sngrep nor tcpdump showing 5060 traffic but ngrep /kama logs show something ? (outbound call)

2020-09-11 Thread Johnny Ritzer
Thanks. That helps a lot. From: Daniel-Constantin Mierla Date: Thursday, September 10, 2020 at 10:38 PM To: Kamailio (SER) - Users Mailing List , Johnny Ritzer Subject: Re: [SR-Users] sngrep nor tcpdump showing 5060 traffic but ngrep /kama logs show something ? (outbound call) Hello, wss

Re: [SR-Users] Getting memory error on kamailio v5.1.2 tm:Free fragment not found!

2020-09-11 Thread M Arqum CH
Hello Denial , thank you for your reply , i will work on update to 5.1.10, for time being i increase the -M to 256. Thanks On Wed, Sep 9, 2020 at 12:43 PM Daniel-Constantin Mierla wrote: > Hello, > > the 5.1.2 is old, unmaintained at this moment, but you should always run > the latest

Re: [SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Björn Klasen
Hi Henning, i think I've got a solution for this. I just make a check is_known_dialog. If not i reply with 481 I'm just testing, but it seem to work. The carrier is not sending retransmission of the BYE and the call seems to be stable. By the way, the carrier is Telekom so discussions

Re: [SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Henning Westerholt
Hello Björn, 1) about the signalisation The different 180 responses establishing different early dialogs, each with its own to-tag, as required from the standard. The 200 OK for the winning branch will then initialize the dialog. The BYE to this dialog should include the winning branch to-tag

Re: [SR-Users] How to check which memory allocator kamailio is using ?

2020-09-11 Thread Henning Westerholt
Hi Sagar, yes, if you don’t specify one in the cmd line, as mentioned. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: sagar malam Sent: Friday, September 11, 2020 2:25 PM To: Henning Westerholt Cc: Kamailio

[SR-Users] Ynt: Kamailio drop calls with Teams

2020-09-11 Thread egemen ulus
Hi, I am not sure what you exactly try to achieve, but for the record-route parameter, I can provide two options for you. If you are not satisfied with the second record-route, you might remove (remove_hf();) "Record-Route" header before adding a new one via 'record_route_preset'. But I think

Re: [SR-Users] How to check which memory allocator kamailio is using ?

2020-09-11 Thread sagar malam
Hello Henning, It shows all the 3 types of allocators. Does that mean that default(q_malloc) one is used ? [root@SBC-4-2 ~]# kamailio -I Print out of kamailio internals Version: kamailio 5.4.0 (x86_64/linux) 6c4fce Default config: /usr/local/etc/kamailio/kamailio.cfg Default paths to modules:

Re: [SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Björn Klasen
Hi Hennning, loose_route() is what we are using. But we use also dialog module for call counting etc. We did not really change the default config. This is the snippet in our config.     if (has_totag()) {     # sequential requests within a dialog should     # take

Re: [SR-Users] xlog print sdp parameters

2020-09-11 Thread Henning Westerholt
Hello, you can use e.g. https://www.kamailio.org/docs/modules/stable/modules/sdpops.html#idm239 to print in all xlog. Have a look to the other functions to get access to certain lines. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

[SR-Users] xlog print sdp parameters

2020-09-11 Thread Angel Elena
Hi, good moorning. I have a Kamailio 4.4.7 in a debian box and I need print with xlog (if is possible) the o,c and m values from SDP headers. Is possible make a xlog() print this parameters with sdpops module or another ? Thanks Ángel Elena Medina _o)

Re: [SR-Users] Kamailio drop calls with Teams

2020-09-11 Thread sip user
Any idea? Can i change that second récord router? Thanks El lun., 7 sept. 2020 8:42, sip user escribió: > Hi I've tried to add record_route_preset( > "yourdomain.com:5061;transport=tls", > "your_ip:5060" ) in incoming calls, call, from Teams to Asterisk, and with > sipdump I see that: >

[SR-Users] Ynt: Using Kamalio as a proxy for internal servers

2020-09-11 Thread egemen ulus
You can use force socket in kamailio.cfg in these ways; 1- force_send_socket(udp:10.10.10.10:5060); or if you want to use variable in it; 2- $fs = "udp" + $var(x) + ":5060": Regards Egemen U. Gönderen: Moshe Katz adına sr-users Gönderildi: 7 Eylül 2020

Re: [SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Henning Westerholt
Hello Björn, I was not referring to dialog stateful routing e.g. with dialog module. I was referring to the loose_route() function in your kamailio.cfg (e.g. compare to the default cfg in github). Maybe you can quote the problematic BYE SIP message here. Cheers, Henning -- Henning

Re: [SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Björn Klasen
Hi Henning, the question is, where to route the BYE, because the first fork is terminated. It's a call-forward not reachable (CFNR) scenario. So your proposal is to route the BYE to callee B after it got already a CANCEL? The BYE is routet in-dialog. But if the Dialog is not known it could

Re: [SR-Users] Using Kamalio as a proxy for internal servers

2020-09-11 Thread Henning Westerholt
Hi Moshe, usually you specify the socket that you be used (either by IP, or in new release by socket name). That can be done in the cfg or also in some modules, e.g. dispatcher. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

[SR-Users] Kamailio does not forward BYE to Asterisk

2020-09-11 Thread egemen ulus
Hi all, I have an infrastructure with Kamailio (reg), Asterisks farm, and Kamailio (4.3) proxy which dispatches calls. Trunk-1 (Vlan_A) Kam(reg) <> Asterisk Farm (5) <> Kam(proxy) <>

Re: [SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Henning Westerholt
Hello Björn, if I understood your scenario correct: what about just forwarding the BYE normally? It should be usually routed as in-dialog request without any transaction matching. What do you mean with "Kamailio doesn't know anything about it, so it does not reply". BTW, you should think

[SR-Users] How to handle BYE in case of serial fork

2020-09-11 Thread Björn Klasen
Hi we are using Kamailio 4.3.7 and I have a question concerning BYE handling. We have the following situation: A carrier a call to us. We are forwarding the call to the destination, but it does not pick up the call. We have call-forward active with use of tm module, so we forward the call to