Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-22 Thread Daren FERREIRA
Hi John, I use the same record_route_preset() commands on my setup. After more searches about my issue I found threads pointing invalid RURI and the cause to be Contact patching that should be done only for OPTIONS. I made some more tests, removed contact patching on initial requests (also

Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-22 Thread John Burke via Users
Hey Daren, You can use any combo of interface / protocol that you want and RR/loose-routing should handle it.  I have deployed SBCs in a similar topology as you describe (no Topology Hiding). In such a case, you should see a couple RR headers added by OpenSIPS: 1 for the TLS leg to MS and 1

Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-21 Thread Daren FERREIRA
Hey John, I made some more tests and, indeed, domain is well used by loose_route my problem is: On both cases, the most important informations are $socket_out and $du I print on my log messages: If domain is defined and known, is is considered as local but socket and $du are emptied

Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-21 Thread Daren FERREIRA
Hello Karsten, Of course I did, that was my first reference ;-) Have a nice day too Daren > Le 21 févr. 2023 à 16:48, Karsten Wemheuer a écrit : > > Hi Daren, > > because you mention MS Teams: do you know the blogpost "OpenSIPS as MS > Teams SBC" [1]? Maybe the description will help you. >

Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-21 Thread Karsten Wemheuer
Hi Daren, because you mention MS Teams: do you know the blogpost "OpenSIPS as MS Teams SBC" [1]? Maybe the description will help you. Have a nice day, Karsten [1] https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/ Am Dienstag, dem 21.02.2023 um 15:30 +0100 schrieb Daren FERREIRA: >

Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-21 Thread Daren FERREIRA
Hi John, Everything I read, even in the opensips source code (grep_sock_info_ext function) shows it is only comparing Route headers values to its local IP addresses. Whatever I set, comparison is always made with IPs not FQDN. I do use domain modules for other tests and functions but according

Re: [OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-21 Thread John Burke via Users
Hey Daren, Aliases should work I believe, however, you can also use the domain module[1] to dynamically maintain “local” FQDNs. [1] https://opensips.org/docs/modules/devel/domain.html Sent from my iPhone > On Feb 21, 2023, at 8:33 AM, Daren FERREIRA wrote: > > Hello, > > According to my

[OpenSIPS-Users] OpenSIPS and Teams - Route headers and FQDN

2023-02-21 Thread Daren FERREIRA
Hello, According to my understanding of OpenSIPS Route headers management with loose_route function, it is only able to test matching between local listening IP addresses and Route headers, not with FQDN. In other words, if FQDN are presents in Route headers, they are compared to local IP