SIPCORE | H. Schulzrinne |
Internet-Draft | Columbia University |
Intended status: Standards Track | August 30, 2019 |
Expires: March 2, 2020 |
SIP Call-Info Parameters for Labeling Calls
draft-ietf-sipcore-callinfo-spam-04
Called parties often wish to decide whether to accept, reject or redirect calls based on the likely nature of the call. For example, they may want to reject unwanted telemarketing or fraudulent calls, but accept emergency alerts from numbers not in their address book. This document describes SIP Call-Info parameters and a feature tag that allow originating, intermediate and terminating SIP entities to label calls as to their type, confidence and references to additional information.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on March 2, 2020.
Copyright (c) 2019 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
In many countries, an increasing number of calls are unwanted [RFC5039], as they might be fraudulent, telemarketing or the receiving party does not want to be disturbed by, say, surveys or solicitation by charities. Currently, called parties have to rely exclusively on the caller's number or, if provided, caller name, but unwanted callers may not provide their true name or may use a name that misleads, e.g., "Cardholder Services". On the other hand, many calls from unknown numbers may be important to the called party, whether this is an emergency alert from their emergency management office or a reminder about a doctor's appointment. Since many subscribers now reject all calls from unknown numbers, such calls may also inadvertently be left unanswered. Users may also install smartphone apps that can benefit from additional information in making decisions as to whether to ring, reject or redirect a call to voicemail.
To allow called parties to make more informed decisions on how to handle incoming calls from unknown callers, we describe a new set of parameters for the SIP Call-Info header field for labeling the nature of the call.
This specification assumes that the user agent can trust its SIP provider to correctly label the nature of calls. This may not always be the case and not all SIP service providers will label calls, so users may need to draw on other, third-party, sources of call information beyond the scope of this specification or may decide to disregard the call labeling offered by their service provider. (Service providers may, for example, be reluctant to label calls as spam.) However, the SIP registrar already occupies a position of trust by necessity; also, the user agent is typically a customer of the operator of the registrar or within the same organization, e.g., if the registrar is part of a PBX. Thus, the entity inserting the Call-Info header field and the UAS relying on it SHOULD be part of the same trust domain. Conversely, the entity signing the caller information is likely either to be the caller itself or the originating service provider, neither of which is likely to label the caller as a category unlikely to be answered by the called party.
The service provider inserting the Call-Info header field may draw on a wide variety of sources. For example, service providers offering alerting or notification services (e.g., for packages or health alerts) may register their phone numbers, after suitable vetting, in shared databases. Government agencies could publish electronic directories of official telephone numbers, drawing on the historical precedent of the "blue pages" found in printed phone directories. Government regulators for financial services, health care providers and charitable organizations could provide sources of telephone numbers and service types belonging to such organizations. Finally, crowd-sourcing might also be used to populate databases of call types. In the United States, industry organizations have proposed variations of such caller databases to prevent accidental blocking of calls based on their statistics such as frequency or duration alone.
Providers may also find the SIP Priority header ([RFC3261], Section 20.26) field useful in helping called parties decide how to respond to an incoming call.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119][RFC8174] when, and only when, they appear in all capitals, as shown here.
This document describes a new set of optional parameters and usage for the SIP Call-Info header field, with a purpose "info", for labeling the nature of the call. The header field may be inserted by the call originator, an intermediate proxy or B2BUA or the terminating carrier, based on assertions by the caller, number-indexed databases, call analytics or other sources of information. The SIP provider serving the called party MUST remove any parameters enumerated in this specification that it does not trust.
To ensure that an untrusted originating caller does not mislead the called party, a new feature capability indicator [RFC6809], sip.call-info.spam, in the REGISTER response signals whether the terminating carrier supports the feature described in this document and thus will remove any untrusted 'confidence', 'origin', 'source' and 'type' Call-Info header field information parameters. It is possible for the terminating carrier to support this feature by simply removing all parameters defined in the document, without inserting any of its own information, although this is likely to be unusual. A user agent MUST ignore any of the parameters defined in this document unless the feature capability indicator is present in the response to the REGISTER request. An example of the REGISTER response is shown in Section 6.1.
SIP proxies or B2BUAs MUST add a new Call-Info "info" header field value, rather than add parameters to an existing value. Thus, one SIP request MAY contain several Call-Info header instances of purpose "info", either as a single header with a comma-separated list of header values or separate headers, or some combination.
As defined in [RFC3261], the Call-Info header field contains a URI that can provide additional information about the caller or call. For example, many call filtering services provide a web page with crowd-sourced information about the calling number. If the entity inserting the header field does not have information it wants to link to, it MUST use an empty data URL as a placeholder, as in data:,. (The Call-Info header field syntax makes the URI itself mandatory.) An example is shown in Section 6.2.
All of the parameters listed below are optional and may appear in any combination and order. Their ABNF is defined in Section 7. All except the 'type' parameter are optional.
The following initial set of types are defined. The call types are generally based on the caller's telephone number or possibly an assertion by a trusted caller, as the content cannot be not known. Each call is tagged with at most one type label, i.e., the labels are meant to be mutually exclusive. The definitions are meant to be informal and reflect the common understanding of subscribers who are not lawyers. By their very nature, this classification may sometimes be erroneous, e.g., if a number has been re-assigned to another entity or if crowd-sourced information is wrong, and thus should be treated as a hint or estimate. Each entity inserting type information will need to define its own policy as to the level of certainty it requires before it inserts type information.
Other strings may be used; there does not appear to be a need for defining vendor-defined strings as the likelihood of confusion between a service-provider-specific usage and a later extension to the list appears low. Additional labels are registered with IANA.
The example below shows a partial REGISTER response showing that the registrar and proxy will remove any untrusted Call-Info header elements.
SIP/2.0 200 OK ... From: Bob <sips:bob@biloxi.example.com>;tag=a73kszlfl To: Bob <sips:bob@biloxi.example.com>;tag=34095828jh ... Feature-Caps: *; +sip.call-info.spam
INVITE sip:alice@example.com SIP/2.0 ... Call-Info: <http://wwww.example.com/5974c8d942f120351143> ;source=carrier.example.com ;purpose=info ;confidence=85 ;type=fraud ;origin="FTC fraud list"
label-info-params = [ci-confidence] / [ci-source] / [ci-origin] / ci-type ci-confidence = "confidence" EQUAL 1*3DIGIT ci-origin = "origin" EQUAL quoted-string ci-source = "source" EQUAL host ci-type = "type" EQUAL ("business" / "debt-collection" / "emergency-alert" / "fraud" / "government" / "health" / "informational" / "not-for-profit" / "personal" / "political" / "public-service" / "prison" / "spam" / "spoofed" / "survey" / "telemarketing" / "trusted" / iana-token)
This document defines the 'confidence', 'origin', 'source' and 'type' parameters in the Call-Info header in the "Header Field Parameters and Parameter Values" registry defined by [RFC3968].
Header Field | Parameter Name | Predefined Values | Reference |
---|---|---|---|
[this RFC] | Call-Info | confidence | No |
Call-Info | origin | No | [this RFC] |
Call-Info | source | No | [this RFC] |
Call-Info | type | Yes | [this RFC] |
This document defines the feature capability sip.call-info.spam in the "SIP Feature-Capability Indicator Registration Tree" registry defined in [RFC6809].
This specification establishes the "Call-Info Type" sub-registry under http://www.iana.org/assignments/sip-parameters. Call-Info "type" parameters are used in the "type" parameter in the SIP Call-Info header field. The initial values are listed in Section 5. Additional values are allocated by expert review; only the token value, using the ABNF iana-token, and a brief description, typically no more than a few sentences, is required. The ABNF for iana-token is defined in [RFC3261]. A specification is not required.
The security considerations in [RFC3261] (Section 20.9) apply. A user agent MUST ignore the parameters defined in this document unless the SIP REGISTER response contained the sip.call-info.spam feature capability. B2BUAs or proxies that maintain user registrations MUST remove any parameters defined in this document that were provided by untrusted third parties.
The UAS SHOULD only consider Call-Info header field information that originates from a registrar that is part of the same trust domain.
The protection offered against rogue SIP entities by the feature capability relies on protecting the REGISTER response against man-in-the-middle attacks that maliciously add the capability indicator. Thus, a UAS SHOULD NOT trust the information in the "Call-Info" header field unless the SIP session between the entity inserting the header field and the UAS is protected by TLS.
Labeling calls is likely only useful if the caller identity can be trusted, e.g., by having the call signaling requests signed, as otherwise spoofed calls would likely be mislabeled and thus increase the likelihood that the called party is mislead, answers unwanted calls or is defrauded. Thus, this information MUST only be added calls with an attestation level of "Full Attestation" or for calls where the SIP entity inserting the header knows to have correct calling number information, e.g., because the call originated within the same PBX or the same carrier and the operating entity ensures that caller ID spoofing is highly unlikely within their realm of responsibility.
Jim Calme and other members of the Robocall Strikeforce helped draft the initial list of call types. Tolga Asveren, Ben Campbell, Keith Drage, Christer Holmberg, Paul Kyzivat and Dale Worley provided helpful comments on the document.
[RFC5039] | Rosenberg, J. and C. Jennings, "The Session Initiation Protocol (SIP) and Spam", RFC 5039, DOI 10.17487/RFC5039, January 2008. |
[RFC8588] | Wendt, C. and M. Barnes, "Personal Assertion Token (PaSSporT) Extension for Signature-based Handling of Asserted information using toKENs (SHAKEN)", RFC 8588, DOI 10.17487/RFC8588, May 2019. |