<p><b>@gaaf</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/1832#discussion_r303426046">src/modules/dialog/dlg_handlers.c</a>:</p>
<pre style='color:#555'>> +            /* skip_recs contains the number of RR's for the callee */
+               skip_recs -= own_rr;
+               /* Add local RR's to caller's routeset */
+               if( print_rr_body(msg->record_route, &rr_set, DLG_CALLER_LEG,
+                                &skip_recs) != 0) {
+                       LM_ERR("failed to print route records \n");
+                       goto error0;
+               }
+               LM_DBG("updating caller route_set %.*s\n",
+                       rr_set.len, rr_set.s);
+               if (dlg_update_rr_set( dlg, DLG_CALLER_LEG, &rr_set)!=0) {
+                       LM_ERR("dlg_update_rr_set failed\n");
+                       if (rr_set.s) pkg_free(rr_set.s);
+                       goto error0;
+               }
+               if (rr_set.s) pkg_free(rr_set.s);
</pre>
<p>see above</p>

<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/pull/1832?email_source=notifications&email_token=ABO7UZKO7BKZEYOGFOXDJYLP7RZK3A5CNFSM4GTY76Q2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB6NN4RA#discussion_r303426046">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJC6JHL2JTJQA2ENYTP7RZK3ANCNFSM4GTY76QQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZOCJ6PMUJKTTPX56NTP7RZK3A5CNFSM4GTY76Q2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB6NN4RA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1832?email_source=notifications\u0026email_token=ABO7UZKO7BKZEYOGFOXDJYLP7RZK3A5CNFSM4GTY76Q2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB6NN4RA#discussion_r303426046",
"url": "https://github.com/kamailio/kamailio/pull/1832?email_source=notifications\u0026email_token=ABO7UZKO7BKZEYOGFOXDJYLP7RZK3A5CNFSM4GTY76Q2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB6NN4RA#discussion_r303426046",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>