[SR-Users] record_route() function

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 13 12:17:53 CET 2017



On 10/02/2017 18:25, Andy Chen 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.

Did you received the request over UDP, but you want to receive the next
requests within the dialog via TCP?

Cheers,
Daniel

>
> On Fri, Feb 10, 2017 at 9:05 AM, Alex Balashov
> <abalashov at evaristesys.com <mailto:abalashov at 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 at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>     <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
>
>     --
>     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 at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>     <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
>
>
>
> -- 
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen at thinkingphones.com <mailto:achen at thinkingphones.com>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170213/f4d45c79/attachment.html>


More information about the sr-users mailing list