No, you should use either record_route() or record_route_preset(), not both of them for the same request.
Cheers,
Daniel
One other question. Do I need to run record_route() after I run record_route_preset(string1, string2)? I tried this and the Record-Route doesn't show presets I defined.
On Fri, Feb 10, 2017 at 9:25 AM, Andy Chen <achen@fuze.com> wrote:
So the ingress is actually TLS -> our VIP address and I see that as the second record.
The first record shows the physical interface of the system with no transport value so it's always defaulting to UDP. I need to set this particular header to use transport=tcp so subsequent UPDATE messages from the server will use TCP throughout the call.--
On Fri, Feb 10, 2017 at 9:05 AM, Alex Balashov <abalashov@evaristesys.com> wrote:
What is the actual goal? If one of the RRs is generated by an ingress
out of a TCP listener, it should already have ;transport=TCP in it.
> ______________________________
On Fri, Feb 10, 2017 at 08:53:56AM -0800, Andy Chen wrote:
> Hi all,
>
> I need some advise on how to use the record_route() function. So I make
> that call when the first method comes in and there are two Record-Route
> headers created. However, one of of the headers I want to add
> transport=tcp. What is the best way to do this?
>
> I've tried adding that string per documentation within the () and added it
> to both.
>
> Thanks.
>
>
> --
> Andy Chen
_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-user s
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-user s
Andy Chen
--
Andy Chen
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com