Re: [OpenSIPS-Users] Cannot get registration to work with v3.2.8??

2022-09-08 Thread Bob Atkins
Iancu, I'm not sure what the point of this would be. Even if it showed that OpenSIPS was calculating incorrectly - then what? The device registers just fine with both asterisk and OpenSER v1.1 with exactly the same parameters. The device is calculating the response correctly for 2 other sys

Re: [OpenSIPS-Users] Cannot get registration to work with v3.2.8??

2022-09-08 Thread Bela H
Bob, OpenSIPS calculates: HA1 field in DB is an MD5 hash of "username:domain:password" At least works for me 😉 From: Bob Atkins Sent: Thursday, 8 September 2022 19:32 To: Bogdan-Andrei Iancu; OpenSIPS users mailling list

Re: [OpenSIPS-Users] Cannot get registration to work with v3.2.8??

2022-09-08 Thread Bogdan-Andrei Iancu
I'm quite sure OpenSIPS is computing the auth correctly, after all you are the only one complaining on this. And the point is to identify which side is not doing the proper computing and eventually see why - it may be a setting, a typo, etc... Just my 2 cents on the matter. Bogdan-Andrei Ianc

Re: [OpenSIPS-Users] Best practices regarding exec module command injection

2022-09-08 Thread Bogdan-Andrei Iancu
Hi Erik, The $tu is the TO URI, so it should follow the URI syntax, which does not allow shell specific chars in it (like " ' | >  aso). So it should be safe. Nevertheless, you should force a URI specific parsing using the {uri} transformation and try to separately push as params the username

Re: [OpenSIPS-Users] Load_Balancing

2022-09-08 Thread Bogdan-Andrei Iancu
Hi Vadim, If you have a cluster of ASterisk servers, each box from the cluster should be able to handle the auth response, even if the challenge was done by a different one. Otherwise it is not a cluster, but a bunch of servers. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Load_Balancing

2022-09-08 Thread Vadim Dumalekov via Users
Thank you for the answer! Yes, of cource. But there is this situation: UAC (INVITE w/o auth) -> OpenSIPS (LB: Ast_1) -> Ast_1 (401 Unauth) UAC (INVITE with auth) -> OpenSIPS (LB: Ast_2) -> Ast_2 (401 Unauth) ... etc, until LB selects the same Asterisk for two INVITE`s (w/o auth and with

Re: [OpenSIPS-Users] Cannot get registration to work with v3.2.8??

2022-09-08 Thread Bob Atkins
Iancu, I understand your thought process. I certainly understand that However, same device, exactly the same credentials and it authenticates properly against 2 other systems. They can't both be wrong and OpenSIPS be correct. For reference this is what I have installed: version: opensips 3.2

[OpenSIPS-Users] proto_smpp

2022-09-08 Thread Aleksandar Lolic
Hi, Couple questions related to proto_smpp: 1. Does proto_smpp support long message segmentation and concatenation (UDH and/or TLV). 2. Multilanguage support. 3. Support for SMPP over TLS. Thank you Aleksandar -- NOTE: This email message and any attachments are f

Re: [OpenSIPS-Users] Load_Balancing

2022-09-08 Thread Bogdan-Andrei Iancu
Hi, Considering the fact that Ast_2 cannot perform auth on a challenge done by Ast_1, you should re-consider the routing logic in OpenSIPS, and not to use LB, but rather dispatcher with hashing over call-id for example. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://w