Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

Announce Phone Number

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Announce Phone Number

    I'm sure this has been addressed before, but I can't seem to find it using search.

    When I get a call from "wireless caller" I have the script announce the number rather then the name. However, the number is announced like this "Five billion, thirty five million, three hundred ninty one thousand, two hundred and two" rather then 503 539 1212 (which I want). How do I get this done?
    Regards, Bob

  • #2
    Hi, Bob.

    You just need to insert spaces between each number.

    This little air code tidbit will cycle its way through the phone number variable and concatenate one number at a time with a space and store it in a secondary variable. It's the value of this secondary variable (s_ncid_number_2) that you want to have spoken.

    Code:
       s_ncid_number_2 = ""
     
      for p=1 to len(s_ncid_number)
       s_ncid_number_2 = s_ncid_number_2 & mid(s_ncid_number,p,1) & " "
     next
    --David

    Comment


    • #3
      Thanks David. I'll give it a try.
      Regards, Bob

      Comment

      Working...
      X