Display Raw Name if no name in Contacts
Posted: Mon Jun 23, 2008 9:52 pm
Hi Bill,
Thank you for the awesome software. I'm using Ascendis 2.1.0.10, with a Whozz Calling 2.
The question: Can I make the display panel show Raw Name if the Contact has no name assigned?
That probably sounds funny--why would I have a Contact with no name assigned? Well, it occurs when I call out to a new phone number, then take the outgoing call entry in the Call List and put it into Contacts but I don't add name info yet--which suits my work style sometimes. Understandably, if that caller calls back before I've gotten around to adding name info, then of course no name is displayed in the display panel, just a number.
Instead of no name it would be helpful to see the Raw Name that the incoming call has. It would be scripted something like this, in effect:
If CallInfo.Display Name = '' [i.e. blank] Send CallInfo.RawName
which is probably wrong as I'm not too up on the scripting yet, but would like to learn. Looking at "Display.dwshtml" for the display panel I got confused right off the bat! There is no scripting for Callinfo.DisplayName or Callinfo.RawName--is that because those two objects are assumed and are already written into the underlying code? I'm guessing this must be the case...
Any help you can give to write this, would be very instructive! Thanks.
Thank you for the awesome software. I'm using Ascendis 2.1.0.10, with a Whozz Calling 2.
The question: Can I make the display panel show Raw Name if the Contact has no name assigned?
That probably sounds funny--why would I have a Contact with no name assigned? Well, it occurs when I call out to a new phone number, then take the outgoing call entry in the Call List and put it into Contacts but I don't add name info yet--which suits my work style sometimes. Understandably, if that caller calls back before I've gotten around to adding name info, then of course no name is displayed in the display panel, just a number.
Instead of no name it would be helpful to see the Raw Name that the incoming call has. It would be scripted something like this, in effect:
If CallInfo.Display Name = '' [i.e. blank] Send CallInfo.RawName
which is probably wrong as I'm not too up on the scripting yet, but would like to learn. Looking at "Display.dwshtml" for the display panel I got confused right off the bat! There is no scripting for Callinfo.DisplayName or Callinfo.RawName--is that because those two objects are assumed and are already written into the underlying code? I'm guessing this must be the case...
Any help you can give to write this, would be very instructive! Thanks.