主权项 |
1. A method for programming a telecommunication feature, the method comprising:
receiving, by a processor, a source code defining the telecommunication feature, wherein the source code is defined by a user, wherein the source code includes a primitive in a syntax other than a session initiation protocol syntax, the source code using an abstraction that hides from the user session initiation protocol signaling details required by the telecommunication feature, wherein the abstraction uses the primitive to create active session initiation protocol dialogs, the primitive appearing atomic, wherein the primitive implements an operation that establishes an active session initiation protocol dialog without waiting for a final response to an invite, wherein the abstraction includes an implicit transition that forwards a status request from a first dialog to a second dialog, and wherein the abstraction includes an implicit transition that forwards a status response to the first dialog from which the status request is initiated, wherein the abstraction further uses media control primitives including a link media control primitive and a hold media control primitive to perform compositional media control, and wherein session initiation protocol messages involved in creating dialogs, destroying dialogs and controlling media sessions are not directly manipulated by the user; and generating, by the processor, an executable code that causes a session initiation protocol server to execute the telecommunication feature, in accordance with the abstraction. |