<p>Looks like it, I don't see the data being added to the DB on port 3306, have to further debug it.<br>
Thanks for the fix and for your time.</p>
<pre><code>event_route[sipcapture:request] {

        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>Those log lines produce an "error" log, kind of misleading</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-342075959">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZUGkJADQ8QnvnWW3C7RK5nDESafvks5szsDfgaJpZM4QOfj5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZYqihtVjjZAU4pxIlO7YYS3uCPEJks5szsDfgaJpZM4QOfj5.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-342075959"></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: Looks like it, I don't see the data being added to the DB on port 3306, have to further debug it. \r\nThanks for the fix and for your time. \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\nThose log lines produce an \"error\" log, kind of misleading"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1294#issuecomment-342075959"}}}</script>