Skip to content
Lorenzo Mangani edited this page Oct 30, 2017 · 9 revisions

In order for captagent to correlate and pair SIP SDP Sessions to RTCP packets, the following configuration block should be uncommented in the sip_capture_plan.cfg:

if(sip_has_sdp())
	{
		#Activate it for RTCP checks
		if(!check_rtcp_ipport())
		{
			clog("ERROR", "SDP SESSION ALREADY EXISTS!");
		}
	}

This will produce a match for the is_rtcp_exist() function in the rtcp_capture_plan.cfg scope to inject a correlation ID and return results in HOMER.

NAT

When the SDP details are reporting masqueraded or private IP ranges, the nat-mode switch can be enabled to force Captagent to use the received address for matching media sessions. Settings enabled by module database_hash should be applied in file database_hash.xml :

<?xml version="1.0"?>
<document type="captagent_module/xml">
    <module name="database_hash" description="HASH Database" serial="2014010402">
	<profile name="database_hash" description="HASH RTCP" enable="true" serial="2014010402">
	    <settings>
		<param name="timer-expire" value="80"/>
		 <!-- enable if you have nat devices and masqaraded ip -->
		 <param name="nat-mode" value="true"/>		    
	    </settings>
	</profile>
    </module>
</document>