<h3>Description</h3>
<p>If modparam("siptrace", "trace_mode", 1) then setting hep_capture_id is ignored.<br>
Running version: kamailio 5.2.1</p>
<p>root@ingress01-nyj:/usr/local/kamailio/etc/kamailio# uname -a<br>
Linux ingress01-nyj 4.4.0-140-generic <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="78968907" data-permission-text="Issue title is private" data-url="https://github.com/kamailio/kamailio/issues/166" data-hovercard-type="pull_request" data-hovercard-url="/kamailio/kamailio/pull/166/hovercard" href="https://github.com/kamailio/kamailio/pull/166">#166</a>-Ubuntu SMP Wed Nov 14 20:09:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</p>
<h3>Troubleshooting</h3>
<p>If I manually call sip_capture() or setflag(22), the capture_id is sent properly but if I use trace_mode=1, capture_id is always set to 1.</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/1838">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZQPh-LcSHBi_RyJTVvM03qw5LlFtks5vKn5AgaJpZM4akqD4">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZT7kQwAdpYkJKH3sbHcKY1UcXSnUks5vKn5AgaJpZM4akqD4.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":"DESCRIPTION","message":"SIPTrace trace_mode=1 does not respect hep_capture_id (#1838)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1838"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1838",
"url": "https://github.com/kamailio/kamailio/issues/1838",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>