[OpenSIPS-Users] TLS to UDP, record route

Miha miha at softnet.si
Mon May 17 07:56:32 EST 2021


Hello

i need a little help how to chnage RR in responses to UDP GW (requestes 
goes via TLS to MS teams).

So in reply i have like this:
  RECORD-ROUTE: 
<sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr>,<sip:mtsbc.test.com:5061;transport=tls;lr;r2=on;xyz=2c.8dc02121>.

But i should have like this: RECORD-ROUTE: 
<sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr>,<sip:xxx.xxx.xxx.xxxx;transport=udp;lr;r2=on;xyz=2c.8dc02121>.

I tried to do it like:  
subst_uri('/mtsbc.test.com:5061;transport=tls/xxx.xxx.xxx.xxxx:5060/i'); 
but it does not match.


thank you
miha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210517/2082aedc/attachment.html>


More information about the Users mailing list