Patent ID: 8385328

Claim:
An apparatus for providing a mirroring service in a Voice over Internet Protocol (VoIP) system including an Internet Protocol-Private Branch Exchange (IP-PBX), which transmits/receives Real Time Protocol (RTP) packets, the apparatus comprising: an RTP packet transmission startup detector configured to: detect a call session with a specific Internet Protocol (IP) terminal by identifying a header of an RTP packet provided through a mirroring port of the IP-PBX; determine a type of the call session by comparing an originating identifier in the RTP packet to an initialized value and a destination identifier in the RTP packet to the initialized value; and when the type of the call session comprises a first call session for a voice-storing thread, assign the type to be an existing call session type; an RTP packet transmission termination detector configured to detect whether or not the call session with a specific IP terminal has terminated based on whether or not an RTP Control Protocol (RTCP) packet received through the mirroring port of the IP-PBX has been transmitted for a predetermined time; and a mirroring processor configured to store the RTP packet provided through the mirroring port in a packet memory in response to the RTP packet transmission startup detector detecting the call session and to stop storing the RTP packet in the packet memory in response to the RTP packet transmission termination detector detecting that the call session is terminated.