LOG4CXX_DEBUG(s_log, "SIP BYE");
LOG4CXX_DEBUG(s_sipPacketLog, "SIP BYE");
bool TrySipBye(EthernetHeaderStruct* ethernetHeader, IpHeaderStruct* ipHeader, UdpHeaderStruct* udpHeader, u_char* udpPayload){	bool result = false;	if (memcmp("BYE", (void*)udpPayload, 1) == 0)	{		result = true;		int sipLength = ntohs(udpHeader->len);		char* sipEnd = (char*)udpPayload + sipLength;		SipByeInfo info;		char* callIdField = memFindAfter("Call-ID: ", (char*)udpPayload, sipEnd);		if(callIdField)		{			GrabToken(callIdField, info.m_callId);			RtpSessionsSingleton::instance()->ReportSipBye(info);		}		LOG4CXX_DEBUG(s_log, "SIP BYE");	}	return result;}