[sr-dev] [kamailio/kamailio] kamailio as sipcapture node, hep3 over tcp (#1294)

Amit Zigelman notifications at github.com
Thu Nov 2 12:45:13 CET 2017


Hi, thanks for the prompt reply. Yes I have as far as I can tell:

`#new event sipcapture socket
modparam("sipcapture", "nonsip_hook", 1)

...

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;
	}
}`

Did I miss anything?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1294#issuecomment-341396830
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171102/80b07b4f/attachment-0001.html>


More information about the sr-dev mailing list