|
ChannelResourceCallerIdName Property |
This is the originating name field of the last inbound call (if available).
Namespace:
VoiceElements.Client
Assembly:
VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax public string CallerIdName { get; }
Public ReadOnly Property CallerIdName As String
Get
public:
property String^ CallerIdName {
String^ get ();
}
member CallerIdName : string with get
Property Value
Type:
StringRemarks
If provided by the carrier or network, this is essentially the callerID name as defined by the numbers owner or carrier of the party who placed the last inbound call. For more detail, see
Caller ID Information. This is typically used for logging call activity in a database or even
applying routing or script rules based on checking the name against a customer or contact list. Also helpful for this type of call filtering and available on an inbound call are the
DNIS and the
ANI.
Note: This Field is Not Always Available
You may find that many inbound calls will have "Unavailable", "Private" or no data in this field. Make sure to account for this in your application design.
Examples static void s_TelephonyServer_NewCall(object sender, VoiceElements.Client.NewCallEventArgs callArgs)
{
string m_Name = callArgs.ChannelResource.CallerIdName;
Log.Write("New Call Arrival from {0}.", m_Name);
}
Private Shared Sub s_TelephonyServer_NewCall(sender As Object, callArgs As VoiceElements.Client.NewCallEventArgs)
Dim m_Name As String = callArgs.ChannelResource.CallerIdName
Log.Write("New Call Arrival from {0}.", m_Name)
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also