[OpenSIPS-Users] mid_registrar multi domains
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Mar 31 14:36:12 UTC 2022
Hi Andrei,
You MUST NOT change the auth username as you will break the whole
authentication process. The username is part of alg. for computing the
auth result. So, if you change the auth uername, the auth result will
become invalid.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
https://opensips.org/training/OpenSIPS_eBootcamp_2022/
On 3/28/22 10:55 AM, Andrei G. wrote:
> Hi,
>
> How do I modify the field "Authorization: Digest username" in REGISTER
> packet?
>
> tried with uac_replace_to(,"user at asterisk1") and
> uac_replace_from(,"user at asterisk1") but it does affect only to and
> from headers not digest username
>
> thanks
> Andrei
>
>
>
>
> On Thu, Mar 24, 2022 at 4:20 AM Artiom Druz <artiom.druz at gmail.com
> <mailto:artiom.druz at gmail.com>> wrote:
>
> Hello, Andrei.
> You can do that by taking $tU (user from "To" header) and using
> some transformation function. In your example can be used s.select
> function.
> (https://www.opensips.org/Documentation/Script-Tran-3-2#toc7
> <https://www.opensips.org/Documentation/Script-Tran-3-2#toc7>)
>
> Best regards,
> Artiom Druz
>
> ср, 23 мар. 2022 г., 21:11 Andrei G. <andreigrav at gmail.com
> <mailto:andreigrav at gmail.com>>:
>
> Hey guys,
>
> I successfully tested opensips with mid_registrar for one domain
>
> Is it possible to use opensips in front of 2 asterisk boxes
> and redirect registrations based on a prefix username, not
> domain prefix?
>
> Something like
> asterisk1-user at mid-registrar.domain - where opensips manage
> registration for user at asterisk1
> asterisk2-user at mid-registrar.domain - where opensips manage
> registration for user at asterisk2
>
> Regards
> Andrei G.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220331/d519df03/attachment-0001.html>
More information about the Users
mailing list