<p>Hi, thanks for the prompt reply. Yes I have as far as I can tell:</p>
<p>`#new event sipcapture socket<br>
modparam("sipcapture", "nonsip_hook", 1)</p>
<p>...</p>
<p>event_route[sipcapture:request] {</p>
<pre><code>xlog("HEP Request!\n");
xlog("received sipcapture request from $si:$sp\n");
xlog("HEP VERSION $hep(version) request from $si:$sp\n");
xlog("HEP CHUNK Source IP $hep(0x002) request from $si:$sp\n");

#Is it SIP ?
if($hep(0x00b) == 1)
{

        #Do parsing internal
        return 1;
}
else
{
        #If report lets proceed here with payload
        xlog("HEP CHUNK PAYLOAD $hep(0x00f) request from $si:$sp\n");
        return 0;
}
</code></pre>
<p>}`</p>
<p>Did I miss anything?</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/1294#issuecomment-341396830">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Za1t6FxtPlIBLdmOIV6TGnuh7oPvks5syatJgaJpZM4QOfj5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZW3_WQyhWoDq_yat-gOvkFOPEUq2ks5syatJgaJpZM4QOfj5.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/1294#issuecomment-341396830"></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":"PERSON","message":"@azigelman in #1294: Hi, thanks for the prompt reply. Yes I have as far as I can tell:\r\n\r\n`#new event sipcapture socket\r\nmodparam(\"sipcapture\", \"nonsip_hook\", 1)\r\n\r\n...\r\n\r\nevent_route[sipcapture:request] {\r\n\r\n\txlog(\"HEP Request!\\n\");\r\n\txlog(\"received sipcapture request from $si:$sp\\n\");\r\n\txlog(\"HEP VERSION $hep(version) request from $si:$sp\\n\");\r\n\txlog(\"HEP CHUNK Source IP $hep(0x002) request from $si:$sp\\n\");\r\n\r\n\t#Is it SIP ?\r\n\tif($hep(0x00b) == 1)\r\n\t{\r\n\r\n\t\t#Do parsing internal\r\n\t\treturn 1;\r\n\t}\r\n\telse\r\n\t{\r\n\t\t#If report lets proceed here with payload\r\n\t\txlog(\"HEP CHUNK PAYLOAD $hep(0x00f) request from $si:$sp\\n\");\r\n\t\treturn 0;\r\n\t}\r\n}`\r\n\r\nDid I miss anything?"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1294#issuecomment-341396830"}}}</script>