DiversionContext.GetAllDivertedDestinations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets all the diverted destinations.
public:
System::Collections::ObjectModel::Collection<Microsoft::Rtc::Collaboration::DivertedDestination ^> ^ GetAllDivertedDestinations();
public System.Collections.ObjectModel.Collection<Microsoft.Rtc.Collaboration.DivertedDestination> GetAllDivertedDestinations ();
member this.GetAllDivertedDestinations : unit -> System.Collections.ObjectModel.Collection<Microsoft.Rtc.Collaboration.DivertedDestination>
Public Function GetAllDivertedDestinations () As Collection(Of DivertedDestination)
Returns
Collection of all diverted destinations. This collection can be empty if no diverted destinations are received.
Exceptions
Thrown when the signaling headers containing the diversion information could not be parsed successfully.
Remarks
This method returns a collection of all diverted destinations in a sorted order based on the diversion context source used Source.
If the source is HistoryInfo , all of the headers are sorted in ascending order, based on the index value of the History-Info header - in accordance with RFC 4244. Typically, for a History-Info header based collection, the last entry will contain information that matches the information in the Request-URI of the incoming INVITE.
If the source is Diversion , all of the incoming headers are sorted in the reverse of incoming order. Thus the last Diversion/CC-Diversion header we receive on the wire will contain the first DivertedDestination details.