Patent ID: 7773983

Claim:
An application filtering apparatus for controlling a session, which is coupled to a network which is coupled to a plurality of terminal devices, a first server for managing subscriber information of the terminal devices, and a second server for providing a service to the terminal devices, the application filtering apparatus comprising: an interface coupled to the network; a processor coupled to the interface; and a memory coupled to the processor, wherein the application filtering apparatus is configured to: obtain the subscriber information from the first server; obtain, when one of the terminal devices sends a session control message to the second server, an identifier of the terminal device that has sent the received session control message; send, based on the obtained subscriber information and the obtained identifier of the terminal device, an instruction to activate the service to the second server via the interface; store, in the memory, information indicating a correlation between the obtained identifier of the terminal device and an identifier of the second server; receive a response to the instruction to activate the service from the second server; obtain, from the received response, an identifier of the service to be activated, which is created by the second server which receives the instruction to activate the service; store, in the memory, information indicating a correlation between the obtained identifier of the terminal device and the obtained identifier of the service; and control access to the second server from the terminal device based on the information on the correlation between the identifier of the terminal device and the identifier of the second server which is stored in the memory.