<p>R-URI is always the first branch and append_branch() functions add additional destinations. So if you do 2 append_branch(), you end up with 3 destinations.</p>
<p>If you want to modify r-uri, assign to $ru or use sbranch functions from pv module.</p>
<p>If you want to discuss further on this topic, write a message to <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a> mailing list.</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/issues/1879#issuecomment-470578666">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZWGrnSb6Wm-0MwdReS_7NVLCSHDfks5vUTSmgaJpZM4bdsbR">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZagfyV1nBRiqp3lFUD2f9mPnClv4ks5vUTSmgaJpZM4bdsbR.gif" height="1" width="1" alt="" /></p>
<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://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1879: R-URI is always the first branch and append_branch() functions add additional destinations. So if you do 2 append_branch(), you end up with 3 destinations.\r\n\r\nIf you want to modify r-uri, assign to $ru or use sbranch functions from pv module.\r\n\r\nIf you want to discuss further on this topic, write a message to sr-users@lists.kamailio.org mailing list."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1879#issuecomment-470578666"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1879#issuecomment-470578666",
"url": "https://github.com/kamailio/kamailio/issues/1879#issuecomment-470578666",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>