<p>wrong record-route while adding another record route .<br>
``<br>
Record-Route: sip:2600:1F1C:74E:E100:E89F:BEB1:10AF:1CB1:5060;transport=tcp;r2=on;lr=on;ftag=V4Zw5Cjy7MeoxT-YKzAqq0bejH2jMVbe;did=8a9.3ae2</p>
<h3>Possible Solutions</h3>
<p>``</p>

<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>root@ip-172-31-0-35:/usr/local/src/kamailio/src/modules# kamailio -version
version: kamailio 5.0.4 (x86_64/linux) 
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown 
compiled on 05:47:18 Oct 31 2017 with unknown
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>------------------------------------------------------------------------
   INVITE sip:+919967609476ipv6-phone.voice.plivodev.com@ms.voice.plivodev.com:5060 SIP/2.0
   Record-Route: <sip:2600:1F1C:74E:E100:E89F:BEB1:10AF:1CB1:5060;transport=tcp;r2=on;lr=on;ftag=V4Zw5Cjy7MeoxT-YKzAqq0bejH2jMVbe;did=8a9.3ae2>
   Record-Route: <sip:[2600:1F1C:74E:E100:E89F:BEB1:10AF:1CB1]:5061;transport=tls;r2=on;lr=on;ftag=V4Zw5Cjy7MeoxT-YKzAqq0bejH2jMVbe;did=8a9.3ae2>
   Via: SIP/2.0/TCP [2600:1F1C:74E:E100:E89F:BEB1:10AF:1CB1]:5060;branch=z9hG4bKf213.7fbb49d8d95b8d23065d4f15e2cc852e.0;i=1
   Via: SIP/2.0/TLS [2001:FD0:3200:174:A590:5860:61F5:384B]:50085;received=2001:FD0:3200:174:A590:5860:61F5:384B;rport=50085;branch=z9hG4bKPjhuMfZXOwOBBco.KIFMjJGDEKUlNL6H5l;alias
   Max-Forwards: 69
   From: sip:snsone170720062259@ipv6-phone.voice.plivodev.com;tag=V4Zw5Cjy7MeoxT-YKzAqq0bejH2jMVbe
   To: sip:+919967609476ipv6-phone.voice.plivodev.com@ipv6-phone.voice.plivodev.com
   Contact: <sip:snsone170720062259@[2001:fd0:3200:174:a590:5860:61f5:384b]:50085;transport=TLS;app_id=30eb1c5ce0951e0a3cbb9d1b6ecf5c03a51b8a9f5eaf78c905edfa239a769471;ob>
   Call-ID: fI3AeG7mpYKJ9cxL-bIAnEkcBjh9I.gz
   CSeq: 2732 INVITE
   Route: <sip:ipv6-phone.voice.plivodev.com;transport=tls;lr>
   Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
   Supported: replaces, 100rel, timer, norefersub
   Session-Expires: 1800

</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1313">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Ze5h-PlXD6ut9ouAPCCi4NFBCFIyks5s2W2AgaJpZM4QdILb">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZQnlgskZe4RtqS4XzKYf3NfDHLKZks5s2W2AgaJpZM4QdILb.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1313"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"error in adding another record route while forwarding call from tls client to tcp gateway (#1313)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1313"}}}</script>