Patent ID: 7957401

Claim:
A telephone gateway device comprising: a first memory device external to a processor, the first memory device storing one or more telecommunication protocol templates, each of the one or more telecommunication protocol templates including a plurality of virtual machine instructions to implement a telecommunication protocol using one or more finite state machines and template state data; a second memory device internal to the processor, the second memory device to store a state table of one or more finite state machines; and the processor having access to the first memory device, the second memory device and firmware, the firmware adapted to operate a virtual machine, and wherein the processor: causes the virtual machine to read first virtual machine instructions of a first telecommunication protocol template from the first memory device; executes the first virtual machine instructions to instantiate a first finite state machine and to store a first state table based on template state data associated with the first virtual machine instructions at the second memory device, wherein the first finite state machine and the first state table specify a first telecommunication protocol; and implements the first telecommunication protocol using the first state table and the first finite state machine.