You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if the call is an CallInvite (incoming), the plugin will interpret the string as follows or if the call is outgoing, the twilio `To` parameter field is used to:
347
+
- if the `__TWI_CALLER_NAME` (or `__TWI_RECIPIENT_NAME`) parameter is provided, the plugin will show the value of `__TWI_CALLER_NAME` (or `__TWI_RECIPIENT_NAME`) as is, else
348
+
- if the `__TWI_CALLER_ID` (or `__TWI_RECIPIENT_ID`) parameter is provided, the plugin will search for a registered client with the same id and show the client name,
349
+
- if the caller (`from` or `to` fields) is empty/not provided, the default caller name is shown e.g. "Unknown Caller", else
350
+
- else if the caller (`from` or `to` fields) is a number, the plugin will show the number as is, else
351
+
- else the plugin will search for a registered client with the `callInvite.from` (or call.to) value and show the client name, as a last resort
341
352
- the default caller name is shown e.g. "Unknown Caller"
342
353
343
354
*Please note: the same approach applies to both caller and recipient name resolution.*
0 commit comments