From d161f50bb4d8f3f4191b8bc33dbf85e48f6738ff Mon Sep 17 00:00:00 2001 From: "Matthew A. Miller" Date: Mon, 23 Jun 2014 08:18:39 -0600 Subject: [PATCH] Rayo CPA --> XEP-0341 --- inbox/rayo-cpa.xml | 335 --------------------------------------------- 1 file changed, 335 deletions(-) delete mode 100644 inbox/rayo-cpa.xml diff --git a/inbox/rayo-cpa.xml b/inbox/rayo-cpa.xml deleted file mode 100644 index 4e77d199..00000000 --- a/inbox/rayo-cpa.xml +++ /dev/null @@ -1,335 +0,0 @@ - - -%ents; -]> - - -
- Rayo CPA - This specification defines an extension to the Rayo protocol (XEP-0327) to provide provision for performing Call Progress Analysis on a call under the control of a Rayo client. - &LEGALNOTICE; - NOT_YET_ASSIGNED - Experimental - Standards Track - Standards - Council - - XMPP Core - XEP-0327 Rayo - - - - NOT_YET_ASSIGNED - - Ben - Langfeld - ben@langfeld.me - ben@langfeld.me - http://langfeld.me - - - 0.0.2 - 2014-01-14 - bl -

Second draft.

-
- - 0.0.1 - 2013-10-02 - bl -

First draft.

-
-
- -

Rayo allows for the third-party control of media sessions such as telephone calls. A common requirement in telephony applications is to establish the progress characteristics of the session, such as dtmf, fax or modem tones, or to differentiate between a human and an answering machine. This specification extends the core Rayo specification, and specifically its Input component to describe a protocol for establishing such progress analysis and gathering its results.

-
- - -
- -
CPA
-
Call progress analysis.
-
-
-
-
- -

This section describes the form, function and order of Rayo stanzas sent across the wire, and the circumstances in which they apply and/or may arise.

- -

CPA is achieved as a special case of the core input component. All rules regarding component execution and the input component in particular apply from the core specification. When a call's controlling party wishes to begin detection of signals from the suported set, it SHOULD begin an input component with the mode attribute set as 'cpa'.

- -

The grammars supplied determine the types of signal detected and parameters applied to their detection. The grammars MUST be referenced by URI in the format described below. If a Rayo server supports this specification, it MUST invoke its supported CPA function using the parameters provided from the grammars; if it does not support this specification or any of the supplied parameters within the grammar, it MUST raise an error according to the rules in the core specification.

- - - - - - - - ]]> - -

The server MUST validate that it has appropriate resources/mechanisms to collect the requested signals before acknowledging the component creation.

- - -

If the meta-attribute named 'terminate' is set to true in the grammar, the component MUST terminate on the first signal match it detects. If it is set to false, signals MUST be reported as events until the component is instructed to stop.

- - - - - ]]> -
- - -

The input completion reason MUST be one of the supported reasons from the core specification or a signal, indicating that the CPA engine detected one of the requested signals. Any signals other than those requested by the input grammar should be ignored.

- - - - - - - ]]> -
-
- - -

The grammar URI declares the signal type of interest and the parameters which apply to their detection. The URI should be composed of a URN from the following list of allowed signal types, and parameters to modify their detection as a query string. The names and allowed values of these parameters are implementation specific. Servers MUST support one reserved parameter named 'terminate', whose value indicates the termination behaviour of the component on signal detection as described above.

-
- - -

Describes a detected signal.

-

The attributes of the <grammar/> element are as follows.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDefinitionPossible ValuesDefaultInclusion
typeIndicates the type of signal detected.Any URI value from the listed signal typesnoneREQUIRED
durationIndicates the duration of the received signal in millisecondsAn integer value in milliseconds.noneOPTIONAL
valueIndicates the value of the signal received if applicable.For dtmf tones it is the digit detected, for speech may be human|machine|notsure and for beeps may be a frequency in Hz.noneOPTIONAL
-
- - -

Signal types may be one of the following:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
URIDescription
urn:xmpp:rayo:cpa:beep:1Detect a beep.
urn:xmpp:rayo:cpa:dtmf:1Detect DTMF tones.
urn:xmpp:rayo:cpa:vad:1Detect voice activity.
urn:xmpp:rayo:cpa:speech:1Detect speech and decide human or machine.
urn:xmpp:rayo:cpa:fax-ced:1Detect a fax CED tone.
urn:xmpp:rayo:cpa:fax-cng:1Detect a fax CNG tone.
urn:xmpp:rayo:cpa:ring:1Detect a ringing tone.
urn:xmpp:rayo:cpa:busy:1Detect a busy tone.
urn:xmpp:rayo:cpa:congestion:1Detect a congestion tone.
urn:xmpp:rayo:cpa:sit:1Detect a Special Information Tone.
urn:xmpp:rayo:cpa:modem:1Detect a modem tone.
urn:xmpp:rayo:cpa:offhook:1Detect an off-hook tone.
-
-
- -

If a Rayo server supports Rayo CPA, it MUST advertise that fact by returning a feature of "urn:xmpp:rayo|cpa:0" &VNOTE; in response to a &xep0030; information request.

- - - - ]]> - - - - - - - ]]> -

In order for an application to determine whether an entity supports this protocol, where possible it SHOULD use the dynamic, presence-based profile of service discovery defined in &xep0115;. However, if an application has not received entity capabilities information from an entity, it SHOULD use explicit service discovery instead.

-
- -

A server MUST document any cases where its behaviour differs from that in this specification (such as lack of support for particular options/components/etc) and return an error whenever a command is not understood. A server MUST NOT silently ignore any instructions.

-
- -

This document introduces no additional security considerations above and beyond those defined in the documents on which it depends.

-
- -

This document requires no interaction with &IANA;.

-
- - -

This specification defines the following XML namespaces:

-
    -
  • urn:xmpp:rayo:cpa:1
  • -
  • urn:xmpp:rayo:cpa:beep:1
  • -
  • urn:xmpp:rayo:cpa:dtmf:1
  • -
  • urn:xmpp:rayo:cpa:vad:1
  • -
  • urn:xmpp:rayo:cpa:speech:1
  • -
  • urn:xmpp:rayo:cpa:fax-ced:1
  • -
  • urn:xmpp:rayo:cpa:fax-cng:1
  • -
  • urn:xmpp:rayo:cpa:ring:1
  • -
  • urn:xmpp:rayo:cpa:busy:1
  • -
  • urn:xmpp:rayo:cpa:congestion:1
  • -
  • urn:xmpp:rayo:cpa:sit:1
  • -
  • urn:xmpp:rayo:cpa:modem:1
  • -
  • urn:xmpp:rayo:cpa:offhook:1
  • -
-

The ®ISTRAR; includes the foregoing namespaces in its registry at &NAMESPACES;, as governed by &xep0053;.

-
- -

If the protocol defined in this specification undergoes a major revision that is not fully backward-compatible with an older version, or that contains significant new features, the XMPP Registrar shall increment the protocol version number found at the end of the XML namespaces defined herein, as described in Section 4 of XEP-0053.

-
-
- - - - - - - - The protocol documented by this schema is defined at http://rayo.org/xep - - - - - - - - Describes a detected signal. - - - - - - - - Indicates the type of signal detected. - - - - - - - - - - - - - - - - - - - - - - - Indicates the duration of the received signal in milliseconds - - - - - - - Indicates the value of the signal received if applicable. For dtmf tones it is the digit detected, for speech may be human|machine|notsure and for beeps may be a frequency in Hz. - - - - - - - - ]]> - - - -

The authors would like to acknowledge the input of teams at Tropo Inc, Mojo Lingo and Grasshopper in the development of this specification.

- -

Specific individuals who have contributed to the specification or to software significant to its completion include:

-
    -
  • Ben Langfeld
  • -
  • Chris Rienzo
  • -
  • Martín Pérez
  • -
-
-