Re: [OpenSIPS-Users] Dumb ass question

2021-06-11 Thread Slava Bendersky via Users
Hello Johan, You can use something like this route[ONHOLD] { if(!is_audio_on_hold()) return; $var(cline-ip) = NULL; if(has_body("application/sdp")) { if(search_body("a=sendonly") || search_body("a=inactive")) { $var(cline-ip) = $(rb{sdp.line,c}{s.select,2, }); xlog("[$rm] On hold

Re: [OpenSIPS-Users] 3.1 - Mid_Registrar - AOR throttling with WebRTC failing

2020-08-21 Thread Slava Bendersky via Users
Please check contact header. volga629 From: "Mark Allen" To: "OpenSIPS users mailling list" Sent: Friday, August 21, 2020 8:08:18 AM Subject: Re: [OpenSIPS-Users] 3.1 - Mid_Registrar - AOR throttling with WebRTC failing I've not received any feedback on this regarding whether or not

Re: [OpenSIPS-Users] [Crash Report] Weird crash with drouting/tls_mgm/usrloc/db_postgresql

2020-08-11 Thread Slava Bendersky via Users
That commit is helped a lot to identify the problem if opensips can't connect to database, but it not improve stability. Stability is mix protocols and underlining library, opensips just use api to connect, so all mention tweaks are still need it. volga629 From: "Adrien Martin" To:

Re: [OpenSIPS-Users] [Crash Report] Weird crash with drouting/tls_mgm/usrloc/db_postgresql

2020-08-11 Thread Slava Bendersky via Users
Hello Everyone, You need tweak sysctl and postgresql.conf to allow opensips connect properly to remote postgresql. In opensips I can't pass for any transport udp_worker tcp_worker more then 10. Other wise it starts segfaulting. One opensips open from 150-170 connections to database under load

Re: [OpenSIPS-Users] mid_registrar and topology_hiding

2020-08-05 Thread Slava Bendersky via Users
Hello Liviu, I am working on setup mid_registrar and topology_hiding and having issue with retransmissions and RE-INVITE are failing to route even dialog in place and have to use something like $ru = $tu; then location search, but even this is not working 100%. I tried use C and U flags. I

Re: [OpenSIPS-Users] mid_registrar and topology_hiding

2020-08-05 Thread Slava Bendersky via Users
From: "Yohann Poilvert" To: "OpenSIPS users mailling list" Sent: Wednesday, August 5, 2020 5:28:08 AM Subject: Re: [OpenSIPS-Users] mid_registrar and topology_hiding Hello Liviu ! Great news ! Have you a full config example ? I think it missed "ctid" in the INVITE contact on my

Re: [OpenSIPS-Users] opensips + rtpengine

2020-08-03 Thread Slava Bendersky via Users
Hello Karsten, The solution was for high loads to call delete under relay in my case . In 3.1 you need change $proto. route[RELAY] { if(is_method("INVITE") && $proto=="wss") { t_on_branch("manage_wss"); } else if( is_method("INVITE") && $proto=="tcp|udp") { route(manage_rtp); } else

Re: [OpenSIPS-Users] negative ACK

2020-07-17 Thread Slava Bendersky via Users
-Users] negative ACK Is there a reason why you don't use a normal listener ? And please run netstat -tulpn as I believe that port 8443 is closed. wkr, Forwarded Message Subject:[OpenSIPS-Users] negative ACK Date: Thu, 16 Jul 2020 22:40:05 -0400 (EDT) From: Slava Bendersky via

[OpenSIPS-Users] negative ACK

2020-07-16 Thread Slava Bendersky via Users
Hello Everyone, What possible reason that port portion is ignored here in loose route with ACK method. That latest 3.1-dev Also I wonder if possible maintain aliases domains in database. I set an alias Aliases: wss: gk5ix.doctor.lan:8443 Jul 16 22:37:07 [263361] NOTICE:core:main:

[OpenSIPS-Users] nat helper ping

2020-07-08 Thread Slava Bendersky via Users
Hello Everyone, Based on this conversation [ https://groups.google.com/forum/#!topic/jssip/1D3n2_MJrf8 | https://groups.google.com/forum/#!topic/jssip/1D3n2_MJrf8 ] Opensips is not set user name portion in request uri for NAT helper OPTIONS packet. I found RFC for proxy layer that user name

[OpenSIPS-Users] dialog cluster

2020-06-29 Thread Slava Bendersky via Users
Hello Everyone, With PgSQL dialog module in cluster latest master 3.1-dev active/active setup tries insert duplicate data from each node. This setup contain 3 vips for each node on LAN and WAN sides. /usr/sbin/opensips[1727986]: ERROR:db_postgres:db_postgres_submit_query: 0x7f4eb5e95e28

[OpenSIPS-Users] cluster/cassandra cache

2020-06-09 Thread Slava Bendersky via Users
Hello Everyone, Opensips v3.1 dev can't connect properly to Cassandra cluster. 1591735692.141 [ERROR] (cluster_connector.cpp:190:void datastax::internal::core::ClusterConnector::on_connect(datastax::internal::core::ControlConnector*)): Unable to establish a control connection to host

[OpenSIPS-Users] Help db_postgresql

2020-05-21 Thread Slava Bendersky via Users
Hello Everyone, Opensips Team I really need help with ticket [ https://github.com/OpenSIPS/opensips/issues/2114 | https://github.com/OpenSIPS/opensips/issues/2114 ] . I tested multiply deployments with upcoming 3.1 and impossible connect to remote postgresql database directly to port 5432 or

Re: [OpenSIPS-Users] OpenSIPS as Teams SBC

2020-05-11 Thread Slava Bendersky via Users
Hello All, Microsoft is rely on approved sbc vendors, where most sbc are use VIA and headers to route traffic. That why Contact header is important, also they use from and to. Opensips is rely on route headers and use different way to route it. volga629 From: "John Quick" To: "OpenSIPS

Re: [OpenSIPS-Users] MS Teams REFER transfer on hold.

2020-05-08 Thread Slava Bendersky via Users
that you don't support refer. On 8/05/2020 11:19, Slava Bendersky via Users wrote: Hello Everyone, I am trying put tougher transfer feature with in MS Teams. And based on my research and testing right now is not possible with opensips. MS Teams are sending on hold in case of transfer and

[OpenSIPS-Users] MS Teams REFER transfer on hold.

2020-05-08 Thread Slava Bendersky via Users
Hello Everyone, I am trying put tougher transfer feature with in MS Teams. And based on my research and testing right now is not possible with opensips. MS Teams are sending on hold in case of transfer and onhold as a=inactive. Major problem they require encode/decode params in REFER-TO

[OpenSIPS-Users] MS Teams REFER transfer on hold.

2020-05-08 Thread Slava Bendersky via Users
Hello Everyone, I am trying put tougher transfer feature with MS Teams. And based right now not possible with opensips. MS Teams are sending on hold in case of transfer and onhold. Major problem they require encode/decode params in REFER-TO REFER-BY. Here official requirements doc.

Re: [OpenSIPS-Users] [BLOG] SIP Push Notification with OpenSIPS 3.1 LTS [RFC 8599 support][Part I]

2020-05-07 Thread Slava Bendersky via Users
WOW, Great Thank you !!! volga629 From: "Liviu Chircu" To: "OpenSIPS users mailling list" , "OpenSIPS devel mailling list" , busin...@lists.opensips.org, n...@lists.opensips.org Sent: Thursday, May 7, 2020 3:44:19 PM Subject: [OpenSIPS-Users] [BLOG] SIP Push Notification with OpenSIPS

Re: [OpenSIPS-Users] [BLOG] Shaken, not stirred - the STIR/SHAKEN support in OpenSIPS

2020-01-23 Thread Slava Bendersky via Users
Thank you Bogdan, Will be nice to have NSS certificate management in mix. volga629 Sent from mobile device typos are expected. > On Jan 23, 2020, at 08:34, Bogdan-Andrei Iancu wrote: > >  > There is no doubt about the danger and security threats presented by the > robocalls or identity

Re: [OpenSIPS-Users] opensips lua

2020-01-15 Thread Slava Bendersky via Users
Hello Vlad, In lua script we use \n only in xlog. this repository On Tue, Jan 14, 2020 at 13:37, Vlad Patrascu wrote: I still don't think it is AVP_set function's fault for the whitespaces. Make sure that the string you produce in lua and