Announcement

Collapse
No announcement yet.

[script][asp] VR find and dial any number from your WAFNetCallerID phone list

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

    [script][asp] VR find and dial any number from your WAFNetCallerID phone list

    VR_TelephoneDial
    9/15/2004 V1.0 by Scott Bessel

    What it does
    It will find any phone number in your WAF-NetCallerID-Phone-List.txt file
    based upon the caller name in that file and the code ending in a '1'

    I.E.
    <pre class="ip-ubbcode-code-pre">
    916-555-6930 2001 Anthonys Car Stereo
    916-555-0173 2000 Folsom Lake Dodge
    209-555-7339 2001 Mariposa Coffee Company
    877-555-6737 5000 American Express Sales
    858-555-4400 2000 Wstrn Radio Ele
    209-555-7339 2001 Scott's Office
    877-555-6737 1001 Scott's Cell Phone
    858-555-4400 1001 scott's home phone
    </pre>
    Only Anthony's Car Stereo,Mariposa Coffee and all of Scott's numbers will be available through this command.
    the system uses the first word in the name as a voice command and the rest as optional.

    So Saying "Anthonys", "Anthonys Car", "Anthonys Stereo" will all return Anthonys Car Stereo.
    Saying "Scott's" will let you select which number you wish, if the selection is too long you can say 'Cancel' instead of yes/no to all the names and the system will exit
    You can also say "Scott's Cell" to get the cell number directly. You cannot just say "cell phone" and get everyone's cell phone


    Requirements:
    HSP Build 182 or greater (found here: ftp://ftp.homeseer.com/updates/hsp183.zip)
    earlier builds block outbound dialing which prevents the dial section from working
    An event that calls this script with a voice command.
    This has only been tested on a Way2Call unit, but 'should' work on the HSP modem
    This reads your phone list from the WAF-NetCallerID-Phone-List.txt that is created by WAFNetCallerID on any new caller

    Installation:
    Copy this script to your \scripts directory
    create an event, manual trigger with a voice command
    the voice command string is "Telephone (Find|Dial)"
    make the voice command phone only.

    Usage
    Say "Telephone Find"
    the system will ask for the name
    if found it will ask if correct, then speak the number
    it will ask if you want the number repeated
    it will then ask if you want the number dialed

    Say "Telephone Dial"
    the system will ask for the name
    if found it will ask if correct
    it will then ask if you want the number dialed


    If you have any issues or questions at all please feel free to contact me. Either on the HS forum or by email directly
    Scott Bessel (sbessel@comcast.net)


    ****UPDATED****
    9/16/2004 v1.1
    fixed a bug where hsp.linedial would not log the outbound call to the callers.log.
    I hard coded it to log the calls, this keeps my outbound caller log web page correct.
    I also opend a ticket for the HSP guys to fix it.

    9/22/2004 v1.2
    removed the second "do you wish me to dial it" from the Dial portion

    9/24/2004 v1.3
    added hangup detection, found if you hungup on the script waiting fro a vr answer it would stay running and when run the second time would put you right back where you left off, completly confusing the VR engine.
    Attached Files
Working...
X