[SR-Users] R-R to MS Teams Proxy

Juha Heinanen jh at tutpro.com
Thu Feb 11 09:52:39 CET 2021


Daniel-Constantin Mierla writes:

> I think the parameters are added even if you use the
> record_route_preset(), isn't it? If you use add_rr_param() and this
> function, the params are not showing up in headers?

Daniel,

That exactly is the problem.  If I call  record_route_preset() and after
that add_rr_param(), the params are not added.

I just made a test:

            record_route_preset("teams.tutpro.com:8007;transport=tls;bc",
                "127.0.0.1:5070;transport=tcp;bc");
            add_rr_param(";r2=on");

and this is what is sent out:

Record-Route: <sip:teams.tutpro.com:8007;transport=tls;bc;lr>
Record-Route: <sip:127.0.0.1:5070;transport=tcp;bc;lr>

It may be a bug in Kamailio, since the OpenSIPS doc tells to do that:

record_route_preset("LAN_IP:5060", "SBC_FQDN:5061;transport=tls");
add_rr_param(";r2=on");

-- Juha



More information about the sr-users mailing list