Hi Andrew! I guess the socket „company1.sbc.mycompany.com:5061“ is not known to opensips. Since there is no socket name alias (or is it meanwhile?) like in kamailio you will need to set the socket manually. Pls correct me, if Im wrong.
br Walter Am 21.08.2025 um 12:11 schrieb Andrew <andrey55...@gmail.com>: Hi, all I am working on an MS Teams SBC for multiple tenants. I use OpenSIPS without topology hiding so I add Record-Route headers. For each tenant I have to add its own domain like company1.sbc.mycompany.com<http://company1.sbc.mycompany.com/> and so on. Domains are correctly resolved to the same IP as sbc.mycompany.com<http://sbc.mycompany.com/>. They should be subdomains of sbc.mycompany.com<http://sbc.mycompany.com/> . The main domain sbc.mycompany.com<http://sbc.mycompany.com/> should also be added when receiving calls from MS so that they can send us sequential requests (like BYE). I use record_route_preset("company1.sbc.mycompany.com:5061;transport=tls", "LAN_IP:5060") for that as it's written here https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/ For calls from MS, I just change the order of the headers - record_route_preset("LAN_IP:5060", "sbc.mycompany.com:5061;transport=tls"). My calls work both ways but I receive the following warning WARNING:rr:after_loose: no socket found to match 2nd RR after doing loose_route() . What are the consequences of this warning? I've already experienced one consequence: when I receive a BYE, OpenSIPS doesn't set the socket_out variable, but the actual packet is sent from the correct socket(or is it just luck?). Should I set the socket manually? Best regards, Andrew. _______________________________________________ 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