[OpenSIPS-Users] Cluster (anycast) adds extra hex 00 in the tail to replicated responses.

2023-01-03 Thread Denys Pozniak
Hello! I'm trying to build a classic anycast cluster topology with two OpenSIPS nodes, in which requests are processed by one proxy and responses by another. The client and server are emulated via baresip. But I ran into a problem in that the replicated responses have an extra 00 in the tail of

Re: [OpenSIPS-Users] REPLICATION / SQL_CACHER / Local CacheDB Collection

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Wadii, By internal design, the sql_cacher cannot work with a cache that may change the data by itself (like via replication) - in order to properly work, sql_cacher MUST be the only one manipulating the data in the cache. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] TLS verify client

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Matt, I guess the "require_cert" should 0 for both domains, right ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/ On 12/23/22 9:55 PM, L

Re: [OpenSIPS-Users] b2b_logic modules and transport protocol (TCP/TLS) conversion

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Ross, before creating the client, try to force the outbound socket to a TCP one https://opensips.org/Documentation/Script-CoreVar-3-2#socket_out Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online

Re: [OpenSIPS-Users] suspend transaction

2023-01-03 Thread Bogdan-Andrei Iancu
Hi, I don't think there was a t_suspend() ever in OpenSIPS. In which version were you using it?? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online

Re: [OpenSIPS-Users] special characters on password field

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Andrei, it looks like some escaping is needed. Please open a bug report (with this issue) here https://github.com/OpenSIPS/opensips-cli Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online

Re: [OpenSIPS-Users] Help to Make Call to A Gateway

2023-01-03 Thread Bogdan-Andrei Iancu
Hi, Take a look at the drouting module [1]. For a working script, see the auto-generated cfg [2] , the residential option. [1] https://opensips.org/html/docs/modules/3.2.x/drouting.html [2] https://www.opensips.org/Documentation/Generating-Configs-3-2 Regards, Bogdan-Andrei Iancu OpenSIPS

Re: [OpenSIPS-Users] wss and tls

2023-01-03 Thread Bogdan-Andrei Iancu
Hi, Check with tcpdump to see what happens at TCP layer - it may be the client closing the conn while opensips is performing the accept. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online

Re: [OpenSIPS-Users] disabling / filtering some logs

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Kingsley, Unfortunately that is not possible, you can control via the log_level the verbosity of the opensips code (all of it) and via the xlog_level the verbosity of the script logs. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com

Re: [OpenSIPS-Users] mid_registrar and vpn and nat

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Alberto, Yes, in the registration record the Contact URI is kept as received and the "fixed" src IP is stored into the "received" field. Upon lookup the contact URI goes into RURI (as you observed) and the "received" goes into dst_uri (destination URI) or $du. When OpenSIPS relays, the $du

Re: [OpenSIPS-Users] RTPPROXY / OPENSIPS

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Wadii, I haven;t checked the implementation, but the rtpproxy_engage should take care of the 183 with SDP. Have you tested it? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online

Re: [OpenSIPS-Users] OpenSIPS Equivalent to Kamailio's cfg_get

2023-01-03 Thread Bogdan-Andrei Iancu
Hi David, not sure what this cfg_get is suppose to do :( Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 5-16 Dec 2022, online https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/ On 12/27/22 1:35 PM, David Villasmil