Accepts the incoming transfer.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
Accept ( _
headers
As
IEnumerable(
Of
SignalingHeader) _
)
As
Call
|
JavaScript |
function
accept(
headers);
|
Parameters
-
headers
- Type:
IEnumerable
<
(Of
<
(
SignalingHeader
>
)
>
)
The SIP extension headers to add to the response. Can be
null.
Return Value
The call targeting the
destination URI indicated in the transfer.
Remarks
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when the Endpoint associated with the new transfer call
is terminating or terminated or when then underlying transfer
transaction is not valid anymore |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Thrown when the call is unable to send successful response to
the transferor. |
See Also