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
and so on. Domains are correctly resolved to the same IP as
sbc.mycompany.com. They should be subdomains of sbc.mycompany.com . The
main domain 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

Reply via email to