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)
Best regards, Artiom Druz ср, 23 мар. 2022 г., 21:11 Andrei G. <andreig...@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@mid-registrar.domain - where opensips manage registration > for user@asterisk1 > asterisk2-user@mid-registrar.domain - where opensips manage registration > for user@asterisk2 > > Regards > Andrei G. > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users