Patent ID: 7443842

Claim:
A communication control apparatus for controlling communication among a plurality of networks with a plurality of terminals connected thereto, said communication control apparatus comprising: a plurality of interfaces connected to said plurality of networks; a processor; a first table for making incoming SIP-URI correspond to a plurality of pieces of first incoming-terminal information for properly identifying said plurality of terminals for storage; and a second table for making said first incoming-terminal information correspond to a plurality of pieces of second incoming-terminal information given in advance to each of said plurality of terminals for storage; wherein, when said processor receives a packet from a terminal that belongs to a first network through any of said plurality of interfaces, said processor determines whether an incoming terminal for said packet belongs to said first network or a second network based on first information and second information in said packet and controls communication to connect said outgoing terminal and said incoming terminal depending on each of said first network or said second network, wherein said packet is an SIP (Session Initiation Protocol) packet, and said first information and said second information are an outgoing SIP-URI (Uniform Resource Identifier) and an incoming SIP-URI assigned to an SIP header in said SIP packet, respectively, and wherein said processor, when determining that the incoming terminal for said packet from said first network belongs to the first network, comprises: means for retrieving said first table based on the incoming SIP-URI in said packet and obtaining said first incoming-terminal information; means for retrieving said second table based on said first incoming-terminal information obtained and obtaining second incoming-terminal information for said terminal; and means for connecting said outgoing terminal and said incoming terminal by using said second incoming-terminal information.