asterisk / documentation

The Asterisk Documentation Project.
https://docs.asterisk.org/
Other
26 stars 22 forks source link

Clarification in Stir/Shaken Outgoing Call Flow section #81

Closed oza4h07 closed 1 month ago

oza4h07 commented 2 months ago

In Outgoing Call Flow section, point 7 from [1], you can read, that “If there’s no “tn” object matching the caller-id, skip attestation and continue the call.” Can this matching be further clarified or detailed using an example, such as bellow ?

"Example: For instance, if CALLERID(num) is valued to 123456789012 and “stir_shaken show tns” displays a line “TN: 123456789012” , then there is match.

Alternatively, if CALLERID(num) is valued to +123456789012 (+E164 notation) and “stir_shaken show tns” still displays a line “TN: 123456789012” , then there is NO match."

[1] STIR-SHAKEN - Asterisk Documentation

oza4h07 commented 2 months ago

IMHO, one interesting addition could describe what happens in case of contradicting information in P-Asserted-Identity and From headers, in case P-Asserted-Identity is customized in dialplan. Alternatively, a warning against customizing P-Asserted-Identity in dialplan may makes sense.

gtjoseph commented 2 months ago

Thanks for the comments. I'll clarify the documentation.

gtjoseph commented 1 month ago

Done.