6.2 Datatype:origTelephoneNumber
Field |
Type |
Required? |
Description |
tn |
String |
Y |
Telephone Number of Originating identity. Server will remove all non-numeric characters if received except star (*) and pound (#) characters. Ex.: (+1) 235-555-121212355551212 |
Ben Kaufman |
According to ATIS-1000074-E
“ the term "valid telephone number" refers to a telephone number that is a nationally specific service number (e.g., 611, 911), or a telephone number that can be converted into a globally routable E.164 number, as specified in section 8.3 of [RFC 8224].”
From the RFC (https://datatracker.ietf.org/doc/html/rfc8224#section-8.3)
Implementations MUST drop any "+"s, internal dashes, parentheses,
or other non-numeric characters, except for the "#" or "*" keys
used in some special service numbers (typically, these will appear
only in the To header field value). This MUST result in an ASCII
string limited to "#", "*", and digits without whitespace or
visual separators.
In looking at the examples in ATIS-1000074-E, this doesn’t mean that the + should be removed from the other SIP headers (To:, From:, etc), but apparently it shouldn’t be in the jwt of the Identity header.
Ben Kaufman From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of David Villasmil
Sent: Wednesday, November 3, 2021 5:32 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] STIR/SHAKEN, is a number format mandatory?Hello guys,I'm getting failed by my provider because I'm sending to them with +1 both on the headers and on the payload. My understanding is there is no mandatory format, or is there?__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users