[SR-Users] Record Route Parameters

Mojtaba mespio at gmail.com
Sat Sep 15 08:35:35 CEST 2018


Hi,
As Alex mentioned, "they will not be changed by comaliance UA", But be
notice that if you want to relay your request to other network, and
these is a SBC on upstream networks, These parameters could be removed
by them, As in your Kamailio as SBC, you remove all record_route, and
add its IP as record_route.

remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
       record_route();
}
With Regards.Mojtaba
On Fri, Sep 14, 2018 at 6:24 PM Alex Balashov <abalashov at evaristesys.com> wrote:
>
> They will not be changed by compliance user agents. In that sense it's safe. However, be mindful of the fact that these parameters can be intercepted or altered by a malicious user agent, and that adding them in multiplicity contributes to the overall size of the message.
>
> --
> Sent from mobile. Apologies for brevity and errors.
>
> -----Original Message-----
> From: Duarte Rocha <duarterocha91 at gmail.com>
> To: sr-users at lists.kamailio.org
> Sent: Fri, 14 Sep 2018 9:46 AM
> Subject: [SR-Users] Record Route Parameters
>
> Greetings,
>
> I have Kamailio as an SBC with mutiple IP's and I need to save some
> information in the first Invite about the routing made internally in the
> Kamailio.
>
> I'm thinking about adding some parameters to Record-Route and retrieve them
> in the Route header. Is this safe ? Can I be sure that those parameters
> won't be deleted or changed?
>
> Best Regards,
>
> Duarte Rocha
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



-- 
--Mojtaba Esfandiari.S



More information about the sr-users mailing list