WO2007009384A1 - A method for realizing pstn emulation service - Google Patents
A method for realizing pstn emulation service Download PDFInfo
- Publication number
- WO2007009384A1 WO2007009384A1 PCT/CN2006/001772 CN2006001772W WO2007009384A1 WO 2007009384 A1 WO2007009384 A1 WO 2007009384A1 CN 2006001772 W CN2006001772 W CN 2006001772W WO 2007009384 A1 WO2007009384 A1 WO 2007009384A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- sip
- control unit
- pots terminal
- message
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000011664 signaling Effects 0.000 claims abstract description 27
- 238000001914 filtration Methods 0.000 claims description 20
- 238000004088 simulation Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 8
- 238000012546 transfer Methods 0.000 claims description 2
- 230000004044 response Effects 0.000 description 56
- 230000008569 process Effects 0.000 description 21
- 230000003993 interaction Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 244000025254 Cannabis sativa Species 0.000 description 1
- 102100032535 L-seryl-tRNA(Sec) kinase Human genes 0.000 description 1
- 101710088843 L-seryl-tRNA(Sec) kinase Proteins 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0066—Details of access arrangements to the networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
Definitions
- the present invention relates to the field of communications, and in particular, to a public telephone switching network (PSTN) emulation service implementation method.
- PSTN public telephone switching network
- PSTN supplementary services are closely related to analog user signaling. For example, hotline services are triggered by off-hook signals, call waiting and three-way calling services are performed by means of flashing (speaker hook). The machine interacts and uses the service. Therefore, the call control signaling in the packet telecommunication network must support the transmission of related service information such as an off-hook signal and a flashing signal.
- a traditional POTS terminal can access a packet telecom network through a certain network access node device, and the device performs translation of analog user signaling and packet signaling.
- the most mature commercial solution is to connect the POTS terminal to the packet telecommunication network through the user media gateway, and the H.248 protocol transmits the relevant service information of the simulated user signaling to achieve the inheritance of the traditional PSTN service by the packet telecommunication network.
- the user media conversion node provides mutual conversion of circuit voice and packet voice between the POTS terminal and the packet domain, and supports the codec function of the packet voice.
- the SIP user proxy node is a SIP user agent (SIP UA) in which the POTS terminal accesses a packet domain in which SIP is call control signaling, and when the user media conversion node and the SIP user proxy node are different network entities,
- the E1 interface is a media gateway control protocol such as H.248; when the network access node and the SIP user agent node are the same network entity, the E1 interface is a custom internal interface.
- the network access node is a network node that provides the POTS terminal with the function of registration authentication and authentication of the access packet core network, and registers the POTS terminal to different call session control units.
- the network access node Route the call to its own call session control unit.
- the E2 interface between the two is SIP; when the network access node and the SIP user agent node are the same network entity, the E2 interface is SIP or customized. Internal interface.
- the SIP user agent node and the network access node are often the same network entity.
- the call session control unit provides functions such as call control and routing connection for registered users (including POTS terminal users) accessing the packet core network, which can trigger the call to the service control unit.
- the E6 interface between the two call session control units is SIP.
- the E3 interface between the two is SIP; when the call session control unit and the network access node are the same network entity, the E3 interface is SIP or customized. Internal interface.
- the service control unit provides various service logic control functions for the registered users of the access packet core network, and is a host execution environment for various services.
- the PSTK service control unit is a logically controlled service for providing PTSN simulation services for POTS terminal users.
- control unit When the service control unit and the call session control unit are different network entities, the E4 interface between the two is SIP; when the service control unit and the call session control unit are the same network entity, the E4 interface is a SIP or a customized internal interface. . There may be multiple service control units that handle different services.
- the media resource control unit provides control functions such as application, application, and release of various media resources, such as tone and voice notification resources, conference resources, and collection resources, for registered users (including POTS terminal users) accessing the packet core network. Wait.
- the E5 interface between the two is SIP; when the media resource control unit and the call session control unit are the same network entity, the E5 interface is SIP or customized. Internal interface.
- the Media Gateway Control Unit provides interworking control for mutual calls between registered users (including POTS terminal users) accessing the packet core network and traditional PSTN network users, and performs translation of SIP and other call control protocols.
- the E7 interface between the two is SIP; when the media gateway control unit and the call session control list are not the same network entity, the E7 interface is SIP or customized. Internal interface.
- the PSTN emulation service In the NGN standard being developed by ITU-T and ETSI, the traditional PSTN service that the traditional POTS terminal is connected to the NGN and provided by the NGN is called the PSTN emulation service, that is, in the NGN.
- the above-mentioned hotline, call waiting, and three-party calling services are still to be provided for the accessed POTS terminal users. Since the users still use the POTS terminals, the user usage patterns of these PSTN emulation services have not changed. Therefore, as mentioned above, the SIP protocol can support the transmission of analog user signaling such as off-hook signals and flashing signals to implement these PSTN emulation services.
- the event packet carried by the SIP NOTIFY message conveys the relevant service information of the simulated user signaling, but at the same time, the above-mentioned hotline, call waiting and three-party calling and other traditional PSTN supplementary services. There is no corresponding implementation, and there is no description on how to pass the analog user signaling information. Summary of the invention
- the present invention provides a public telephone switching network emulation service implementation method, which is used to solve the problem that the traditional POTS terminal existing in the prior art accesses the packet core network using SIP as the call control signaling, and the PSTN emulation service cannot be implemented well. The problem.
- a PSTN simulation service implementation method includes the following steps:
- POTS terminals are given service characteristics that can be applied
- the PSTN service control unit sends, to the SIP user agent node, the filtering rule reported by the trigger event corresponding to the applicable service feature to the SIP user agent node;
- the SIP user agent node receives the trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the filtering rule, where the SIP message indicates that the POTS terminal sends a trigger signal;
- the PSTN service control unit parses the SIP message and triggers the service characteristics of the POTS terminal that can be applied.
- the trigger signal is an off-hook signal that simulates user signaling.
- the POTS terminal is given a service that can be applied as a hotline service or a busy hosted service.
- the method in which the POTS terminal is given the service characteristics that can be applied is: The POTS terminal user successfully registers the hotline service or the busy registration service.
- the POTS terminal is given a service that can be used by the application service to pick up a special tone service or a voice announcement service for the POTS terminal user.
- the method by which the POTS terminal is given the service characteristics that can be applied is: the POTS terminal user successfully activates the message light, or the POTS terminal user successfully registers the unconditional call forwarding or outgoing call restriction or the DND or absent or the phone lock, or the POTS terminal user Enter the arrears state, or the POTS end user becomes a Centrex user or a small customer.
- the PSTN service control unit triggers the applicable service characteristics of the POTS terminal, including the following steps:
- the PSTN service control unit starts a timer to monitor the POTS terminal user dialing
- the PSTN service control unit sends a REFER message to the SIP user agent node, instructing the latter to initiate a new hotline number or busy registration number for the hotline or busy registration successful registration.
- the SIP initial session request; or the PSTN Service Control Unit sends a REFER message to the hotline number or the busy registration number, instructing the latter to initiate a new SIP initial session request to the POTS end user.
- the PSTN service control unit triggers the applicable service characteristics of the POTS terminal, and further includes the following steps:
- the PSTN service control unit sends a REFER message to the SIP user agent node, instructing the SIP user agent node to initiate a new SIP initial session request to the special prompt tone or the voice prompting media resource; or the PSTN service control unit to the special prompt tone or voice
- the prompted media resource sends a REFER message, and the media resource indicating the special prompt tone or the voice prompt initiates a new SIP initial session request to the POTS terminal user;
- the new SIP session is successfully established, and the POTS terminal user listens to a special prompt tone or voice prompt.
- the trigger signal is a flash signal that simulates user signaling.
- the service is a call waiting, or three-way call, or a conference call, or a fork call transfer, or a malicious call, or a busy callback, or a busy registration of a service.
- the method in which the POTS terminal is given a service characteristic that can be applied is: the POTS terminal user successfully activates the service of the service fork or successfully registers the service of the auction fork, or the POTS terminal user is online.
- the trigger signal is an on-hook signal that simulates user signaling.
- the filtering rule is a subscription
- the PSTN service control unit initiates a subscription request of the trigger event to a SIP user agent node, and sends a SIP message, where the SIP message indicates, by using a header field, an event packet type of the triggered event that is subscribed;
- the SIP user agent node receives a trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the subscription instance of the event packet that the POTS terminal has established, and the SIP message passes the header.
- the domain and the carried event packet indicate that the POTS terminal issues a trigger signal.
- the method further includes the step of the PSTN service control unit canceling the subscription instance:
- the POTS terminal is unassigned to the service feature that can be applied; the trigger event subscription request is sent, and the SIP message is sent to the POTS terminal, and in the header field of the SIP message, the event packet type of the subscribed trigger event is specified. Unsubscribe request ID; The SIP user agent node receives and parses the SIP message via the call session control unit, and cancels the created subscription instance for the POTS terminal.
- the PSTO the service control unit periodically or irregularly refreshes the subscribed instance before the subscription instance is canceled, and re-initiates the corresponding trigger event subscription request for the service feature that can be applied by the POTS terminal.
- the PSTN service control unit initiates the subscription request of the triggering event to the SIP user agent node, where the SIP message is a SUBSCRIBE message.
- the SIP user agent node receives a trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the subscription instance of the event packet that the POTS terminal has established.
- the SIP message is a NOTIFY message.
- the event package can describe one or more trigger signals.
- the PSTN emulation service enables users to get a good experience in business inheritance.
- FIG. 1 is a schematic diagram of a network structure of a packet core network using SIP messages as call control signaling in the prior art
- Embodiment 1 of the present invention is a schematic flowchart of Embodiment 1 of the present invention.
- Embodiment 4 is a schematic flow chart of Embodiment 2 of the present invention. detailed description
- the embodiments of the present invention respectively perform related descriptions based on the implementation of the PSTN emulation service based on the off-hook signal interaction and the cross-talk signal interaction.
- the service control unit sends the trigger event corresponding to the applicable service characteristic to the SIP user agent node to the SIP user agent node.
- the SIP user agent node sends a SIP message indicating that the POTS terminal sends a trigger signal to the PSTN service control unit according to the filtering rule when receiving the trigger signal of the trigger event pair sent by the POTS terminal,
- the SIP message is parsed by the PSTN service control unit, and the service characteristics of the POTS terminal that can be applied are triggered.
- the filtering rule for establishing the simulated user signal reporting on the SIP user agent node may be multiple.
- the PSTN service control unit subscribes to the SIP user agent node by subscribing the simulated user signal generated by the POTS terminal to the SIP user agent.
- the filtering rule for the analog user signal reporting is established on the node, that is, only the POTS terminal that created the subscription instance will be reported.
- the PSTN service control unit may describe the filtering rule in a file, and then send the file to the SIP user agent node, and the SIP user agent node matches the received simulated user signal with the filtering rule described in the file, to Decide whether to report the analog user signal.
- This filtering rule can be described in XML in this file.
- a traditional ordinary telephone service (POTS) terminal is given some kind of service characteristics that can be applied. If the POTS terminal user wants to use the PSTN emulation service, it must give the POTS terminal the corresponding service characteristics that can be applied. For example, if the user wants to use the hotline, the user must first successfully register the hotline number, so that the POTS terminal has the hotline characteristic that can be applied; If the user wants to receive a new message, and then listens to the voice prompt of the new message after picking up the phone, the user must first activate the message light service to enable the POTS terminal to have the off-hook voice prompt feature that can be applied; If the user wants to use a three-party call, the user must first successfully activate the service permission of the three-party call, so that the POTS terminal has the three-party call feature that can be applied, and the like. For different PSTN emulation services, the method in which the POTS terminal is given the corresponding service characteristics that can be applied is also different and will not be described in detail herein.
- the PSTN service control unit initiates corresponding to the service characteristics that can be applied by the POTS terminal. Triggering an event subscription request, sending a SIP message to the POTS terminal, the SIP message indicating, by the header field, an event packet type of the triggered trigger event.
- the clearing uses a SIP SUBSCRIBE message to indicate the triggered trigger in the Event header field of the SIP SUBSCRIBE message.
- the event packet type of the event such as the off-hook signal event packet, the flashing signal event packet, and the like.
- the SIP user agent node receives the SIP message through the call session control unit and performs an analysis, and creates a subscription instance of the trigger event package for the POTS terminal.
- the SIP user agent node receives the trigger signal described by the trigger event packet sent by the POTS terminal, and sends a SIP message to the PSTN service control unit, where the SIP message indicates that the POTS terminal sends a trigger signal by using the header field and the carried event packet. .
- a POTS terminal user uses a service characteristic that can be applied, it sends a related trigger signal, which is described by a trigger event packet in which a subscription instance has been created, such as an off-hook signal event packet describing an off-hook signal.
- the SIP user agent node converts to a SIP NOTIFY message and sends it to the PSTN service control unit.
- the SIP NOTIFY message indicates that the POTS terminal sends a trigger signal through the header field and the carried event packet.
- the PSTN service control unit parses the SIP message and triggers a service characteristic of the POTS terminal that can be applied.
- the PSTN service control unit After receiving the SIP NOTIFY message, the PSTN service control unit parses the SIP NOTIFY message, and determines the POTS terminal according to the information carried in the Event header field of the SIP NOTIFY message and the event packet carried by the SIP NOTIFY message, such as an off-hook signal event packet.
- a corresponding trigger signal such as an off-hook signal, is triggered to trigger the service characteristics of the POTS terminal that can be applied, and provide related services for the POTS terminal.
- Embodiment 1 PSTN emulation service based on off-hook signal interaction.
- Typical PSTN emulation services based on off-hook signal interactions include hotline services and busy hosting services.
- hotline services and busy hosting services.
- the definitions of these two services can be found in the general technical specifications of the telephone exchange equipment of the Ministry of Posts and Telecommunications.
- the network access node is omitted in Figure 3.
- the call will go through the network into the node.
- the flowchart illustrations and texts in the present invention are merely illustrative of the key technologies of the present invention, and do not represent a complete call and service control process, nor do they exhaust all possible branch processes;
- the format and name of the event packet carried by the described SIP message only highlights the analog user signaling information that it must carry, and does not mean that this is the only way to describe it.
- the process mainly includes the following steps:
- the POTS terminal user picks up the phone, dials, and initiates a hotline registration request. If the Chinese national standard is defined, dial "*52*TN#", where TN is the hotline subscriber number that you want to register;
- the SIP user agent node translates the call initiated by the POTS terminal user into a SIP message, initiates a SIP initial call request, and sends an INVITE message to the call session control unit.
- the call session control unit triggers the INVITE message to the PSTN service control unit that processes the hotline service according to a certain manner, such as the called number prefix.
- the PSTN service control unit performs number analysis and performs service logic control of the hotline registration. If the hotline of the POTS terminal user can be successfully registered, the corresponding hotline subscriber number TN is recorded, and the INVITE message is sent to the call session control unit. 200 OK response code;
- the call session control unit delivers a 200 OK response code of the response INVITE message to the SIP user agent node.
- the SIP user agent node sends an ACK acknowledgement message.
- the call session control unit delivers an ACK acknowledgement message to the PSTN service control unit.
- the PSTN service control unit After the hotline registration is successful, the PSTN service control unit initiates a subscription request for an "off-hook signal" event of the POTS terminal user, and sends a SUBSCRIBE message to the user;
- the present invention defines the "off-hook signal” event package as follows:
- Offliook-account "Offhook- Account”
- HCOLON Account-URI Account-U I SIP-employment I SIPS-URI I absoluteURI where the off-hook signal event packet type is named signal-offhook and the event package contains two parameters Off-Hook indicates whether an off-hook signal is sent, and Offhook-Account indicates the POTS terminal identifier that sent the off-hook signal.
- the subscribed event packet type must be indicated in the "Event" header field, indicating that the subscribed off-hook signal event packet:.
- the call session control unit delivers a SUBSCRIBE message to the SIP user agent node.
- the SIP user agent node receives and parses the SUBSCRIBE message, creates an "off-hook signal" subscription instance for the POTS terminal user, and returns a 200 OK response code indicating that the subscription is successful.
- the call session control unit delivers a 200 OK response code to the PSTN service control unit, and the PSTN service control unit receives the 200 OK response code to complete the “off-hook signal, the subscription process;
- the POTS terminal user uses the hotline service and picks up the phone (not dialing);
- the SIP user agent node receives the off-hook signal of the POTS terminal user, determines that there is a subscription instance of the "off-hook signal" of the user, and sends a NOTIFY message to the subscriber (PSTN service control unit) to notify the user to send out "off-hook signal";
- the "Event" header field in the NOTIFY message is set as follows:
- Offhook-Account POTS End User Number in URI format
- the call session control unit sends a NOTIFY message to the service control unit that processes the hotline service according to a manner, such as an event packet type signal-offhook.
- S115 The PSTN service control unit receives and parses the NOTIFY message, determines that the POTS terminal user has issued an "off-hook signal" subscription, and learns that the POTS terminal user initiates an off-hook operation, and the user registers the hotline service. , a timer T1 is started for the user, the timer duration is a waiting time (for example, 5 seconds) specified by the hotline service, and finally a 200 OK response code indicating that the NOTIFY message is successfully received is returned;
- the call session control unit delivers a 200 OK response code to the SIP user agent node, and the SIP user agent node receives the 200 O response code to complete the notification process of the “off-hook signal”;
- the T1 timer of the POTS terminal user on the FTSN service control unit times out, the user does not dial the call, the PSTN service control unit takes out the hotline user number TO registered by the user, and sends a REFER message to the user, so that the SIP user agent node automatically Initiating a call to the T number, and the TN number can be carried by the "Refer-To" header field in the REFER message;
- the call session control unit delivers a REFER message to the SIP user agent node.
- the SIP user agent node receives and parses the REFER message, initiates a new SIP initial call request to the TN number carried in the "refer-To" header field, and sends an INVITE message to the call session control unit, where the call session control unit receives the message.
- INVITE message as a normal SIP call processing, such as processing service triggering, routing connection, etc.;
- the SIP user agent node sends back a 200 OK response code indicating that the REFER message is successfully received.
- the S12 call session control unit delivers a 200 OK response code to the PSTN service control unit
- the SUBSCRIBE message indicates that the subscription instance has a limited subscription period (specified by the "Expires" header field in the SUBSCRIBE message), so that the subscription instance always exists before the POTS terminal user cancels the hotline registration, PSTN
- the service control unit must periodically refresh the subscription instance, that is, the PSTN service control unit periodically sends the subscription to the POTS terminal user.
- the call session control unit delivers a SUBSCRIBE message to the SIP user agent node.
- the SIP user agent node receives and parses the SUBSCRIBE message, refreshes the subscription period of the "off-hook signal" subscription instance of the POTS terminal user, and returns a 200 OK response indicating that the subscription is successful. Should be coded;
- the call session control unit delivers a 200 OK response code to the PSTN service control unit, and the PSTN service control unit receives the 200 OK response code to complete a refresh subscription process of the “off-hook signal”;
- the POTS terminal user picks up the phone, dials, and initiates a hotline cancellation request. For example, according to the Chinese national standard, "#52#"
- the SIP user agent node translates the call initiated by the POTS terminal user into a SIP message, initiates a SIP initial call request, and sends an INVITE message to the call session control unit.
- the call session control unit triggers the INVITE message to the service control unit.
- the PSTN service control unit performs number analysis, performs service logic control of the hotline cancellation, and responds to the INVITE message, and sends a 200 OK response code to the call session control unit.
- the call session control unit delivers a 200 OK response code of the response INVITE message to the SIP user agent node.
- the SIP user agent node sends an ACK acknowledgement message.
- the call session control unit delivers an ACK acknowledgement message to the PSTN service control unit.
- the PSTN service control unit After the hotline is revoked successfully, the PSTN service control unit initiates an unsubscribe request for the "off-hook signal" event of the POTS terminal user, and sends a SUBSCRIBE message to the user, where the "Expires" header i or the value is 0;
- the call session control unit delivers a SUBSCRIBE message to the SIP user agent node.
- the SIP user agent node receives and parses the SUBSCRIBE message, and according to the “Expires” header field value of 0, it is determined to be an unsubscribe request, and the “off-hook signal” subscription instance of the POTS terminal user is cancelled, and the return indicates that the subscription cancellation is successful. 200 OK response code;
- the call session control unit delivers a 200 OK response code to the PSTN service control unit, and the PSTN service control unit receives the 200 OK response code to complete the "off-hook signal," the subscription cancellation process.
- the registration and revocation modes are different, that is, the trigger conditions of the PSTN service control unit to subscribe to and cancel the "off-hook signal" event are different, so the present invention does not specifically describe the busy condition. Host the simulation business process.
- Embodiment 2 According to the off-hook signal interaction, the PSTN simulation service is prompted after off-hook.
- the two PSTN emulation services described in the foregoing Embodiment 1 directly trigger the hotline and busy registration application flow according to the off-hook signal.
- the main function of the off-hook signal is After picking up the phone, the dial-up tone is sent to the off-hook user, and the POTS terminal user has the following two possibilities in addition to the normal dial tone after picking up the phone:
- the prompt mode is to send a special dial tone or a voice announcement, or send it twice in the dialing. Dial tone.
- the following is a procedure for a Centrex group user who has registered an unconditional call forwarding service to initiate a group call.
- the user picks up the phone and listens to the "unconditional call forwarding registration special dial tone", dials the group prefix, and listens to the "secondary dial tone.” ", dial the first number outside the group, the dial tone stops.
- FIG. 4 it is a schematic flowchart of the PSTN simulation service that is performed according to the off-hook signal interaction and is prompted after the off-hook. As shown in the figure, the process mainly includes the following steps:
- the POTS terminal user is a Centrex group user.
- the PSTN service control unit subscribes to the group prefix dialing event and the group number first dialing event through the KPML format; as described above, the Centrex group user dials the group word. After the crown, you should listen to the second dial tone. After dialing the first digit of the group, the second dial tone stops, so you must subscribe to these two events.
- KPML is a key markup language described in XML language, and the PSTN service control unit initiates the POTS terminal.
- the user's SUBSCRIBE subscription message, the subscription event type in the message is "kpml", and the dialing scheme (out of the group prefix and the out-of-group number) that needs to be subscribed is described in the message body.
- the specific KPML can refer to the relevant draft in the IETF. The invention is not described in detail.
- the call session control unit delivers a SUBSCRIBE message.
- the SIP user agent node receives and parses the SUBSCRIBE message, creates a "kpml," a subscription instance of the event for the POTS terminal user, and returns a 200 O response code indicating that the subscription is successful;
- the call session control unit delivers a 200 OK response code to the PSTN service control unit.
- the PSTN service control unit initiates a subscription request for the user's "off-hook signal” event, sends a SUBSCRIBE message, "off-hook signal, and the event description is as before.
- the call session control unit delivers a SUBSCRIBE message.
- the SIP user agent node receives and parses the SUBSCRIBE message, creates an “off-hook signal, a subscription instance of the event, and returns a 200 OK response code indicating that the subscription is successful for the POTS terminal user;
- the call session control unit delivers a 200 OK response code to the PSTN service control unit.
- the POTS terminal user picks up the phone
- the SIP user agent node receives the off-hook signal of the POTS terminal user, determines that there is a subscription instance of the off-hook signal for the user, and sends a NOBFY message to the subscriber (PSTN service control unit) to notify the user. Issued "off-hook signal,,," off-hook signal, the event packet format is as described above;
- the call session control unit delivers a NOTIFY message.
- the PSTN service control unit receives and parses the NOTIFY message, and determines that the POTS terminal user has issued an "off-hook signal" subscription, and learns that the POTS terminal user initiates an off-hook operation, and returns a successful 200 OK response code. ;
- the call session control unit delivers a 200 OK response code.
- the PSTN service control unit After receiving the off-hook signal of the POTS terminal user, the PSTN service control unit instructs the user to listen to the “unconditional call forwarding registration special dial tone”, and sends a REFER message to the user, so that the SIP user agent node can send the media resource control unit to the media resource control unit.
- the "method" parameter indicates the "INVITE" message, and the "unconditional call forwarding registration special dial tone" can be directly represented by the URI address in the "Refer-To" header field; or " Refer- To,” in the header field only Indicates the address of the media resource control unit, and the specific played tone type "unconditional call forwarding registration special dial tone" is indicated in the message body;
- the call session control unit delivers a REFER message.
- the SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
- the call session control unit delivers a 200 OK response code.
- the SIP user agent node initiates a call session request to the media resource control unit, sends a SIP INVITE message, and requests to play an “unconditional call forwarding registration special dial tone”;
- the call session control unit delivers an INVITE message.
- the media resource control unit sends back a 200 OK response response code indicating the response.
- the call session control unit delivers a 200 OK response response code.
- the SIP user agent node sends back an ACK acknowledgement message that the 200 OK response response code is successful.
- the call session control unit delivers an ACK acknowledgement message to the media resource control unit, the SIP session is successfully established, and the POTS terminal user listens to the “unconditional call forwarding registration special dial tone,”;
- the POTS terminal user then dials the Centrex out-of-group prefix, such as "0";
- the SIP user agent node receives the outbound prefix number dialed by the POTS terminal user, determines that there is a subscription instance of the user's "kpml", and matches the subscribed dial plan, and if the matching is successful, the subscriber (PSTN)
- the service control unit sends a NOTIFY message to notify the user that a "kpml" event is sent, and the message body carries the group prefix number;
- the call session control unit delivers a NOTIFY message.
- the PSTN service control unit receives and parses the NOTIFY message, determines that the POTS terminal user has subscribed to the "kpml", and receives the outbound group prefix number dialed by the POTS terminal user from the message body, and performs number analysis and judgment. The number is the out-of-group prefix and returns the 200 OK response code that was successfully received. S228.
- the call session control unit delivers a 200 OK response code.
- the S229 PSTN service control unit first controls the media resource control unit to stop playing the "unconditional call forwarding registration special dial tone", and sends a REFER message to the SIP user agent node, which is indicated as "" in the "method” parameter of the "Refer-To” header field. BYE" message;
- the call session control unit delivers a REFER message.
- the SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
- the call session control unit delivers a 200 OK response code.
- the SIP user proxy node initiates a BYE message to the media resource control unit according to the method method indicated by the REFER message, and releases a session of “unconditional call forwarding registration special dial tone”;
- the call session control unit delivers a BYE message.
- the media resource control unit releases the session of “unconditional call forwarding registration special dial tone”, and returns a 200 OK response code that is successfully released.
- the call session control unit delivers a 200 OK response code.
- the PSTN service control unit controls the media resource control unit to play a "secondary dial tone" to the user, and sends a REFER message to the SIP user agent node, indicating "INVITE" in the "method” parameter of the " Refer-To” header field. Message
- the call session control unit delivers a REFER message.
- the SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
- the call session control unit delivers a 200 OK response code.
- the SIP user agent node initiates a call session request to the media resource control unit, sends a SIP INVITE message, and requests to play a “secondary dial tone”;
- the call session control unit delivers an INVITE message.
- the media resource control unit returns a 200 OK response response code indicating the response.
- the call session control unit delivers a 200 OK response response code. 5245.
- the SIP user agent node sends back an ACK acknowledgement message that the 200 OK response response code is successful.
- the call session control unit delivers an ACK acknowledgement message to the media resource control unit, the SIP session is successfully established, and the POTS terminal user listens to the “secondary dial tone”;
- the SIP user agent node receives the first group number of the group dialed by the POTS terminal user, determines that there is a subscription instance of the user's "kpml", and matches the subscribed dialing plan. If the matching is successful, the subscriber (PSTTST service) The control unit sends a NOTIFY message to notify the user that a "kpml" event is sent, and the message body carries the first digit of the group number;
- the call session control unit transmits a NOTIFY message
- the PSTN service control unit receives and parses the JTIFY message, determines that the POTS terminal user has subscribed to the "kpml", receives the first group external number dialed by the POTS terminal user from the message body, and returns a successful receiving 200. OK response code;
- the call session control unit delivers a 200 OK response code.
- the PSTN service control unit first controls the media resource control unit to stop playing the "secondary dial tone", and sends a REFER message to the SIP user agent node, indicating the message "BYE” in the "method” parameter of the " Refer-To” header field. ;
- the call session control unit delivers a REFER message.
- the SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
- the call session control unit delivers a 200 OK response code.
- the SIP user agent node initiates a BYE message to the media resource control unit according to the method method indicated by the REFER message, and releases the session of the second tone.
- the call session control unit delivers a BYE message.
- the media resource control unit releases the "secondary dial tone,” session, and returns a 200 OK response code that is successfully released.
- Embodiment 3 PSTN emulation service based on the cross-signal signal interaction.
- Typical PSTN emulation services based on the cross-talk signal interaction are: call waiting, three-way calling, conference call, call forwarding, finding malicious calls, busy callback, busy registration, etc.
- the definition of the service can be found in the telephone exchange equipment of the Ministry of Posts and Telecommunications. General technical specification. There are three specific ways in which the flash signal can interact in these services:
- the SIP user agent node must pass the scramble signal to the PSTN service control unit through the event packet carried by the NOTIFY message.
- the PSTN service control unit must first subscribe to the SIP user agent node for the "cross-signal" event of the POTS terminal user.
- the trigger conditions for the "cross-signal" event subscription and unsubscribe can be as follows:
- POTS terminal users are online and offline in the packet domain, as a trigger condition for subscription and unsubscription of the "cross-signal" event. Online and offline include: user registration and logout, system occlusion and occlusion of the user.
- the PSTN service control unit uses the SUBSCRIBE message.
- the process of subscribing and unsubscribing to the "cross-signal" event of the POTS end user is the same.
- the PSTN service control unit subscribes and unsubscribes (including refresh subscriptions) to the POTS end user's "cross-signal" event, and the SIP user agent node pairs the "flash signal, the notification of the event, and the aforementioned "off-hook signal,"
- the process is similar, and the process is no longer described in the present invention.
- the present invention defines a "cross-over signal” event package as follows:
- Flash-status-line "Flash-Hook” HCOLON flash-status flash-status - "yes” I “no”
- the flashing signal event packet type is named signal-flashhook, and the event packet contains two parameters. Flash-Hook indicates whether the flashing signal is sent, and Flash-Account indicates the POTS terminal identifier that sends the flashing signal.
- the PSTN service control unit uses the SUBSCRIBE message to subscribe and unsubscribe the "cross-signal" event of the POTS terminal user, and must indicate the subscribed event packet type in the "Event" header field of the SUBSCRIBE message, indicating that the subscription cross-signal signal Event package:
- the SIP user agent node receives the flashing signal of the POTS terminal user, and determines that there is a subscription instance of the "flash signal" of the user, and then the subscriber service control unit) Send a NOTIFY message, informing the user that a "flash signal” has been issued, in the "off-hook signal” event packet format defined above, the "Event" header field in the NOTIFY message:
- Flash-Account POTS end user number in URI format
- the number dialed by the POTS terminal user after the call is also reported to the PSTN service control unit by the SIP user agent node. It can also be carried by the NOTIFY message. For details, see the IETF current grass.
- the draft-ietf-sipping-kpml-07.txt the PSTN service control unit receives the number dialed by the user after the flashing of the fork, performs number analysis and performs corresponding business logic control, and the process is not described in detail in the present invention.
- the off-hook signal and the flashing signal are very similar two kinds of analog user signaling, which are analog user signaling caused by the operation of the hook of the dialogue machine, and therefore, their events
- the package can be defined as a hook signal event package.
- the hook signal packet type is named signal-hook
- the event packet contains two parameters Hook-Type indicating the hook operation category, and the off-hook category and the fork type are respectively off-hook and flash- Hook
- Hook-Account indicates the POTS terminal identifier that issues the corresponding hook operation.
- the PSTN service control unit uses the SUBSCRIBE message to subscribe and unsubscribe the "cross-signal,” and "off-hook" events of the POTS end user, the subscribed event packet type must be indicated in the "Event" header field of the SUBSCRIBE message. Subscribe to the Hook Signal Event Package:
- the SIP user agent node When the SIP user agent node receives the flashing signal of the POTS terminal user and determines that there is a subscription instance of the "flash signal” of the user, it sends a NOTIFY message to the subscriber (PSTN service control unit), notifying the user that the message is sent. "Crossing the signal”, the "Event” header field in the NOTIFY message:
- Hook-Type flash-hook
- Hook-Account POTS end user number in URI format
- the SIP user agent node receives the off-hook signal of the POTS terminal user and determines that there is a subscription instance of the "off-hook signal" of the user, the subscriber sends a NOTIFY message to the subscriber (PST service control unit), notifying the user that the user has sent the "Off-hook signal", the "Event" header field in the NOTIFY message:
- Hook-Type off-hook
- Hook-Account POTS end user number in URI format
- the core idea of the present invention is to implement an off-hook signal and a bifurcation signal generated by a SIP user agent node in order to implement a PSTN emulation service triggered by an analog user signal (off-hook signal, bifurcation signal).
- the SIP message is delivered to the service control unit for subsequent service processing.
- the PSTN service control unit only needs to process the related simulation service, the SIP user agent node is required to report the simulated user signal generated by the POTS terminal, that is, the SIP user agent node needs to selectively report according to a certain filtering rule (instead of In any of the foregoing embodiments, the PSTN service control unit establishes a filtering rule for simulating user signal reporting on the SIP user agent node by subscribing to the SIP user agent node an analog user signal generated by the POTS terminal. Only the POTS terminal that created the subscription instance will be reported for the simulated user signal.
- the PSTN service control unit can also establish a filtering rule for the simulated user signal reporting on the SIP user agent node by other means.
- the PSTN service control unit can describe the filtering rule in a file, and then send the file to the SIP user.
- the proxy node, the SIP user proxy node matches the received simulated user signal with the filtering rules described in the file to determine whether The analog user signal is reported.
- This filtering rule can be described in XML in this file.
- the analog user signal may still be in the event packet description format in the foregoing embodiment, and may still be reported by the SIP NOTIFY message, or may be reported by the SIP PUBLISH advertisement message; of course, since the filtering rule has changed at this time Therefore, it is also possible to carry analog user signals in other description formats through other SIP messages.
- the analog user signal that needs to be reported to the network has an on-hook signal in addition to the off-hook signal and the flash signal.
- the present invention is also applicable to the scenario where the SIP user agent node reports the on-hook signal to the PST service control unit due to the implementation of the simulation service. .
- the SIP user agent node will directly send a SIP BYE goodbye message to the network to release the call.
- the SIP user agent node is required to report the on-hook signal, but The call is not released, and the method provided by the present invention can be employed at this time.
- the spirit and scope of the invention Thus, it is intended that the present invention cover the modifications and variations of the inventions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
A method for realizing PSTN emulation service, comprises: A, Plain Old Telephone Service(POTS) terminal is given a certain applicable service character (S1); B, PSTN service control unit initiates a triggering event subscription request corresponding to the said applicable service character of the POTS terminal, and sends the session initiate protocol(SIP) message to the POTS terminal(S2); C, SIP user agent node receives and analyzes the SIP message, then creates a subscription example of the triggering event for the POTS terminal(S3); D, SIP user agent node receives the triggering signal described by the triggering event package, and sends the SIP message to the PSTN service control unit(S4); E, PSTN service control unit analyzes the said SIP message, and triggers the applicable service character of the POTS terminal(S5). Traditional POTS terminal can also use the PSTN emulation service after the POTS terminal is connected to packet core network using SIP as call control signaling.
Description
一种公共电话交换网仿真业务实现方法 技术领域 Method for realizing public telephone exchange network simulation service
本发明涉及通信领域, 尤其涉及一种公共电话交换网 (PSTN )仿真业务 实现方法。 背景技术 The present invention relates to the field of communications, and in particular, to a public telephone switching network (PSTN) emulation service implementation method. Background technique
目前, 随着分组技术的不断成熟, 基于电路交换的传统电信网络正在向 着基于分组交换的宽带电信网发展, 很多运营商都准备或已经建立了分组电 信网, 虽然用户使用分组通讯终端接入分组电信网是未来发展的趋势, 营商在分组电信网的建设过程中, 也不可能冀望所有签约用户能统一的更换 终端设备, 因此至少现阶段的分组电信网必须要支持传统 POTS终端的接入, 这样分组电信网就需要继承传统的 PSTN业务。 At present, with the continuous maturity of packet technology, traditional telecommunication networks based on circuit switching are developing towards packet-switched broadband telecommunication networks. Many operators have prepared or have established packet telecommunication networks, although users use packet communication terminals to access packet telecommunication networks. The network is the trend of future development. In the process of building a packet telecommunication network, it is impossible for all contracted users to replace the terminal equipment uniformly. Therefore, at least the current packet telecommunication network must support the access of the traditional POTS terminal. In this way, the packet telecommunication network needs to inherit the traditional PSTN service.
我们知道, 很多 PSTN补充业务的应用是模拟用户信令密切相关的, 如 热线业务就是由摘机信号触发的、呼叫等待和三方通话等业务是通过拍叉(拍 话机叉簧)方式来进行人机交互和使用业务的, 因此分组电信网中的呼叫控 制信令必须要支持对摘机信号、 拍叉信号等模拟用户信令的相关业务信息的 传递。 We know that many applications of PSTN supplementary services are closely related to analog user signaling. For example, hotline services are triggered by off-hook signals, call waiting and three-way calling services are performed by means of flashing (speaker hook). The machine interacts and uses the service. Therefore, the call control signaling in the packet telecommunication network must support the transmission of related service information such as an off-hook signal and a flashing signal.
一般的, 传统 POTS终端可以通过某种网络接入节点设备接入至分组电 信网, 由该设备完成模拟用户信令和分组信令的转译。 当前, 最成熟的商用 解决方案是将 POTS终端通过用户媒体网关接入至分组电信网, 由 H.248协 议传递模拟用户信令的相关业务信息 , 以达到分組电信网对传统 PSTN业务 的继承。 Generally, a traditional POTS terminal can access a packet telecom network through a certain network access node device, and the device performs translation of analog user signaling and packet signaling. Currently, the most mature commercial solution is to connect the POTS terminal to the packet telecommunication network through the user media gateway, and the H.248 protocol transmits the relevant service information of the simulated user signaling to achieve the inheritance of the traditional PSTN service by the packet telecommunication network.
但是另一方面, 我们也知道, 使用 SIP作为分组电信核心网的呼叫控制 信令是当前的技术发展趋势之一, 如 ITU-T和 ETSI对 NGN的标准制订, 因 此当传统 POTS终端接入至使用 SIP作为呼叫控制信令的分组核心网时,就要
考虑 SIP协议如何传递模拟用户信令的相关信息。 On the other hand, we also know that the use of SIP as the packet telecommunications core network call control signaling is one of the current technological trends, such as ITU-T and ETSI standards for NGN, so when the traditional POTS terminal accesses When using SIP as the packet core network for call control signaling, Consider how the SIP protocol conveys information about analog user signaling.
以 SIP作为呼叫控制信令的分组核心网的网络逻辑结构如图 1所示: 其中: The network logical structure of the packet core network using SIP as call control signaling is shown in Figure 1:
1.用户媒体转换节点在 POTS终端和分组域间提供电路话音和分组话音 的相互转换功能, 支持分组语音的编解码功能。 1. The user media conversion node provides mutual conversion of circuit voice and packet voice between the POTS terminal and the packet domain, and supports the codec function of the packet voice.
2. SIP用户代理节点是 POTS终端接入以 SIP为呼叫控制信令的分組域的 SIP用户代理 ( SIP UA ), 用户媒体转换节点和 SIP用户代理节点为不同的网 络实体时, 两者之间的 E1接口为 H.248等媒体网关控制协议; 网络接入节点 和 SIP用户代理节点为同一个网络实体时, E1接口为自定义的内部接口。 2. The SIP user proxy node is a SIP user agent (SIP UA) in which the POTS terminal accesses a packet domain in which SIP is call control signaling, and when the user media conversion node and the SIP user proxy node are different network entities, The E1 interface is a media gateway control protocol such as H.248; when the network access node and the SIP user agent node are the same network entity, the E1 interface is a custom internal interface.
3.网络接入节点是向 POTS终端提供接入分组核心网的注册认证鉴权等 功能的网络节点, 将 POTS终端注册至不同的呼叫会话控制单元, 当 POTS 终端发起呼叫时, 网络接入节点将呼叫路由至其归属的呼叫会话控制单元。 网 矣入节点和 SIP用户代理节点为不同的网络实体时, 两者之间的 E2接口 为 SIP; 网络接入节点和 SIP用户代理节点为同一个网络实体时, E2接口为 SIP或自定义的内部接口。一般的, 用户媒体转换节点和 SIP用户代理节点为 不同的网络实体时, SIP用户代理节点和网络接入节点常是同一个网络实体。 3. The network access node is a network node that provides the POTS terminal with the function of registration authentication and authentication of the access packet core network, and registers the POTS terminal to different call session control units. When the POTS terminal initiates a call, the network access node Route the call to its own call session control unit. When the network ingress node and the SIP user agent node are different network entities, the E2 interface between the two is SIP; when the network access node and the SIP user agent node are the same network entity, the E2 interface is SIP or customized. Internal interface. Generally, when the user media switching node and the SIP user agent node are different network entities, the SIP user agent node and the network access node are often the same network entity.
4.呼叫会话控制单元为接入分組核心网的注册用户 (包括 POTS终端用 户)提供呼叫控制、 路由接续等功能, 它可以将呼叫触发至业务控制单元。 两个呼叫会话控制单元之间的 E6接口为 SIP。 呼叫会话控制单元和网络接入 节点为不同的网络实体时, 两者之间的 E3接口为 SIP; 呼叫会话控制单元和 网络接入节点为同一个网络实体时, E3接口为 SIP或自定义的内部接口。 4. The call session control unit provides functions such as call control and routing connection for registered users (including POTS terminal users) accessing the packet core network, which can trigger the call to the service control unit. The E6 interface between the two call session control units is SIP. When the call session control unit and the network access node are different network entities, the E3 interface between the two is SIP; when the call session control unit and the network access node are the same network entity, the E3 interface is SIP or customized. Internal interface.
5.业务控制单元为接入分组核心网的注册用户提供各种业务逻辑控制功 能, 是各种业务的宿主执行环境, PSTK业务控制单元即是为 POTS终端用户 提供 PSTN仿真业务的逻辑控制的业务控制单元。 业务控制单元和呼叫会话 控制单元为不同的网络实体时, 两者之间的 E4接口为 SIP; 业务控制单元和 呼叫会话控制单元为同一个网络实体时, E4接口为 SIP或自定义的内部接口。 可以有多个处理不同业务的业务控制单元存在。
6.媒体资源控制单元为接入分组核心网的注册用户 (包括 POTS终端用 户)提供各种媒体资源的申请、 应用、 释放等控制功能, 如信号音和语音通 知资源、 会议资源、 收号资源等。 媒体资源控制单元和呼叫会话控制单元为 不同的网络实体时, 两者之间的 E5接口为 SIP; 媒体资源控制单元和呼叫会 话控制单元为同一个网络实体时, E5接口为 SIP或自定义的内部接口。 5. The service control unit provides various service logic control functions for the registered users of the access packet core network, and is a host execution environment for various services. The PSTK service control unit is a logically controlled service for providing PTSN simulation services for POTS terminal users. control unit. When the service control unit and the call session control unit are different network entities, the E4 interface between the two is SIP; when the service control unit and the call session control unit are the same network entity, the E4 interface is a SIP or a customized internal interface. . There may be multiple service control units that handle different services. 6. The media resource control unit provides control functions such as application, application, and release of various media resources, such as tone and voice notification resources, conference resources, and collection resources, for registered users (including POTS terminal users) accessing the packet core network. Wait. When the media resource control unit and the call session control unit are different network entities, the E5 interface between the two is SIP; when the media resource control unit and the call session control unit are the same network entity, the E5 interface is SIP or customized. Internal interface.
7.媒体网关控制单元为接入分组核心网的注册用户 (包括 POTS终端用 户)和传统 PSTN网络用户之间的相互呼叫提供互通控制功能,完成 SIP和其 它呼叫控制协议的转译。 媒体网关控制单元和呼叫会话控制单元为不同的网 络实体时, 两者之间的 E7接口为 SIP; 媒体网关控制单元和呼叫会话控制单 无为同一个网络实体时, E7接口为 SIP或自定义的内部接口。 7. The Media Gateway Control Unit provides interworking control for mutual calls between registered users (including POTS terminal users) accessing the packet core network and traditional PSTN network users, and performs translation of SIP and other call control protocols. When the media gateway control unit and the call session control unit are different network entities, the E7 interface between the two is SIP; when the media gateway control unit and the call session control list are not the same network entity, the E7 interface is SIP or customized. Internal interface.
在 ITU-T和 ETSI正在制订的 NGN标准中,将传统 POTS终端接入至 NGN 并由 NGN为其提供的传统 PSTN业务, 称为 PSTN仿真业务(Emulation Service ) , 也就是说, 在 NGN中, 仍要为接入的 POTS终端用户提供上述的 热线、 呼叫等待、 三方通话等业务, 由于用户仍然使用 POTS终端, 因此这 些 PSTN仿真业务的用户使用方式也没有发生变化。 因此, 如前所述, SIP协 议要支持摘机信号、 拍叉信号等模拟用户信令的信息传递, 才能实现这些 PSTN仿真业务。 In the NGN standard being developed by ITU-T and ETSI, the traditional PSTN service that the traditional POTS terminal is connected to the NGN and provided by the NGN is called the PSTN emulation service, that is, in the NGN, The above-mentioned hotline, call waiting, and three-party calling services are still to be provided for the accessed POTS terminal users. Since the users still use the POTS terminals, the user usage patterns of these PSTN emulation services have not changed. Therefore, as mentioned above, the SIP protocol can support the transmission of analog user signaling such as off-hook signals and flashing signals to implement these PSTN emulation services.
虽然 SIP协议本身提供了 SUBSCRIBE/NOTIFY机制可以解决这个问题, 由 SIP NOTIFY消息携带的事件包传递模拟用户信令的相关业务信息,但此时 上述的热线、 呼叫等待及三方通话等传统 PSTN补充业务没有相应的实现方 案, 如何传递模拟用户信令信息也没有相关说明。 发明内容 Although the SIP protocol itself provides the SUBSCRIBE/NOTIFY mechanism to solve this problem, the event packet carried by the SIP NOTIFY message conveys the relevant service information of the simulated user signaling, but at the same time, the above-mentioned hotline, call waiting and three-party calling and other traditional PSTN supplementary services. There is no corresponding implementation, and there is no description on how to pass the analog user signaling information. Summary of the invention
本发明提供一种公共电话交换网仿真业务实现方法, 用以解决现有技术 中存在的传统 POTS终端接入至使用 SIP作为呼叫控制信令的分组核心网时, 不能很好地实现 PSTN仿真业务的问题。 The present invention provides a public telephone switching network emulation service implementation method, which is used to solve the problem that the traditional POTS terminal existing in the prior art accesses the packet core network using SIP as the call control signaling, and the PSTN emulation service cannot be implemented well. The problem.
本发明方法包括:
一种 PSTN仿真业务实现方法, 包括以下步骤: The method of the invention comprises: A PSTN simulation service implementation method includes the following steps:
POTS终端被赋予可被应用的业务特性; POTS terminals are given service characteristics that can be applied;
PSTN业务控制单元为所述 POTS终端向 SIP用户代理节点发送所述可被 应用的业务特性对应的触发事件上报的过滤规则; The PSTN service control unit sends, to the SIP user agent node, the filtering rule reported by the trigger event corresponding to the applicable service feature to the SIP user agent node;
SIP用户代理节点接收 POTS终端发送的所述触发事件对应的触发信号, 根据所述过滤规则, 向 PSTN业务控制单元发送 SIP消息,所述的 SIP消息中 指明该 POTS终端发出触发信号; The SIP user agent node receives the trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the filtering rule, where the SIP message indicates that the POTS terminal sends a trigger signal;
PSTN业务控制单元解析所迷的 SIP消息, 并触发 POTS终端所述可被应 用的业务特性。 The PSTN service control unit parses the SIP message and triggers the service characteristics of the POTS terminal that can be applied.
所述触发信号, 为模拟用户信令的摘机信号。 The trigger signal is an off-hook signal that simulates user signaling.
所述 POTS终端被赋予可被应用业务为热线业务或遇忙寄存业务。 The POTS terminal is given a service that can be applied as a hotline service or a busy hosted service.
所述 POTS终端被赋予可被应用的业务特性的方法为: POTS终端用户成 功登记热线业务或遇忙寄存业务。 The method in which the POTS terminal is given the service characteristics that can be applied is: The POTS terminal user successfully registers the hotline service or the busy registration service.
所述 POTS终端被赋予可被应用业务为 POTS终端用户摘机听特殊提示音 业务或语音通知业务。 The POTS terminal is given a service that can be used by the application service to pick up a special tone service or a voice announcement service for the POTS terminal user.
所述 POTS终端被赋予可被应用的业务特性的方法为: POTS终端用户成 功激活留言灯, 或 POTS终端用户成功登记无条件呼叫前转或呼出限制或免 打扰或缺席或话机闭锁、或 POTS终端用户进入欠费状态、或 POTS终端用户 成为 Centrex用户或小交用户。 The method by which the POTS terminal is given the service characteristics that can be applied is: the POTS terminal user successfully activates the message light, or the POTS terminal user successfully registers the unconditional call forwarding or outgoing call restriction or the DND or absent or the phone lock, or the POTS terminal user Enter the arrears state, or the POTS end user becomes a Centrex user or a small customer.
所述 PSTN业务控制单元触发 POTS终端所述可应用的业务特性,包括如 下步骤: The PSTN service control unit triggers the applicable service characteristics of the POTS terminal, including the following steps:
PSTN业务控制单元启动定时器监视 POTS终端用户拨号; The PSTN service control unit starts a timer to monitor the POTS terminal user dialing;
如果所述定时器超时, POTS终端用户没有拨号, PSTN业务控制单元向 SIP用户代理节点发送 REFER消息, 指示后者向所述热线或遇忙寄存成功登 记的热线号码或遇忙寄存号码发起一个新的 SIP初始会话请求;或 PSTN业务 控制单元向热线号码或遇忙寄存号码发送 REFER消息,指示后者向 POTS终 端用户发起一个新的 SIP初始会话请求。
所述 PSTN业务控制单元触发 POTS终端所述可应用的业务特性,还包括 如下步骤: If the timer expires and the POTS terminal user does not dial, the PSTN service control unit sends a REFER message to the SIP user agent node, instructing the latter to initiate a new hotline number or busy registration number for the hotline or busy registration successful registration. The SIP initial session request; or the PSTN Service Control Unit sends a REFER message to the hotline number or the busy registration number, instructing the latter to initiate a new SIP initial session request to the POTS end user. The PSTN service control unit triggers the applicable service characteristics of the POTS terminal, and further includes the following steps:
PSTN业务控制单元向 SIP用户代理节点发送 REFER消息, 指示 SIP用 户代理节点向所述特殊提示音或语音提示的媒体资源发起一个新的 SIP初始 会话请求; 或 PSTN业务控制单元向特殊提示音或语音提示的媒体资源发送 REFER消息, 指示特殊提示音或语音提示的媒体资源向 POTS终端用户发起 一个新的 SIP初始会话请求; The PSTN service control unit sends a REFER message to the SIP user agent node, instructing the SIP user agent node to initiate a new SIP initial session request to the special prompt tone or the voice prompting media resource; or the PSTN service control unit to the special prompt tone or voice The prompted media resource sends a REFER message, and the media resource indicating the special prompt tone or the voice prompt initiates a new SIP initial session request to the POTS terminal user;
所述新的 SIP会话建立成功, POTS终端用户听特殊提示音或语音提示。 所述触发信号, 为模拟用户信令的拍叉信号。 The new SIP session is successfully established, and the POTS terminal user listens to a special prompt tone or voice prompt. The trigger signal is a flash signal that simulates user signaling.
所述业务为呼叫等待、 或三方通话、 或会议电话、 或拍叉呼叫转移、 或 查找恶意呼叫、 或遇忙回叫、 或遇忙寄存拍叉业务。 The service is a call waiting, or three-way call, or a conference call, or a fork call transfer, or a malicious call, or a busy callback, or a busy registration of a service.
所述 POTS终端被赋予可被应用的业务特性的方法为: POTS终端用户成 功开通所述拍叉业务权限或成功登记所述拍叉业务、 或 POTS终端用户在线。 The method in which the POTS terminal is given a service characteristic that can be applied is: the POTS terminal user successfully activates the service of the service fork or successfully registers the service of the auction fork, or the POTS terminal user is online.
所述触发信号, 为模拟用户信令的挂机信号。 The trigger signal is an on-hook signal that simulates user signaling.
所述过滤规则为订阅, The filtering rule is a subscription,
所述 PSTN业务控制单元向 SIP用户代理节点发起所述触发事件的订阅请 求,发送 SIP消息,所述的 SIP消息通过头域指明所订阅的触发事件的事件包 类型; The PSTN service control unit initiates a subscription request of the trigger event to a SIP user agent node, and sends a SIP message, where the SIP message indicates, by using a header field, an event packet type of the triggered event that is subscribed;
所述 SIP用户代理节点接收 POTS终端发送的所述触发事件对应的触发信 号,根据所述 POTS终端已经建立的事件包的订阅实例,向 PSTN业务控制单 元发送 SIP消息,所述的 SIP消息通过头域和携带的事件包指明该 POTS终端 发出触发信号。 The SIP user agent node receives a trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the subscription instance of the event packet that the POTS terminal has established, and the SIP message passes the header. The domain and the carried event packet indicate that the POTS terminal issues a trigger signal.
所述的方法, 还包括 PSTN业务控制单元取消订阅实例的步骤: The method further includes the step of the PSTN service control unit canceling the subscription instance:
POTS终端被取消赋予所述可被应用的业务特性; 消触发事件订阅请求,向该 POTS终端发送 SIP消息,在所述的 SIP消息的头 域中, 指明所订阅的触发事件的事件包类型和取消订阅请求标识;
SIP用户代理节点经呼叫会话控制单元接收所述的 SIP消息并进行解析, 为 POTS终端取消已创建的所述订阅实例。 The POTS terminal is unassigned to the service feature that can be applied; the trigger event subscription request is sent, and the SIP message is sent to the POTS terminal, and in the header field of the SIP message, the event packet type of the subscribed trigger event is specified. Unsubscribe request ID; The SIP user agent node receives and parses the SIP message via the call session control unit, and cancels the created subscription instance for the POTS terminal.
所述的方法, PSTO [业务控制单元在订阅实例取消前, 定期或者不定期 地刷新所订阅实例, 对 POTS终端所述可被应用的业务特性重新发起对应的 触发事件订阅请求。 The method, the PSTO [the service control unit periodically or irregularly refreshes the subscribed instance before the subscription instance is canceled, and re-initiates the corresponding trigger event subscription request for the service feature that can be applied by the POTS terminal.
所述 PSTN业务控制单元向 SIP用户代理节点发起所述触发事件的订阅请 求, 发送 SIP消息步骤中, 所述的 SIP消息为 SUBSCRIBE消息。 And the PSTN service control unit initiates the subscription request of the triggering event to the SIP user agent node, where the SIP message is a SUBSCRIBE message.
所述 SIP用户代理节点接收 POTS终端发送的所述触发事件对应的触发信 号,根据所述 POTS终端已经建立的所述事件包的订阅实例,向 PSTN业务控 制单元发送 SIP消息步骤中, 所述的 SIP消息为 NOTIFY消息。 The SIP user agent node receives a trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the subscription instance of the event packet that the POTS terminal has established. The SIP message is a NOTIFY message.
所述事件包可描述一个或多个触发信号。 The event package can describe one or more trigger signals.
通过本发明的方案,传统 POTS终端接入至使用 SIP作为呼叫控制信令的 分组核心网后, 仍可以使用热线、 遇忙寄存、 呼叫等待、 三方通话、 会议电 话、 呼叫转移、 查找恶意呼叫、 遇忙回叫等依据摘机信号、 拍叉信号交互的 With the solution of the present invention, after the traditional POTS terminal accesses the packet core network using SIP as the call control signaling, the hotline, busy registration, call waiting, three-party calling, conference call, call forwarding, and malicious call can still be used. Busy callback, etc. based on the off-hook signal and the cross-fork signal
PSTN仿真业务, 使用户在业务继承性上得到良好的体验。 附图说明 The PSTN emulation service enables users to get a good experience in business inheritance. DRAWINGS
图 1为现有技术中的使用 SIP消息作为呼叫控制信令的分组核心网的网 络 i 辑结构示意图; 1 is a schematic diagram of a network structure of a packet core network using SIP messages as call control signaling in the prior art;
图 2为本发明方案的流程示意图; 2 is a schematic flow chart of a solution of the present invention;
图 3为本发明实施例 1的流程示意图; 3 is a schematic flowchart of Embodiment 1 of the present invention;
图 4为本发明实施例 2的流程示意图。 具体实施方式 4 is a schematic flow chart of Embodiment 2 of the present invention. detailed description
下面结合说明书附图来说明本发明的具体实施方式。 Specific embodiments of the present invention are described below in conjunction with the drawings.
本发明的实施例, 分別以依据摘机信号交互以及依据拍叉信号交互的 PSTN仿真业务的实现来进行相关的说明。
该方案中, 通过 POTS终端被赋予可被应用的业务特性后, 在业务应用 过程中,由 业务控制单元为所述 POTS终端向 SIP用户代理节点发送所 述可被应用的业务特性对应的触发事件上报的过滤规则; 而 SIP用户代理节 点在接收 POTS终端发送的所述触发事件对庶的触发信号时, 根据所述过滤 规则,向 PSTN业务控制单元发送指明该 POTS终端发出触发信号的 SIP消息 , 由 PSTN业务控制单元解析所述的 SIP消息,并触发 POTS终端所述可被应用 的业务特性。 The embodiments of the present invention respectively perform related descriptions based on the implementation of the PSTN emulation service based on the off-hook signal interaction and the cross-talk signal interaction. In this solution, after the POTS terminal is given the service characteristic that can be applied, in the service application process, the service control unit sends the trigger event corresponding to the applicable service characteristic to the SIP user agent node to the SIP user agent node. And the SIP user agent node sends a SIP message indicating that the POTS terminal sends a trigger signal to the PSTN service control unit according to the filtering rule when receiving the trigger signal of the trigger event pair sent by the POTS terminal, The SIP message is parsed by the PSTN service control unit, and the service characteristics of the POTS terminal that can be applied are triggered.
本发明方案中, 在 SIP用户代理节点上建立模拟用户信号上报的过滤规 则,可以有多种,比如 PSTN业务控制单元通过向 SIP用户代理节点订阅 POTS 终端发生的模拟用户信号, 以在 SIP用户代理节点上建立模拟用户信号上报 的过滤规则, 即只有创建了订阅实例的 POTS终端, 其发生的模拟用户信号 才会被上报。 又比如 PSTN业务控制单元可以在一个文件中描述该过滤规则, 再将该文件发送给 SIP用户代理节点, SIP用户代理节点将收到的模拟用户信 号和该文件中描述的过滤规则进行匹配, 以决定是否上报该模拟用户信号。 可以在该文件中通过 XML描述该过滤规则。 In the solution of the present invention, the filtering rule for establishing the simulated user signal reporting on the SIP user agent node may be multiple. For example, the PSTN service control unit subscribes to the SIP user agent node by subscribing the simulated user signal generated by the POTS terminal to the SIP user agent. The filtering rule for the analog user signal reporting is established on the node, that is, only the POTS terminal that created the subscription instance will be reported. For example, the PSTN service control unit may describe the filtering rule in a file, and then send the file to the SIP user agent node, and the SIP user agent node matches the received simulated user signal with the filtering rule described in the file, to Decide whether to report the analog user signal. This filtering rule can be described in XML in this file.
如图 2所示, 是以订阅为过滤规则的方案的流程示意图, 从图中可见, 包括如下步骤: As shown in Figure 2, the flow diagram of the scheme in which the subscription is a filtering rule is as shown in the figure, and includes the following steps:
51、 传统普通电话业务(POTS )终端被赋予某种可被应用的业务特性。 如果 POTS终端用户要使用 PSTN仿真业务,则必须赋予 POTS终端可被 应用的相应的业务特性, 比如用户要使用热线, 则用户必须先成功登记热线 号码, 使 POTS终端具有可被应用的热线特性; 再如用户要在收到新留言消 息时, 摘机后听有新留言的语音提示, 则用户必须先成功激活留言灯业务, 使 POTS终端具有可被应用的摘机听语音提示特性; 再如用户要使用三方通 话, 则用户必须先成功开通三方通话的业务权限, 使 POTS终端具有可被应 用的三方通话特性, 等。 对不同的 PSTN仿真业务, POTS终端被赋予相应的 可被应用的业务特性的方法也不同, 在此不作详细描述。 51. A traditional ordinary telephone service (POTS) terminal is given some kind of service characteristics that can be applied. If the POTS terminal user wants to use the PSTN emulation service, it must give the POTS terminal the corresponding service characteristics that can be applied. For example, if the user wants to use the hotline, the user must first successfully register the hotline number, so that the POTS terminal has the hotline characteristic that can be applied; If the user wants to receive a new message, and then listens to the voice prompt of the new message after picking up the phone, the user must first activate the message light service to enable the POTS terminal to have the off-hook voice prompt feature that can be applied; If the user wants to use a three-party call, the user must first successfully activate the service permission of the three-party call, so that the POTS terminal has the three-party call feature that can be applied, and the like. For different PSTN emulation services, the method in which the POTS terminal is given the corresponding service characteristics that can be applied is also different and will not be described in detail herein.
52、 PSTN业务控制单元对 POTS终端所述可被应用的业务特性发起对应
的触发事件订阅请求, 向该 POTS终端发送 SIP消息,所述的 SIP消息通过头 域指明所订阅的触发事件的事件包类型。 52. The PSTN service control unit initiates corresponding to the service characteristics that can be applied by the POTS terminal. Triggering an event subscription request, sending a SIP message to the POTS terminal, the SIP message indicating, by the header field, an event packet type of the triggered trigger event.
本发明的方案中, 需要对 POTS终端可被应用的业务特性发起对应的触 发事件订阅请求, 该清求使用 SIP SUBSCRIBE 消息, 在所述的 SIP SUBSCRIBE消息的 Event头域中, 指明所订阅的触发事件的事件包类型, 如 摘机信号事件包、 拍叉信号事件包等。 In the solution of the present invention, it is required to initiate a corresponding trigger event subscription request for the service feature to which the POTS terminal can be applied, and the clearing uses a SIP SUBSCRIBE message to indicate the triggered trigger in the Event header field of the SIP SUBSCRIBE message. The event packet type of the event, such as the off-hook signal event packet, the flashing signal event packet, and the like.
53、 SIP用户代理节点经呼叫会话控制单元接收所述的 SIP消息并进行解 析, 为 POTS终端创建所述触发事件包的订阅实例。 53. The SIP user agent node receives the SIP message through the call session control unit and performs an analysis, and creates a subscription instance of the trigger event package for the POTS terminal.
54、 SIP用户代理节点接收 POTS终端发送的所述触发事件包描述的触发 信号, 向 PSTN业务控制单元发送 SIP消息,所述的 SIP消息通过头域和携带 的事件包指明该 POTS终端发出触发信号。 54. The SIP user agent node receives the trigger signal described by the trigger event packet sent by the POTS terminal, and sends a SIP message to the PSTN service control unit, where the SIP message indicates that the POTS terminal sends a trigger signal by using the header field and the carried event packet. .
当 POTS终端用户使用可被应用的业务特性时, 其发送相关的触发信号, 该触发信号是由已经创建了订阅实例的触发事件包描述的, 如摘机信号事件 包描述的就是摘机信号,通过 SIP用户代理节点转换为 SIP NOTIFY消息,发 送给 PSTN业务控制单元。在该 SIP NOTIFY消息通过头域和携带的事件包指 明该 POTS终端发出触发信号。 When a POTS terminal user uses a service characteristic that can be applied, it sends a related trigger signal, which is described by a trigger event packet in which a subscription instance has been created, such as an off-hook signal event packet describing an off-hook signal. The SIP user agent node converts to a SIP NOTIFY message and sends it to the PSTN service control unit. The SIP NOTIFY message indicates that the POTS terminal sends a trigger signal through the header field and the carried event packet.
55、 PSTN业务控制单元解析所述的 SIP消息, 并触发 POTS终端所述可 被应用的业务特性。 55. The PSTN service control unit parses the SIP message and triggers a service characteristic of the POTS terminal that can be applied.
PSTN 业务控制单元收到该 SIP NOTIFY 消息后, 解析所述的 SIP NOTIFY消息, 根据 SIP NOTIFY消息 Event头域携带的信息和 SIP NOTIFY 消息携带的事件包, 如摘机信号事件包, 判断该 POTS终端发出了相应的触 发信号,如摘机信号,触发该 POTS终端所述可被应用的业务特性,并为 POTS 终端提供相关服务。 After receiving the SIP NOTIFY message, the PSTN service control unit parses the SIP NOTIFY message, and determines the POTS terminal according to the information carried in the Event header field of the SIP NOTIFY message and the event packet carried by the SIP NOTIFY message, such as an off-hook signal event packet. A corresponding trigger signal, such as an off-hook signal, is triggered to trigger the service characteristics of the POTS terminal that can be applied, and provide related services for the POTS terminal.
实施例 1: 依据摘机信号交互的 PSTN仿真业务。 Embodiment 1: PSTN emulation service based on off-hook signal interaction.
典型的依据摘机信号交互的 PSTN仿真业务有热线业务、 遇忙寄存业务, 这两个业务的定义可参见邮电部电话交换设备总技术规范书。 Typical PSTN emulation services based on off-hook signal interactions include hotline services and busy hosting services. The definitions of these two services can be found in the general technical specifications of the telephone exchange equipment of the Ministry of Posts and Telecommunications.
这两个业务的应用是非常相似的, 不同的是登记和撤销方式不同, 下面
以热线业务为例描述由摘机信号交互的 PSTN仿真业务的应用流程和摘机信 号事件包格式。 The application of these two services is very similar, the difference is that the registration and revocation methods are different, below Take the hotline service as an example to describe the application flow of the PSTN emulation service and the off-hook signal event packet format.
图 3中略去了网络接入节点, 当网络接入节点和 SIP用户代理节点是不 同的网络实体时, 呼叫将经过网 矣入节点。 需要说明的是: 本发明中所作 的流程图示和文字说明仅为突出本发明的关键技术所作的解释, 并不表示一 个完整的呼叫和业务控制流程, 也没有穷尽所有可能的分支流程; 而描述的 SIP消息携带的事件包格式及名称仅为突出其所必须携带的模拟用户信令信 息, 并不表示这是唯一的描述方式。 The network access node is omitted in Figure 3. When the network access node and the SIP user agent node are different network entities, the call will go through the network into the node. It should be noted that the flowchart illustrations and texts in the present invention are merely illustrative of the key technologies of the present invention, and do not represent a complete call and service control process, nor do they exhaust all possible branch processes; The format and name of the event packet carried by the described SIP message only highlights the analog user signaling information that it must carry, and does not mean that this is the only way to describe it.
从图 3中可见, 该流程主要包括如下 步骤: As can be seen from Figure 3, the process mainly includes the following steps:
511、 POTS终端用户摘机, 拨号, 发起热线登记请求, 如按中国国标定 义, 拨" *52*TN#", 其中 TN是希望登记的热线用户号码; 511. The POTS terminal user picks up the phone, dials, and initiates a hotline registration request. If the Chinese national standard is defined, dial "*52*TN#", where TN is the hotline subscriber number that you want to register;
512、 SIP用户代理节点将 POTS终端用户发起的呼叫转译成 SIP消息, 发起 SIP初始呼叫请求, 向呼叫会话控制单元发送 INVITE消息; 512. The SIP user agent node translates the call initiated by the POTS terminal user into a SIP message, initiates a SIP initial call request, and sends an INVITE message to the call session control unit.
513、 呼叫会话控制单元根据某种方式, 如被叫号码字冠, 将 INVITE消 息触发至处理热线业务的 PSTN业务控制单元; 513. The call session control unit triggers the INVITE message to the PSTN service control unit that processes the hotline service according to a certain manner, such as the called number prefix.
514、 PSTN业务控制单元进行号码分析,进行热线登记的业务逻辑控制, 若该 POTS终端用户的热线可以登记成功 ,则记录下对应的热线用户号码 TN, 并应答 INVITE消息, 向呼叫会话控制单元发送 200 OK响应码; 514. The PSTN service control unit performs number analysis and performs service logic control of the hotline registration. If the hotline of the POTS terminal user can be successfully registered, the corresponding hotline subscriber number TN is recorded, and the INVITE message is sent to the call session control unit. 200 OK response code;
515、呼叫会话控制单元向 SIP用户代理节点传递应答 INVITE消息的 200 OK响应码; 515. The call session control unit delivers a 200 OK response code of the response INVITE message to the SIP user agent node.
516、 SIP用户代理节点发送 ACK确认消息; 516. The SIP user agent node sends an ACK acknowledgement message.
517、 呼叫会话控制单元向 PSTN业务控制单元传递 ACK确认消息; 517. The call session control unit delivers an ACK acknowledgement message to the PSTN service control unit.
518、 热线登记成功后, PSTN业务控制单元发起对 POTS终端用户的"摘 机信号 "事件的订阅请求, 向该用户发送 SUBSCRIBE消息; 518. After the hotline registration is successful, the PSTN service control unit initiates a subscription request for an "off-hook signal" event of the POTS terminal user, and sends a SUBSCRIBE message to the user;
本发明为 "摘机信号"事件包的定义如下: The present invention defines the "off-hook signal" event package as follows:
signal-offliook = offhook- status-line CRLF Signal-offliook = offhook- status-line CRLF
[off ook- account CRLF]
offhook-status-line = "Off-Hook" HCOLON offhook-statue off ook-status = "yes" I "no" [off ook- account CRLF] Offhook-status-line = "Off-Hook" HCOLON offhook-statue off ook-status = "yes" I "no"
offliook-account = "Offhook- Account" HCOLON Account-URI Account-U I = SIP-雇 I SIPS-URI I absoluteURI 其中, 摘机信号事件包类型被命名为 signal-offhook, 而事件包中包含 两个参数 Off-Hook表示是否发出了摘机信号, Offhook- Account表示发 出摘机信号的 POTS终端标识。 Offliook-account = "Offhook- Account" HCOLON Account-URI Account-U I = SIP-employment I SIPS-URI I absoluteURI where the off-hook signal event packet type is named signal-offhook and the event package contains two parameters Off-Hook indicates whether an off-hook signal is sent, and Offhook-Account indicates the POTS terminal identifier that sent the off-hook signal.
因此在该 SUBSCRIBE消息中, 必须在 "Event"头域中指出订阅的事件 包类型, 表示订阅摘机信号事件包:。 Therefore, in the SUBSCRIBE message, the subscribed event packet type must be indicated in the "Event" header field, indicating that the subscribed off-hook signal event packet:.
Event: signal-offhook Event: signal-offhook
S19、 呼叫会话控制单元向 SIP用户代理节点传递 SUBSCRIBE消息; S19. The call session control unit delivers a SUBSCRIBE message to the SIP user agent node.
5110、 SIP用户代理节点接收并解析此 SUBSCRIBE消息, 为 POTS终端 用户创建一个 "摘机信号"的订阅实例, 返回表示订阅成功的 200 OK响应码;5110. The SIP user agent node receives and parses the SUBSCRIBE message, creates an "off-hook signal" subscription instance for the POTS terminal user, and returns a 200 OK response code indicating that the subscription is successful.
5111、 呼叫会话控制单元向 PSTN业务控制单元传递 200 OK响应码, PSTN业务控制单元接收此 200 OK响应码, 完成"摘机信号,,的订阅过程;5111. The call session control unit delivers a 200 OK response code to the PSTN service control unit, and the PSTN service control unit receives the 200 OK response code to complete the “off-hook signal, the subscription process;
5112、 POTS终端用户使用热线业务, 摘机(不拨号); 5112. The POTS terminal user uses the hotline service and picks up the phone (not dialing);
5113、 SIP用户代理节点接收到 POTS终端用户的摘机信号, 判断存在有 对该用户的"摘机信号"的订阅实例, 则向订阅者(PSTN业务控制单元)发送 NOTIFY消息, 通知该用户发出了 "摘机信号"; 5113. The SIP user agent node receives the off-hook signal of the POTS terminal user, determines that there is a subscription instance of the "off-hook signal" of the user, and sends a NOTIFY message to the subscriber (PSTN service control unit) to notify the user to send out "off-hook signal";
按照上述定义的"摘机信号"事件包格式, NOTIFY消息中的" Event"头域 如下设置: According to the "off-hook signal" event packet format defined above, the "Event" header field in the NOTIFY message is set as follows:
Event: signal-offhook Event: signal-offhook
NOTIFY消息中携带的事件包如下: The event package carried in the NOTIFY message is as follows:
Off-Hook: yes Off-Hook: yes
Offhook-Account: URI格式的 POTS终端用户号码 Offhook-Account: POTS End User Number in URI format
5114、 呼叫会话控制单元根据某种方式, 如事件包类型 signal-offhook, 将 NOTIFY消息发送至处理热线业务的 业务控制单元;
S 115、 PSTN业务控制单元接收并解析到此 NOTIFY消息,判断对该 POTS 终端用户发出过"摘机信号"的订阅, 得知该 POTS终端用户发起了摘机操作, 且该用户登记了热线业务, 则为该用户启动一定时器 T1 , 定时器时长为热线 业务规定的等待时长(如 5秒), 最后返回表示接收 NOTIFY消息成功的 200 OK响应码; 5114. The call session control unit sends a NOTIFY message to the service control unit that processes the hotline service according to a manner, such as an event packet type signal-offhook. S115: The PSTN service control unit receives and parses the NOTIFY message, determines that the POTS terminal user has issued an "off-hook signal" subscription, and learns that the POTS terminal user initiates an off-hook operation, and the user registers the hotline service. , a timer T1 is started for the user, the timer duration is a waiting time (for example, 5 seconds) specified by the hotline service, and finally a 200 OK response code indicating that the NOTIFY message is successfully received is returned;
5116、 呼叫会话控制单元向 SIP用户代理节点传递 200 OK响应码, SIP 用户代理节点接收 200 O 响应码, 完成"摘机信号"的通知过程; 5116. The call session control unit delivers a 200 OK response code to the SIP user agent node, and the SIP user agent node receives the 200 O response code to complete the notification process of the “off-hook signal”;
5117、 FTSN业务控制单元上 POTS终端用户的 T1定时器超时, 该用户 没有拨号发起呼叫, PSTN业务控制单元取出该用户登记的热线用户号码 TO, 向该用户发送 REFER消息,使 SIP用户代理节点自动向该 T 号码发起呼叫, TN号码可通过 REFER消息中的 "Refer-To"头域携带; 5117. The T1 timer of the POTS terminal user on the FTSN service control unit times out, the user does not dial the call, the PSTN service control unit takes out the hotline user number TO registered by the user, and sends a REFER message to the user, so that the SIP user agent node automatically Initiating a call to the T number, and the TN number can be carried by the "Refer-To" header field in the REFER message;
5118、 呼叫会话控制单元向 SIP用户代理节点传递 REFER消息; 5118. The call session control unit delivers a REFER message to the SIP user agent node.
5119、 SIP用户代理节点接收并解析此 REFER消息, 向" Refer-To"头域中 携带的 TN号码发起一个新的 SIP初始呼叫请求, 向呼叫会话控制单元发送 INVITE消息, 呼叫会话控制单元接收此 INVITE消息, 作为一个普通 SIP呼 叫处理, 如处理业务触发、 路由接续等; 5119. The SIP user agent node receives and parses the REFER message, initiates a new SIP initial call request to the TN number carried in the "refer-To" header field, and sends an INVITE message to the call session control unit, where the call session control unit receives the message. INVITE message, as a normal SIP call processing, such as processing service triggering, routing connection, etc.;
5120、 SIP用户代理节点回送表示接收 REFER消息成功的 200 OK响应 码; 5120. The SIP user agent node sends back a 200 OK response code indicating that the REFER message is successfully received.
S12 呼叫会话控制单元向 PSTN业务控制单元传递 200 OK响应码; The S12 call session control unit delivers a 200 OK response code to the PSTN service control unit;
5122、 由于按 SIP协议, SUBSCRIBE消息表示的订阅实例存在有限的订 阅周期(由 SUBSCRIBE消息中的 "Expires"头域指定), 为使在 POTS终端用 户撤销热线登记前, 该订阅实例一直存在, PSTN业务控制单元必须周期性的 刷新订阅实例, 即 PSTN业务控制单元定期的向该 POTS终端用户发送 5122. Due to the SIP protocol, the SUBSCRIBE message indicates that the subscription instance has a limited subscription period (specified by the "Expires" header field in the SUBSCRIBE message), so that the subscription instance always exists before the POTS terminal user cancels the hotline registration, PSTN The service control unit must periodically refresh the subscription instance, that is, the PSTN service control unit periodically sends the subscription to the POTS terminal user.
SUBSCRIBE消息, 订阅其"摘机信号"事件; SUBSCRIBE message, subscribe to its "off-hook signal" event;
5123、 呼叫会话控制单元向 SIP用户代理节点传递 SUBSCRIBE消息; 5123. The call session control unit delivers a SUBSCRIBE message to the SIP user agent node.
5124、 SIP用户代理节点接收并解析此 SUBSCRIBE消息, 刷新该 POTS 终端用户的"摘机信号"订阅实例的订阅周期,返回表示订阅成功的 200 OK响
应码; 5124. The SIP user agent node receives and parses the SUBSCRIBE message, refreshes the subscription period of the "off-hook signal" subscription instance of the POTS terminal user, and returns a 200 OK response indicating that the subscription is successful. Should be coded;
5125、 呼叫会话控制单元向 PSTN业务控制单元传递 200 OK响应码, PSTN业务控制单元接收此 200 OK响应码,完成"摘机信号"的刷新订阅过程; 5125. The call session control unit delivers a 200 OK response code to the PSTN service control unit, and the PSTN service control unit receives the 200 OK response code to complete a refresh subscription process of the “off-hook signal”;
5126、 POTS终端用户摘机, 拨号, 发起热线撤销请求, 如按中国国标定 义, 拔" #52#" 5126. The POTS terminal user picks up the phone, dials, and initiates a hotline cancellation request. For example, according to the Chinese national standard, "#52#"
5127、 SIP用户代理节点将 POTS终端用户发起的呼叫转译成 SIP消息, 发起 SIP初始呼叫请求, 向呼叫会话控制单元发送 INVITE消息; 5127. The SIP user agent node translates the call initiated by the POTS terminal user into a SIP message, initiates a SIP initial call request, and sends an INVITE message to the call session control unit.
5128、 呼叫会话控制单元将 INVITE消息触发至 业务控制单元; 5128. The call session control unit triggers the INVITE message to the service control unit.
S 129、 PSTN业务控制单元进行号码分析 ,进行热线撤销的业务逻辑控制, 并应答 INVITE消息, 向呼叫会话控制单元发送 200 OK响应码; S 129. The PSTN service control unit performs number analysis, performs service logic control of the hotline cancellation, and responds to the INVITE message, and sends a 200 OK response code to the call session control unit.
5130、 呼叫会话控制单元向 SIP用户代理节点传递应答 INVITE消息的 200 OK响应码; 5130. The call session control unit delivers a 200 OK response code of the response INVITE message to the SIP user agent node.
5131、 SIP用户代理节点发送 ACK确认消息; 5131. The SIP user agent node sends an ACK acknowledgement message.
5132、 呼叫会话控制单元向 PSTN业务控制单元传递 ACK确认消息; 5132. The call session control unit delivers an ACK acknowledgement message to the PSTN service control unit.
5133、热线撤销成功后, PSTN业务控制单元发起对 POTS终端用户的"摘 机信号 "事件的取消订阅请求, 向该用户发送 SUBSCRIBE消息, 消息中的 "Expires"头 i或值为 0; After the hotline is revoked successfully, the PSTN service control unit initiates an unsubscribe request for the "off-hook signal" event of the POTS terminal user, and sends a SUBSCRIBE message to the user, where the "Expires" header i or the value is 0;
5134、 呼叫会话控制单元向 SIP用户代理节点传递 SUBSCRIBE消息; 5134. The call session control unit delivers a SUBSCRIBE message to the SIP user agent node.
5135、 SIP用户代理节点接收并解析此 SUBSCRIBE消息,根据 "Expires" 头域值为 0判断这是一个取消订阅请求, 则取消该 POTS终端用户的"摘机信 号"订阅实例, 返回表示订阅取消成功的 200 OK响应码; 5135. The SIP user agent node receives and parses the SUBSCRIBE message, and according to the “Expires” header field value of 0, it is determined to be an unsubscribe request, and the “off-hook signal” subscription instance of the POTS terminal user is cancelled, and the return indicates that the subscription cancellation is successful. 200 OK response code;
S136 呼叫会话控制单元向 PSTN业务控制单元传递 200 OK响应码, PSTN业务控制单元接收此 200 OK响应码,完成"摘机信号,,的订阅取消过程。 S136 The call session control unit delivers a 200 OK response code to the PSTN service control unit, and the PSTN service control unit receives the 200 OK response code to complete the "off-hook signal," the subscription cancellation process.
遇忙寄存业务流程和热线业务流程相比, 只在登记和撤销的方式不同, 也就是 PSTN业务控制单元订阅和取消"摘机信号"事件的触发条件不同,因此 本发明不再具体描述遇忙寄存仿真业务流程。 Compared with the busy registration business process and the hotline business process, the registration and revocation modes are different, that is, the trigger conditions of the PSTN service control unit to subscribe to and cancel the "off-hook signal" event are different, so the present invention does not specifically describe the busy condition. Host the simulation business process.
实施例 2、 依据摘机信号交互, 摘机后进行提示的 PSTN仿真业务。
前述实施例 1说明的两种 PSTN仿真业务是依据摘机信号而直接触发了 热线和遇忙寄存的应用流程, 除此之外, 我们知道, 在传统的 PSTN业务中, 摘机信号的主要作用是摘机后向摘机用户送拨号音, 而 POTS终端用户除了 摘机后听普通的拨号音外, 还有如下两种可能: Embodiment 2: According to the off-hook signal interaction, the PSTN simulation service is prompted after off-hook. The two PSTN emulation services described in the foregoing Embodiment 1 directly trigger the hotline and busy registration application flow according to the off-hook signal. Besides, we know that in the traditional PSTN service, the main function of the off-hook signal is After picking up the phone, the dial-up tone is sent to the off-hook user, and the POTS terminal user has the following two possibilities in addition to the normal dial tone after picking up the phone:
1、 摘机后听一种特殊的拨号音或一段语音通知。 当用户欠费、 语音邮箱 中有新的留言、 用户登记了无条件呼叫前转业务、 用户登记了呼出限制业务、 用户登记了免打扰业务、 用户登记了缺席业务、 用户登记了话机闭锁业务、 用户是 Centrex群用户、 用户是小交用户等时, POTS终端用户摘机后, 听某 种特殊的拨号音或一段语音通知, 如"您的话机已欠费"、 "您的语音邮箱有新 留言"等,且这种特殊的拨号音可以根据上述不同的场景而不同,如听"无奈件 呼叫前转登记特殊拨号音"、 "话机闭锁特殊拨号音"、 "Centrex群特殊拨号音,, 等。 1. Listen to a special dial tone or a voice announcement after picking up the phone. When the user owes money, there is a new message in the voice mailbox, the user registers the unconditional call forwarding service, the user registers the outgoing call restriction service, the user registers the DND service, the user registers the absent service, the user registers the phone lockout service, the user registers When the Centrex group user is a small user, the POTS terminal user picks up the phone and listens to a special dial tone or a voice announcement, such as "Your phone has been owed", "Your voice mailbox has a new message." "Wait, and this special dial tone can be different according to the different scenarios mentioned above, such as listening to "unfortunately, call forwarding to register special dial tone", "phone lock special dial tone", "Centrex group special dial tone," etc. .
2、 拨号中听二次拨号音。 如 Centrex群用户拨出群字冠后, 听二次拨号 音。 2. Listen to the second dial tone during dialing. If the Centrex group dials the group prefix, listen to the second dial tone.
即当 POTS终端具有了某种业务特性后, 需要在其摘机后立即或在拨号 中向其进行提示, 提示方式为送一种特殊的拨号音或一段语音通知, 或在拨 号中送二次拨号音。 That is, when the POTS terminal has certain service characteristics, it needs to be prompted immediately after it goes off-hook or during dialing. The prompt mode is to send a special dial tone or a voice announcement, or send it twice in the dialing. Dial tone.
下面给出了一个登记了无条件呼叫前转业务的 Centrex群用户发起出群 呼叫的流程, 用户摘机听"无条件呼叫前转登记特殊拨号音",拨出群字冠, 听 "二次拨号音", 拨群外号码首位, 拨号音停止。 The following is a procedure for a Centrex group user who has registered an unconditional call forwarding service to initiate a group call. The user picks up the phone and listens to the "unconditional call forwarding registration special dial tone", dials the group prefix, and listens to the "secondary dial tone." ", dial the first number outside the group, the dial tone stops.
如图 4所示, 是本发明依据摘机信号交互, 摘机后进行提示的 PSTN仿 真业务的流程示意图, 从图中可见, 其流程主要包括以下步骤: As shown in FIG. 4, it is a schematic flowchart of the PSTN simulation service that is performed according to the off-hook signal interaction and is prompted after the off-hook. As shown in the figure, the process mainly includes the following steps:
S21、 POTS终端用户是 Centrex群用户, PSTN业务控制单元在该用户在 线时, 通过 KPML格式订阅出群字冠拨号事件和群外号码首位拨号事件; 如前所述, Centrex群用户拨出群字冠后要听二次拨号音, 拨群外号码首 位后, 二次拨号音停止, 因此必须要订阅这两个事件。 其中, KPML是一种 以 XML语言描述的按键标记语言, PSTN业务控制单元发起对该 POTS终端
用户的 SUBSCRIBE订阅消息,消息中的订阅事件类型为" kpml",并在消息体 中描述需要订阅的拨号方案(出群字冠和群外号码首位) , 具体的 KPML可 以参阅 IETF中的相关草案, 本发明不再具体描述。 S21. The POTS terminal user is a Centrex group user. When the user is online, the PSTN service control unit subscribes to the group prefix dialing event and the group number first dialing event through the KPML format; as described above, the Centrex group user dials the group word. After the crown, you should listen to the second dial tone. After dialing the first digit of the group, the second dial tone stops, so you must subscribe to these two events. Among them, KPML is a key markup language described in XML language, and the PSTN service control unit initiates the POTS terminal. The user's SUBSCRIBE subscription message, the subscription event type in the message is "kpml", and the dialing scheme (out of the group prefix and the out-of-group number) that needs to be subscribed is described in the message body. The specific KPML can refer to the relevant draft in the IETF. The invention is not described in detail.
S22、 呼叫会话控制单元传递 SUBSCRIBE消息; S22. The call session control unit delivers a SUBSCRIBE message.
S23、 SIP用户代理节点接收并解析 SUBSCRIBE消息, 为 POTS终端用 户创建 "kpml,,事件的订阅实例, 返回表示订阅成功的 200 O 响应码; S23. The SIP user agent node receives and parses the SUBSCRIBE message, creates a "kpml," a subscription instance of the event for the POTS terminal user, and returns a 200 O response code indicating that the subscription is successful;
524、 呼叫会话控制单元传递 200 OK响应码给 PSTN业务控制单元; 524. The call session control unit delivers a 200 OK response code to the PSTN service control unit.
525、 当 POTS终端用户登记无奈件呼叫前转业务成功时, PSTN业务控 制单元发起对该用户的"摘机信号"事件的订阅请求, 发送 SUBSCRIBE消息, "摘机信号,,事件的描述如前所述; 525. When the POTS terminal user registers the helpless call forwarding service successfully, the PSTN service control unit initiates a subscription request for the user's "off-hook signal" event, sends a SUBSCRIBE message, "off-hook signal, and the event description is as before. Said
526、 呼叫会话控制单元传递 SUBSCRIBE消息; 526. The call session control unit delivers a SUBSCRIBE message.
527、 SIP用户代理节点接收并解析 SUBSCRIBE消息, 为 POTS终端用 户创建 "摘机信号,,事件的订阅实例, 返回表示订阅成功的 200 OK响应码; 527. The SIP user agent node receives and parses the SUBSCRIBE message, creates an “off-hook signal, a subscription instance of the event, and returns a 200 OK response code indicating that the subscription is successful for the POTS terminal user;
528、 呼叫会话控制单元传递 200 OK响应码给 PSTN业务控制单元;528. The call session control unit delivers a 200 OK response code to the PSTN service control unit.
529、 POTS终端用户摘机; 529. The POTS terminal user picks up the phone;
5210、 SIP用户代理节点接收到 POTS终端用户的摘机信号, 判断存在有 对该用户的"摘机信号,,的订阅实例, 则向订阅者(PSTN业务控制单元)发送 NOBFY消息, 通知该用户发出了"摘机信号,,, "摘机信号,,事件包格式如前所 述; 5210. The SIP user agent node receives the off-hook signal of the POTS terminal user, determines that there is a subscription instance of the off-hook signal for the user, and sends a NOBFY message to the subscriber (PSTN service control unit) to notify the user. Issued "off-hook signal,,," off-hook signal, the event packet format is as described above;
5211、 呼叫会话控制单元传递 NOTIFY消息; 5211. The call session control unit delivers a NOTIFY message.
S212、 PSTN业务控制单元接收并解析到此 NOTIFY消息,判断对该 POTS 终端用户发出过"摘机信号"的订阅, 得知该 POTS终端用户发起了摘机操作, 返回接收成功的 200 OK响应码; S212. The PSTN service control unit receives and parses the NOTIFY message, and determines that the POTS terminal user has issued an "off-hook signal" subscription, and learns that the POTS terminal user initiates an off-hook operation, and returns a successful 200 OK response code. ;
5213、 呼叫会话控制单元传递 200 OK响应码; 5213. The call session control unit delivers a 200 OK response code.
5214、 PSTN业务控制单元在接收的 POTS终端用户的摘机信号后, 指示 用户听"无条件呼叫前转登记特殊拨号音",向该用户发送 REFER消息,使 SIP 用户代理节点可以向媒体资源控制单元发起呼叫, 在" Refer-To"头域的
"method"参数中指明为 "INVITE"消息, 而"无条件呼叫前转登记特殊拨号音" 可以直接以 URI地址表示在" Refer-To"头域中; 或" Refer- To,,头域中只表示媒 体资源控制单元的地址, 而具体播放的音类型"无条件呼叫前转登记特殊拨号 音"表示在消息体中; 5214. After receiving the off-hook signal of the POTS terminal user, the PSTN service control unit instructs the user to listen to the “unconditional call forwarding registration special dial tone”, and sends a REFER message to the user, so that the SIP user agent node can send the media resource control unit to the media resource control unit. Initiate a call, in the "Refer-To" header field The "method" parameter indicates the "INVITE" message, and the "unconditional call forwarding registration special dial tone" can be directly represented by the URI address in the "Refer-To" header field; or " Refer- To," in the header field only Indicates the address of the media resource control unit, and the specific played tone type "unconditional call forwarding registration special dial tone" is indicated in the message body;
S215、 呼叫会话控制单元传递 REFER消息; S215. The call session control unit delivers a REFER message.
5216、 SIP用户代理节点接收并解析 REFER消息, 回送表示接收成功的 200 OK响应码; 5216. The SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
5217、 呼叫会话控制单元传递 200 OK响应码; 5217. The call session control unit delivers a 200 OK response code.
5218、 SIP用户代理节点向媒体资源控制单元发起呼叫会话请求, 发送 SIP INVITE消息, 申请播放 "无条件呼叫前转登记特殊拨号音"; 5218. The SIP user agent node initiates a call session request to the media resource control unit, sends a SIP INVITE message, and requests to play an “unconditional call forwarding registration special dial tone”;
5219、 呼叫会话控制单元传递 INVITE消息; 5219. The call session control unit delivers an INVITE message.
5220、 媒体资源控制单元回送表示应答的 200 OK应答响应码; 5220. The media resource control unit sends back a 200 OK response response code indicating the response.
S221、 呼叫会话控制单元传递 200 OK应答响应码; S221. The call session control unit delivers a 200 OK response response code.
5222、 SIP用户代理节点回送接收 200 OK应答响应码成功的 ACK确认 消息; 5222. The SIP user agent node sends back an ACK acknowledgement message that the 200 OK response response code is successful.
5223、 呼叫会话控制单元传递 ACK确认消息给媒体资源控制单元, SIP 会话建立成功, POTS终端用户听"无条件呼叫前转登记特殊拨号音,,; 5223. The call session control unit delivers an ACK acknowledgement message to the media resource control unit, the SIP session is successfully established, and the POTS terminal user listens to the “unconditional call forwarding registration special dial tone,”;
5224、 POTS终端用户接着拨 Centrex出群字冠, 如" 0"; 5224, the POTS terminal user then dials the Centrex out-of-group prefix, such as "0";
5225、 SIP用户代理节点接收到 POTS终端用户所拨的出群字冠号码, 判 断存在有对该用户的 "kpml"的订阅实例, 并匹配订阅的拨号方案, 匹配成功, 则向订阅者(PSTN业务控制单元)发送 NOTIFY消息, 通知该用户发出了 "kpml"事件, 消息体中携带出群字冠号码; 5225. The SIP user agent node receives the outbound prefix number dialed by the POTS terminal user, determines that there is a subscription instance of the user's "kpml", and matches the subscribed dial plan, and if the matching is successful, the subscriber (PSTN) The service control unit sends a NOTIFY message to notify the user that a "kpml" event is sent, and the message body carries the group prefix number;
5226、 呼叫会话控制单元传递 NOTIFY消息; 5226. The call session control unit delivers a NOTIFY message.
5227、 PSTN业务控制单元接收并解析到此 NOTIFY消息,判断对该 POTS 终端用户发出过" kpml"的订阅,从消息体中接收该 POTS终端用户所拨的出群 字冠号码,进行号码分析判断号码为出群字冠,返回接收成功的 200 OK响应 码;
S228、 呼叫会话控制单元传递 200 OK响应码; 5227. The PSTN service control unit receives and parses the NOTIFY message, determines that the POTS terminal user has subscribed to the "kpml", and receives the outbound group prefix number dialed by the POTS terminal user from the message body, and performs number analysis and judgment. The number is the out-of-group prefix and returns the 200 OK response code that was successfully received. S228. The call session control unit delivers a 200 OK response code.
S229 PSTN业务控制单元首先控制媒体资源控制单元停止播放"无条件 呼叫前转登记特殊拨号音", 向 SIP用户代理节点发送 REFER消息, 在 "Refer-To"头域的 "method"参数中指明为 "BYE"消息; The S229 PSTN service control unit first controls the media resource control unit to stop playing the "unconditional call forwarding registration special dial tone", and sends a REFER message to the SIP user agent node, which is indicated as "" in the "method" parameter of the "Refer-To" header field. BYE" message;
S230、 呼叫会话控制单元传递 REFER消息; S230. The call session control unit delivers a REFER message.
5231、 SIP用户代理节点接收并解析 REFER消息, 回送表示接收成功的 200 OK响应码; 5231. The SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
5232、 呼叫会话控制单元传递 200 OK响应码; 5232. The call session control unit delivers a 200 OK response code.
5233、 SIP用户代理节点根据 REFER消息指示的 method方法为 BYE, 向媒体资源控制单元发起 BYE消息, 释放"无条件呼叫前转登记特殊拨号音" 的会话; 5233. The SIP user proxy node initiates a BYE message to the media resource control unit according to the method method indicated by the REFER message, and releases a session of “unconditional call forwarding registration special dial tone”;
5234、 呼叫会话控制单元传递 BYE消息; 5234. The call session control unit delivers a BYE message.
5235、 媒体资源控制单元释放"无条件呼叫前转登记特殊拨号音 "的会话, 回送释放成功的 200 OK响应码; 5235. The media resource control unit releases the session of “unconditional call forwarding registration special dial tone”, and returns a 200 OK response code that is successfully released.
5236、 呼叫会话控制单元传递 200 OK响应码; 5236. The call session control unit delivers a 200 OK response code.
5237、 PSTN业务控制单元控制媒体资源控制单元向用户播放 "二次拨号 音,,, 向 SIP用户代理节点发送 REFER消息, 在" Refer-To"头域的 "method"参 数中指明为 "INVITE"消息; 5237. The PSTN service control unit controls the media resource control unit to play a "secondary dial tone" to the user, and sends a REFER message to the SIP user agent node, indicating "INVITE" in the "method" parameter of the " Refer-To" header field. Message
S238、 呼叫会话控制单元传递 REFER消息; S238. The call session control unit delivers a REFER message.
S239、 SIP用户代理节点接收并解析 REFER消息, 回送表示接收成功的 200 OK响应码; S239. The SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
S240、 呼叫会话控制单元传递 200 OK响应码; S240. The call session control unit delivers a 200 OK response code.
5241、 SIP用户代理节点向媒体资源控制单元发起呼叫会话请求, 发送 SIP INVITE消息 , 申请播放 "二次拨号音"; 5241. The SIP user agent node initiates a call session request to the media resource control unit, sends a SIP INVITE message, and requests to play a “secondary dial tone”;
5242、 呼叫会话控制单元传递 INVITE消息; 5242. The call session control unit delivers an INVITE message.
5243、 媒体资源控制单元回送表示应答的 200 OK应答响应码; 5243. The media resource control unit returns a 200 OK response response code indicating the response.
5244、 呼叫会话控制单元传递 200 OK应答响应码;
5245、 SIP用户代理节点回送接收 200 OK应答响应码成功的 ACK确认 消息; 5244. The call session control unit delivers a 200 OK response response code. 5245. The SIP user agent node sends back an ACK acknowledgement message that the 200 OK response response code is successful.
5246、 呼叫会话控制单元传递 ACK确认消息给媒体资源控制单元, SIP 会话建立成功, POTS终端用户听"二次拨号音"; 5246. The call session control unit delivers an ACK acknowledgement message to the media resource control unit, the SIP session is successfully established, and the POTS terminal user listens to the “secondary dial tone”;
S247、 POTS终端用户接着拨群外号码的首位; S247, the POTS terminal user then dials the first place of the group number;
S248、 SIP用户代理节点接收到 POTS终端用户所拨的群外号码首位, 判 断存在有对该用户的 "kpml"的订阅实例, 并匹配订阅的拨号方案, 匹配成功, 则向订阅者(PSTTST业务控制单元)发送 NOTIFY消息, 通知该用户发出了 "kpml"事件, 消息体中携带群外号码首位; S248. The SIP user agent node receives the first group number of the group dialed by the POTS terminal user, determines that there is a subscription instance of the user's "kpml", and matches the subscribed dialing plan. If the matching is successful, the subscriber (PSTTST service) The control unit sends a NOTIFY message to notify the user that a "kpml" event is sent, and the message body carries the first digit of the group number;
S249> 呼叫会话控制单元传递 NOTIFY消息; S249> The call session control unit transmits a NOTIFY message;
5250、 PSTN业务控制单元接收并解析到此 JTIFY消息,判断对该 POTS 终端用户发出过" kpml"的订阅,从消息体中接收该 POTS终端用户所拨的群外 号码首位, 返回接收成功的 200 OK响应码; 5250. The PSTN service control unit receives and parses the JTIFY message, determines that the POTS terminal user has subscribed to the "kpml", receives the first group external number dialed by the POTS terminal user from the message body, and returns a successful receiving 200. OK response code;
5251、 呼叫会话控制单元传递 200 OK响应码; 5251. The call session control unit delivers a 200 OK response code.
S252、 PSTN业务控制单元首先控制媒体资源控制单元停止播放"二次拨 号音", 向 SIP用户代理节点发送 REFER消息, 在" Refer-To"头域的 "method" 参数中指明为 "BYE"消息; S252. The PSTN service control unit first controls the media resource control unit to stop playing the "secondary dial tone", and sends a REFER message to the SIP user agent node, indicating the message "BYE" in the "method" parameter of the " Refer-To" header field. ;
S253、 呼叫会话控制单元传递 REFER消息; S253. The call session control unit delivers a REFER message.
5254、 SIP用户代理节点接收并解析 REFER消息, 回送表示接收成功的 200 OK响应码; 5254. The SIP user agent node receives and parses the REFER message, and sends back a 200 OK response code indicating that the reception is successful.
5255、 呼叫会话控制单元传递 200 OK响应码; 5255. The call session control unit delivers a 200 OK response code.
5256、 SIP用户代理节点根据 REFER消息指示的 method方法为 BYE, 向媒体资源控制单元发起 BYE消息, 释放"二次号音,,的会话; 5256. The SIP user agent node initiates a BYE message to the media resource control unit according to the method method indicated by the REFER message, and releases the session of the second tone.
5257、 呼叫会话控制单元传递 BYE消息; 5257. The call session control unit delivers a BYE message.
5258、媒体资源控制单元释放"二次拨号音, '的会话, 回送释放成功的 200 OK响应码; 5258. The media resource control unit releases the "secondary dial tone," session, and returns a 200 OK response code that is successfully released.
5259、 呼叫会话控制单元传递 200 OK响应码;
实施例 3: 依据拍叉信号交互的 PSTN仿真业务。 5259. The call session control unit delivers a 200 OK response code. Embodiment 3: PSTN emulation service based on the cross-signal signal interaction.
典型的依据拍叉信号交互的 PSTN仿真业务有: 呼叫等待、 三方通话、 会议电话、 呼叫转移、 查找恶意呼叫、 遇忙回叫、 遇忙寄存等, 业务的定义 均可参见邮电部电话交换设备总技术规范书。 拍叉信号在这些业务中的具体 的交互方式有三种: Typical PSTN emulation services based on the cross-talk signal interaction are: call waiting, three-way calling, conference call, call forwarding, finding malicious calls, busy callback, busy registration, etc. The definition of the service can be found in the telephone exchange equipment of the Ministry of Posts and Telecommunications. General technical specification. There are three specific ways in which the flash signal can interact in these services:
1、 拍叉后拨一个特定的业务码, 激活一个业务登记, 如遇忙回叫和遇忙 寄存。 1. After the flash is shot, dial a specific service code to activate a service registration, such as busy callback and busy registration.
2、 拍叉后拨一个特定的数字或业务码, 激活一个业务应用方式, 如呼叫 等待、 三方通话、 查找恶意呼叫。 2. After the fork is shot, dial a specific number or service code to activate a service application mode, such as call waiting, three-party calling, and finding a malicious call.
3、 拍叉后拨一个被叫用户号码, 发起一个新的呼叫, 如三方通话、 会议 电话和呼叫转移。 3. After the flash is shot, dial a called subscriber number to initiate a new call, such as three-way calling, conference call, and call forwarding.
可以看出, 不管是哪种 PST 仿真业务, 要正确实现, SIP用户代理节点 都必须将拍叉信号通过 NOTIFY消息携带的事件包传递给 PSTN业务控制单 元。 而根据 SIP的 SUBSCRIBE/NOTIFY机制, 在此之前, PSTN业务控制单 元必须先向 SIP用户代理节点订阅 POTS终端用户的"拍叉信号"事件。 It can be seen that no matter which PST emulation service is implemented correctly, the SIP user agent node must pass the scramble signal to the PSTN service control unit through the event packet carried by the NOTIFY message. According to the SUBSCRIBE/NOTIFY mechanism of SIP, before this, the PSTN service control unit must first subscribe to the SIP user agent node for the "cross-signal" event of the POTS terminal user.
在前述的热线业务流程中, 用户是在登记热线成功后, 才需要将"摘机信 号,,上报给 PSTN业务控制单元(普通用户没有必要作此处理), 因此可根据用 户拨业务码进行登记和撤销来作为 "摘机信号"事件订阅和取消订阅的触发条 件的, 但对依据拍叉信号交互的 仿真业务来说, 只要用户可以拍叉, 就需要将"拍叉信号,,上报给 PSTN业务控制单元, 因此,对"拍叉信号"事件订 阅和取消订阅的触发条件可以有如下两种方式: In the aforementioned hotline service flow, after the registration hotline is successful, the user needs to "off-hook signal, and report it to the PSTN service control unit (the ordinary user does not need to do this processing), so the user can register according to the service code. And revocation as the trigger condition for the "off-hook signal" event subscription and unsubscribe, but for the simulation service based on the cross-signal interaction, as long as the user can shoot the fork, the "cross-signal signal" needs to be reported to the PSTN. The business control unit, therefore, the trigger conditions for the "cross-signal" event subscription and unsubscribe can be as follows:
1、 POTS终端用户在分组域的在线和离线, 作为"拍叉信号"事件订阅和 取消订阅的触发条件。 在线和离线包括: 用户的注册和注销、 系统对用户的 闭塞和解闭塞等。 1. POTS terminal users are online and offline in the packet domain, as a trigger condition for subscription and unsubscription of the "cross-signal" event. Online and offline include: user registration and logout, system occlusion and occlusion of the user.
2、 POTS终端用户开通或取消上述一种业务的业务权限时,作为"拍叉信 号"事件订阅和取消订阅的触发条件。 2. When the POTS terminal user activates or cancels the service authority of the above-mentioned one service, it is a trigger condition for the subscription and unsubscription of the "cross-fork signal" event.
不管是哪种方式的触发条件, PSTN业务控制单元使用 SUBSCRIBE消息
对 POTS终端用户的 "拍叉信号"事件订阅和取消订阅的过程都是相同。 Regardless of the trigger condition of the method, the PSTN service control unit uses the SUBSCRIBE message. The process of subscribing and unsubscribing to the "cross-signal" event of the POTS end user is the same.
由于 PSTN业务控制单元对 POTS终端用户的 "拍叉信号"事件订阅和取消 订阅 (包括刷新订阅)以及 SIP用户代理节点对"拍叉信号,,事件的通知上报, 和前述的"摘机信号,,的流程类似, 本发明不再描迷其流程。 Since the PSTN service control unit subscribes and unsubscribes (including refresh subscriptions) to the POTS end user's "cross-signal" event, and the SIP user agent node pairs the "flash signal, the notification of the event, and the aforementioned "off-hook signal," The process is similar, and the process is no longer described in the present invention.
本发明为 "拍叉信号"事件包的定义如下: The present invention defines a "cross-over signal" event package as follows:
signal-flashhook = flash-status-line CRLF Signal-flashhook = flash-status-line CRLF
[flash-account CRLF] [flash-account CRLF]
flash-status-line = "Flash-Hook" HCOLON flash-status flash-status - "yes" I "no" Flash-status-line = "Flash-Hook" HCOLON flash-status flash-status - "yes" I "no"
flash-account = "Flash-Account" HCOLON Account-U I Account-U I = SIP-URI I SIPS-URI / absoluteURI Flash-account = "Flash-Account" HCOLON Account-U I Account-U I = SIP-URI I SIPS-URI / absoluteURI
其中, 拍叉信号事件包类型被命名为 signal-flashhook, 而事件包中包 含两个参数 Flash-Hook表示是否发出了拍叉信号, Flash-Account表示 发出拍叉信号的 POTS终端标识。 Among them, the flashing signal event packet type is named signal-flashhook, and the event packet contains two parameters. Flash-Hook indicates whether the flashing signal is sent, and Flash-Account indicates the POTS terminal identifier that sends the flashing signal.
其中, PSTN业务控制单元使用 SUBSCRIBE消息对 POTS终端用户的"拍 叉信号 "事件订阅和取消订阅时,必须在 SUBSCRIBE消息的 "Event,,头域中指 出订阅的事件包类型, 表示订阅拍叉信号事件包: Wherein, the PSTN service control unit uses the SUBSCRIBE message to subscribe and unsubscribe the "cross-signal" event of the POTS terminal user, and must indicate the subscribed event packet type in the "Event" header field of the SUBSCRIBE message, indicating that the subscription cross-signal signal Event package:
Event: signal-flashhook Event: signal-flashhook
POTS终端用户在使用上述业务时,拍叉, SIP用户代理节点接收到 POTS 终端用户的拍叉信号,判断存在有对该用户的"拍叉信号"的订阅实例,则向订 阅者 业务控制单元)发送 NOTIFY消息, 通知该用户发出了"拍叉信 号", 按上述定义的 "摘机信号"事件包格式, NOTIFY消息中的 "Event"头域: When the POTS terminal user uses the above service, the SIP user agent node receives the flashing signal of the POTS terminal user, and determines that there is a subscription instance of the "flash signal" of the user, and then the subscriber service control unit) Send a NOTIFY message, informing the user that a "flash signal" has been issued, in the "off-hook signal" event packet format defined above, the "Event" header field in the NOTIFY message:
Event: signal-flashhook Event: signal-flashhook
NOTIFY消息中携带的事件包如下: The event package carried in the NOTIFY message is as follows:
Flash-Hook: yes Flash-Hook: yes
Flash-Account: URI格式的 POTS终端用户号码 Flash-Account: POTS end user number in URI format
POTS终端用户拍叉后所拨号码,也需要由 SIP用户代理节点上报给 PSTN 业务控制单元,也可以通过 NOTIFY消息携带,具体方式可参见 IETF当前草
案 draft-ietf-sipping-kpml-07.txt, PSTN业务控制单元接收到用户拍叉后所拨的 号码, 进行号码分析并进行相应的业务逻辑控制, 该过程本发明不再详细描 述。 The number dialed by the POTS terminal user after the call is also reported to the PSTN service control unit by the SIP user agent node. It can also be carried by the NOTIFY message. For details, see the IETF current grass. The draft-ietf-sipping-kpml-07.txt, the PSTN service control unit receives the number dialed by the user after the flashing of the fork, performs number analysis and performs corresponding business logic control, and the process is not described in detail in the present invention.
另外, 根据前面 3个实施例可以看出, 摘机信号和拍叉信号是非常类似 的两种模拟用户信令, 都是对话机叉簧的操作引发的模拟用户信令, 因此, 它们的事件包可以合一定义成一个叉簧信号事件包, 该事件包的定义如下: signal-hook = hook-status-line CRLF In addition, according to the foregoing three embodiments, it can be seen that the off-hook signal and the flashing signal are very similar two kinds of analog user signaling, which are analog user signaling caused by the operation of the hook of the dialogue machine, and therefore, their events The package can be defined as a hook signal event package. The event package is defined as follows: signal-hook = hook-status-line CRLF
[flash-account CRLF] [flash-account CRLF]
hook-status-line = "Hook-Type" HCOLON hook-status hook-status = "off-hook" I "flash-hook" I "no" hook-account = "Hook-Account" HCOLON Account-URI Account-URI = SIP-U I I SIPS-URI / absolute丽 Hook-status-line = "Hook-Type" HCOLON hook-status hook-status = "off-hook" I "flash-hook" I "no" hook-account = "Hook-Account" HCOLON Account-URI Account-URI = SIP-U II SIPS-URI / absolute
其中, 叉簧信号事件包类型被命名为 signal-hook, 而事件包中包含两个 参数 Hook-Type表示叉簧操作类别, 摘机类别和拍叉类别的取值分别为 off-hook和 flash-hook, Hook-Account表示发出相应叉簧操作的 POTS终端标 识。 Among them, the hook signal packet type is named signal-hook, and the event packet contains two parameters Hook-Type indicating the hook operation category, and the off-hook category and the fork type are respectively off-hook and flash- Hook, Hook-Account indicates the POTS terminal identifier that issues the corresponding hook operation.
PSTN业务控制单元使用 SUBSCRIBE消息对 POTS终端用户的"拍叉信 号,,和"摘机信号"事件订阅和取消订阅时, 必须在 SUBSCRIBE消息的 "Event" 头域中指出订阅的事件包类型, 表示订阅叉簧信号事件包: When the PSTN service control unit uses the SUBSCRIBE message to subscribe and unsubscribe the "cross-signal," and "off-hook" events of the POTS end user, the subscribed event packet type must be indicated in the "Event" header field of the SUBSCRIBE message. Subscribe to the Hook Signal Event Package:
Event: signal-hook Event: signal-hook
当 SIP用户代理节点接收到 POTS终端用户的拍叉信号,判断存在有对该 用户的 "拍叉信号"的订阅实例, 则向订阅者(PSTN业务控制单元)发送 NOTIFY消息, 通知该用户发出了"拍叉信号", NOTIFY消息中的" Event"头 域: When the SIP user agent node receives the flashing signal of the POTS terminal user and determines that there is a subscription instance of the "flash signal" of the user, it sends a NOTIFY message to the subscriber (PSTN service control unit), notifying the user that the message is sent. "Crossing the signal", the "Event" header field in the NOTIFY message:
Event: signal-hook Event: signal-hook
NOTIFY消息中携带的事件包如下: The event package carried in the NOTIFY message is as follows:
Hook-Type: flash-hook Hook-Type: flash-hook
Hook-Account: URI格式的 POTS终端用户号码
当 SIP用户代理节点接收到 POTS终端用户的摘机信号,判断存在有对该 用户的 "摘机信号"的订阅实例, 则向订阅者( PST 务控制单元)发送 NOTIFY消息, 通知该用户发出了"摘机信号", NOTIFY消息中的" Event"头 域: Hook-Account: POTS end user number in URI format When the SIP user agent node receives the off-hook signal of the POTS terminal user and determines that there is a subscription instance of the "off-hook signal" of the user, the subscriber sends a NOTIFY message to the subscriber (PST service control unit), notifying the user that the user has sent the "Off-hook signal", the "Event" header field in the NOTIFY message:
Event: signal-hook Event: signal-hook
NOTIFY消息中携带的事件包如下: The event package carried in the NOTIFY message is as follows:
Hook-Type: off-hook Hook-Type: off-hook
Hook-Account: URI格式的 POTS终端用户号码 Hook-Account: POTS end user number in URI format
通过以上 3个实施例的描述可以看出, 通过本发明的方案, 传统 POTS 终端接入至使用 SIP作为呼叫控制信令的分组核心网后, 仍可以使用热线、 遇忙寄存、 呼叫等待、 三方通话、 会议电话、 呼叫转移、 查找恶意呼叫、 遇 忙回叫等依据摘机信号、 拍叉信号交互的 仿真业务, 使用户在业务继 承性上得到良好的体验。 As can be seen from the description of the above three embodiments, after the traditional POTS terminal accesses the packet core network using SIP as call control signaling, the hotline, busy registration, call waiting, and three parties can still be used. Calls, conference calls, call forwarding, malicious calls, busy callbacks, etc., based on off-hook signals, and cross-signal interaction simulation services, so that users get a good experience in business inheritance.
可以看到, 本发明的核心思想是为实现需要依据模拟用户信号(摘机信 号、拍叉信号)触发的 PSTN仿真业务, 而由 SIP用户代理节点将 POTS终端 发生的摘机信号和拍叉信号通过 SIP消息传递给 业务控制单元,以进行 后续的业务处理。 同时, 由于 PSTN业务控制单元只在需要处理相关的仿真 业务时, 才要求 SIP用户代理节点上报 POTS终端发生的模拟用户信号, 即 SIP用户代理节点需要根据一定的过滤规则有选择的上报(而不是在任何时候 都上报), 在前述的实施例中, PSTN业务控制单元通过向 SIP用户代理节点 订阅 POTS终端发生的模拟用户信号,以在 SIP用户代理节点上建立模拟用户 信号上报的过滤规则, 即只有创建了订阅实例的 POTS终端, 其发生的模拟 用户信号才会被上报。 It can be seen that the core idea of the present invention is to implement an off-hook signal and a bifurcation signal generated by a SIP user agent node in order to implement a PSTN emulation service triggered by an analog user signal (off-hook signal, bifurcation signal). The SIP message is delivered to the service control unit for subsequent service processing. At the same time, because the PSTN service control unit only needs to process the related simulation service, the SIP user agent node is required to report the simulated user signal generated by the POTS terminal, that is, the SIP user agent node needs to selectively report according to a certain filtering rule (instead of In any of the foregoing embodiments, the PSTN service control unit establishes a filtering rule for simulating user signal reporting on the SIP user agent node by subscribing to the SIP user agent node an analog user signal generated by the POTS terminal. Only the POTS terminal that created the subscription instance will be reported for the simulated user signal.
显然, PSTN业务控制单元还可以通过其它的方式在 SIP用户代理节点上 建立模拟用户信号上报的过滤规则, 比如 PSTN业务控制单元可以在一个文 件中描述该过滤规则 , 再将该文件发送给 SIP用户代理节点, SIP用户代理节 点将收到的模拟用户信号和该文件中描述的过滤规则进行匹配, 以决定是否
上报该模拟用户信号。 可以在该文件中通过 XML描述该过滤规则。 此时, 模 拟用户信号可以仍采用上述实施例中的事件包描述格式,仍通过 SIP NOTIFY 消息上报, 也可以通过 SIP PUBLISH发布消息携带该事件包上报; 当然, 由 于此时的过滤规则已经发生变化, 因此也可以通过其它的 SIP消息采用其它 的描述格式携带模拟用户信号。 ' Obviously, the PSTN service control unit can also establish a filtering rule for the simulated user signal reporting on the SIP user agent node by other means. For example, the PSTN service control unit can describe the filtering rule in a file, and then send the file to the SIP user. The proxy node, the SIP user proxy node matches the received simulated user signal with the filtering rules described in the file to determine whether The analog user signal is reported. This filtering rule can be described in XML in this file. At this time, the analog user signal may still be in the event packet description format in the foregoing embodiment, and may still be reported by the SIP NOTIFY message, or may be reported by the SIP PUBLISH advertisement message; of course, since the filtering rule has changed at this time Therefore, it is also possible to carry analog user signals in other description formats through other SIP messages. '
此外, 需要向网络上报的模拟用户信号除了摘机信号和拍叉信号外, 还 有挂机信号, 本发明同样适用于因仿真业务实现需要, SIP用户代理节点向 PST 业务控制单元上报挂机信号的场景。 比如, 一般情况下, POTS终端挂 机后, SIP用户代理节点会直接向网络发送 SIP BYE再见消息,释放呼叫, 而 在某些仿真业务的实现过程中, 只要求 SIP用户代理节点上报挂机信号, 但 并不释放呼叫, 此时就可以采用本发明提供的方法。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。
In addition, the analog user signal that needs to be reported to the network has an on-hook signal in addition to the off-hook signal and the flash signal. The present invention is also applicable to the scenario where the SIP user agent node reports the on-hook signal to the PST service control unit due to the implementation of the simulation service. . For example, in general, after the POTS terminal hangs up, the SIP user agent node will directly send a SIP BYE goodbye message to the network to release the call. In the implementation process of some emulation services, only the SIP user agent node is required to report the on-hook signal, but The call is not released, and the method provided by the present invention can be employed at this time. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions
Claims
1、 一种 PSTN仿真业务实现方法, 其特征在于, 包括以下步驟: A method for implementing a PSTN simulation service, comprising the steps of:
POTS终端被赋予可被应用的业务特性; 应用的业务特性对应的触发事件上报的过滤规则; The POTS terminal is given a service characteristic that can be applied; the filtering rule reported by the trigger event corresponding to the service characteristic of the application;
SIP用户代理节点接收 POTS终端发送的所述触发事件对应的触发信号, 根据所述过滤规则,向 PSTN业务控制单元发送 SIP消息,所述的 SIP消息中 指明该 POTS终端发出触发信号; The SIP user agent node receives the trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the filtering rule, where the SIP message indicates that the POTS terminal sends a trigger signal;
PSTN业务控制单元解析所述的 SIP消息, 并触发 POTS终端所述可被应 用的业务特性。 The PSTN service control unit parses the SIP message and triggers the service characteristics of the POTS terminal that can be applied.
2、 如权利要求 1所述的方法, 其特征在于, 所述触发信号, 为模拟用户 信令的摘机信号。 2. The method according to claim 1, wherein the trigger signal is an off-hook signal simulating user signaling.
3、 如权利要求 2所述的方法, 其特征在于, 所述 POTS终端被赋予可被 应用业务为热线业务或遇忙寄存业务。 The method according to claim 2, wherein the POTS terminal is given a service that can be applied as a hotline service or a busy hosted service.
4、 如权利要求 3所述的方法, 其特征在于, 所述 POTS终端被赋予可被 应用的业务特性的方法为: POTS终端用户成功登记热线业务或遇忙寄存业 务。 The method according to claim 3, wherein the POTS terminal is given a service characteristic that can be applied as follows: The POTS terminal user successfully registers the hotline service or the busy deposit service.
5、 如权利要求 2所述的方法, 其特征在于, 所述 POTS终端被赋予可被 应用业务为 POTS终端用户摘机听特殊提示音业务或语音通知业务。 The method according to claim 2, wherein the POTS terminal is given a service that can be used by the POTS terminal to pick up a special tone service or a voice announcement service.
6、 如权利要求 5所述的方法, 其特征在于, 所述 POTS终端被赋予可被 应用的业务特性的方法为: POTS终端用户成功激活留言灯, 或 POTS终端用 户成功登记无条件呼叫前转或呼出限制或免打扰或缺席或话机闭锁、或 POTS 终端用户进入欠费状态、 或 POTS终端用户成为 Centrex用户或小交用户。 6. The method according to claim 5, wherein the POTS terminal is given a service characteristic that can be applied as follows: the POTS terminal user successfully activates the message light, or the POTS terminal user successfully registers the unconditional call forwarding or Outbound restrictions or DND or absence or phone lockout, or POTS end users entering arrears status, or POTS end users become Centrex users or small pay users.
7、 如权利要求 3所述的方法, 其特征在于, 所述 PSTN业务控制单元触 发 POTS终端所述可应用的业务特性, 包括如下步驟: The method according to claim 3, wherein the PSTN service control unit triggers the applicable service characteristics of the POTS terminal, and includes the following steps:
PSTN业务控制单元启动定时器监视 POTS终端用户拨号;
如杲所述定时器超时, POTS终端用户没有拨号, 业务控制单元向 SIP用户代理节点发送 REFER消息, 指示后者向所述热线或遇忙寄存成功登 记的热线号码或遇忙寄存号码发起一个新的 SIP初始会话请求;或 PSTN业务 控制单元向热线号码或遇忙寄存号码发送 REFER消息, 指示后者向 POTS终 端用户发起一个新的 SIP初始会话请求。 The PSTN service control unit starts a timer to monitor the POTS terminal user dialing; If the timer expires, the POTS terminal user does not dial, and the service control unit sends a REFER message to the SIP user agent node, instructing the latter to initiate a new hotline number or busy registration number to the hotline or busy registration registration. The SIP initial session request; or the PSTN service control unit sends a REFER message to the hotline number or the busy registration number, instructing the latter to initiate a new SIP initial session request to the POTS end user.
8、 如权利要求 5所述的方法, 其特征在于, 所述 PSTN业务控制单元触 发 POTS终端所述可应用的业务特性, 还包括如下步骤: The method according to claim 5, wherein the PSTN service control unit triggers the applicable service characteristics of the POTS terminal, and further includes the following steps:
PSTN业务控制单元向 SIP用户代理节点发送 REFER消息, 指示 SIP用 户代理节点向所述特殊提示音或语音提示的媒体资源发起一个新的 SIP初始 会话请求; 或 PSTN业务控制单元向特殊提示音或语音提示的媒体资源发送 REFER消息, 指示特殊提示音或语音提示的媒体资源向 POTS终端用户发起 一个新的 SIP初始会话请求; The PSTN service control unit sends a REFER message to the SIP user agent node, instructing the SIP user agent node to initiate a new SIP initial session request to the special prompt tone or the voice prompting media resource; or the PSTN service control unit to the special prompt tone or voice The prompted media resource sends a REFER message, and the media resource indicating the special prompt tone or the voice prompt initiates a new SIP initial session request to the POTS terminal user;
所述新的 SIP会话建立成功, POTS终端用户听特殊提示音或语音提示。 The new SIP session is successfully established, and the POTS terminal user listens to a special prompt tone or voice prompt.
9、 如权利要求 1所述的方法, 其特征在于, 所述触发信号, 为模拟用户 信令的拍叉信号。 9. The method according to claim 1, wherein the trigger signal is a flash signal that simulates user signaling.
10、 如权利要求 9所述的方法, 其特征在于, 所述业务为呼叫等待、 或 三方通话、 或会议电话、 或拍叉呼叫转移、 或查找恶意呼叫、 或遇忙回叫、 或遇忙寄存拍叉业务。 10. The method of claim 9, wherein the service is a call waiting, or a three-way call, or a conference call, or a fork call transfer, or a malicious call, or a busy callback, or a busy call Registered fork business.
11、 如权利要求 10所述的方法, 其特征在于, 所述 POTS终端被赋予可 被应用的业务特性的方法为: POTS终端用户成功开通所述拍叉业务权限或成 功登记所述拍叉业务、 或 POTS终端用户在线。 The method according to claim 10, wherein the POTS terminal is given a service characteristic that can be applied as follows: the POTS terminal user successfully activates the service fork service authority or successfully registers the service fork service , or POTS end users online.
12、 如权利要求 1 所述的方法, 其特征在于, 所述触发信号, 为模拟用 户信令的挂机信号。 12. The method according to claim 1, wherein the trigger signal is an on-hook signal simulating user signaling.
13、 如权利要求 1所述的方法, 其特征在于, 所述过滤规则为订阅, 所述 PSTN业务控制单元向 SIP用户代理节点发起所述触发事件的订阅请 求,发送 SIP消息,所述的 SIP消息通过头域指明所订阅的触发事件的事件包 类型;
所述 SIP用户代理节点接收 POTS终端发送的所述触发事件对应的触发信 号,根据所述 POTS终端已经建立的事件包的订阅实例,向 PSTN业务控制单 元发送 SIP消息,所述的 SIP消息通过头域和携带的事件包指明该 POTS终端 发出触发信号。 The method according to claim 1, wherein the filtering rule is a subscription, the PSTN service control unit initiates a subscription request for the triggering event to a SIP user agent node, and sends a SIP message, the SIP The message indicates the type of event package of the triggered event that is subscribed through the header field; The SIP user agent node receives a trigger signal corresponding to the trigger event sent by the POTS terminal, and sends a SIP message to the PSTN service control unit according to the subscription instance of the event packet that the POTS terminal has established, and the SIP message passes the header. The domain and the carried event packet indicate that the POTS terminal issues a trigger signal.
14、 如权利要求 13所述的方法, 其特征在于, 还包括 PSTN业务控制单 元取消订阅实例的步骤: 14. The method according to claim 13, further comprising the step of canceling the subscription instance by the PSTN service control unit:
POTS终端被取消赋予所述可被应用的业务特性; The POTS terminal is deprived of the service characteristics that can be applied;
PST 业务控制单元对 POTS终端所述可被应用的业务特性发起对应的取 消触发事件订阅请求, 向该 POTS终端发送 SIP消息,在所述的 SIP消息的头 域中, 指明所订阅的触发事件的事件包类型和取消订阅请求标识; The PST service control unit initiates a corresponding cancel trigger event subscription request to the POTS terminal to be applied, and sends a SIP message to the POTS terminal, indicating the subscribed trigger event in the header field of the SIP message. Event package type and unsubscribe request identifier;
SIP用户代理节点经呼叫会话控制单元接收所述的 SIP消息并进行解析, 为 POTS终端取消已创建的所述订阅实例。 The SIP user agent node receives the SIP message and parses it through the call session control unit, and cancels the created subscription instance for the POTS terminal.
15、 如权利要求 13所述的方法, 其特征在于, 业务控制单元在订 阅实例取消前, 定期或者不定期地刷新所订阅实例, 对 POTS终端所述可被 应用的业务特性重新发起对应的触发事件订阅请求。 The method according to claim 13, wherein the service control unit periodically or irregularly refreshes the subscribed instance before the subscription instance is cancelled, and re-initiates the corresponding trigger for the applicable service feature of the POTS terminal. Event subscription request.
16、 如权利要求 13所述的方法, 其特征在于, 所述 PSTN业务控制单元 向 SIP用户代理节点发起所述触发事件的订阅请求,发送 SIP消息步 中,所 述的 SIP消息为 SUBSCRIBE消息。 The method according to claim 13, wherein the PSTN service control unit initiates a subscription request for the trigger event to a SIP user agent node, and the SIP message is a SUBSCRIBE message.
17、 如权利要求 13所述的方法, 其特征在于, 所述 SIP用户代理节点接 收 POTS终端发送的所述触发事件对应的触发信号,根据所述 POTS终端已经 建立的所述事件包的订阅实例, 向 PSTN业务控制单元发送 SIP消息步骤中, 所述的 SIP消息为 NOTIFY消息。 The method according to claim 13, wherein the SIP user agent node receives a trigger signal corresponding to the trigger event sent by the POTS terminal, according to a subscription instance of the event package that has been established by the POTS terminal. In the step of sending a SIP message to the PSTN service control unit, the SIP message is a NOTIFY message.
18、 如权利要求 13所述的方法, 其特征在于, 所述事件包可描述一个或 多个触发信号。
18. The method of claim 13 wherein the event package can describe one or more trigger signals.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510085217.8 | 2005-07-21 | ||
CN200510085217.8A CN100550936C (en) | 2005-07-21 | 2005-07-21 | A kind of public telephone exchange network simulation service implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007009384A1 true WO2007009384A1 (en) | 2007-01-25 |
Family
ID=37657306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/001772 WO2007009384A1 (en) | 2005-07-21 | 2006-07-20 | A method for realizing pstn emulation service |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100550936C (en) |
WO (1) | WO2007009384A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079937B (en) * | 2007-07-03 | 2010-04-14 | 中兴通讯股份有限公司 | A method and system for realizing hotline service of SIP terminal |
CN102131005B (en) * | 2010-12-10 | 2014-12-24 | 华为技术有限公司 | Method, device and system for implementing hotline service in internet protocol (IP) network |
CN102629962A (en) * | 2012-03-13 | 2012-08-08 | 上海大亚科技有限公司 | Method for realizing voice message function based on message wait event in EPON system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1503524A (en) * | 2002-11-23 | 2004-06-09 | 深圳市中兴通讯股份有限公司 | Method of interconnected business providing between control equipment and business equipment in IP network |
US20040258238A1 (en) * | 2003-06-05 | 2004-12-23 | Johnny Wong | Apparatus and method for developing applications with telephony functionality |
CN1747470A (en) * | 2004-09-07 | 2006-03-15 | 华为技术有限公司 | Service signal processing system and method for group domain |
-
2005
- 2005-07-21 CN CN200510085217.8A patent/CN100550936C/en not_active Expired - Fee Related
-
2006
- 2006-07-20 WO PCT/CN2006/001772 patent/WO2007009384A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1503524A (en) * | 2002-11-23 | 2004-06-09 | 深圳市中兴通讯股份有限公司 | Method of interconnected business providing between control equipment and business equipment in IP network |
US20040258238A1 (en) * | 2003-06-05 | 2004-12-23 | Johnny Wong | Apparatus and method for developing applications with telephony functionality |
CN1747470A (en) * | 2004-09-07 | 2006-03-15 | 华为技术有限公司 | Service signal processing system and method for group domain |
Also Published As
Publication number | Publication date |
---|---|
CN100550936C (en) | 2009-10-14 |
CN1901571A (en) | 2007-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105530389B (en) | Voice leaving method and device based on IMS network | |
CN101030931B (en) | Method for transmitting service data and applied packet terminal thereof | |
WO2007115455A1 (en) | A method device and system for the circuit switched domain terminals accessing packet network realizing packet service | |
WO2012113237A1 (en) | Method, system and device for realizing multimedia coloring ring back tone (crbt) service | |
WO2008086690A1 (en) | An enquiry diversion service method and a device thereof | |
WO2014101436A1 (en) | One-number two-machine associated call method, apparatus and application server | |
US20080273671A1 (en) | Method, system and application server for preventing crosstalk of color ring back tone | |
CN100473092C (en) | System and method for providing individuality ring back tone business in yonger generation network | |
US20080153492A1 (en) | Method for realizing service activation operation and user terminal realizing the method | |
WO2007003089A1 (en) | Calling tapping at flash implement method and communication system | |
WO2007093116A1 (en) | A method and system for realizing the simulating service and the access signaling adaptive entity | |
WO2006101951A2 (en) | Transfer identification software enabling electronic communication system | |
WO2010130136A1 (en) | System for color ring back tone service and color ring back tone service shielding method | |
WO2007009384A1 (en) | A method for realizing pstn emulation service | |
US20050069104A1 (en) | Call management service | |
WO2011153752A1 (en) | Method, system and application server for call transfer in click-to-dial service | |
WO2007054033A1 (en) | A method for subscribing/canceling, controlling the do not disturb service and a system for realizing the do not disturb service | |
WO2013082894A1 (en) | Operator call forwarding method and switchboard service application server | |
CN101031004B (en) | A method for realizing off-hook trigger service | |
JP4677350B2 (en) | Call control signal transfer apparatus, call control signal transfer method, and call control signal transfer program | |
WO2010060314A1 (en) | Terminal and method for shielding individualized ring back tone service | |
WO2007056958A1 (en) | A method, system and device for realizing call waiting in packet domain | |
WO2008040216A1 (en) | Method for call charging and charging system and device | |
CN102668487B (en) | Method and system for implementing call by media gateway | |
CN100414895C (en) | System and method for realizing legally monitoring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWW | Wipo information: withdrawn in national office |
Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 06761507 Country of ref document: EP Kind code of ref document: A1 |