Announcement

Collapse
No announcement yet.

external multiple txt Scripting Question

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

  • external multiple txt Scripting Question

    I am tring to use my mobile phone's CID info to gain access to my HSP voice mailbox messages. So I dont need to enter a passcode.

    Here is what I have it doing now.
    I set up a address book entry for my mobile phone with its CID info and I also entered a 7 dig number in the CID Group info. box.

    I can call in and hear my outgoing message pick mailbox message then I press # then it Speaks Hello default mailbox You have.....blah blah

    My problem is it puts me into the wrong mail box . How do I steer it to my voice mail box. What script command do I use?? I have three mail boxes set up. A default box , one for my wife and one for me. I thought my box was the first ??


    added these lines:

    LABEL:CHECK_PASSCODE
    ############################################################ ##
    # Added this line for CID PassCode
    IF:$ADDRBOOK_CID_GROUP=1234567;GOTO:PaulMAILBOX;NEXT:
    LABEL:PaulMAILBOX
    CLEAR_KEY:
    FIRST_MAILBOX:
    GOTOO_PASSCODE
    ############################################################ ##
    WAIT_TIMEOUT:0
    LABEL:WAIT_KEY
    CLEAR_KEY:
    SPEAK:Enter passcode and press pound
    LABEL:WAIT_PC_POUND
    WAIT_KEY:#
    # check passcode match in mailbox
    FIRST_MAILBOX:
    # cycle through all mailboxes for a match
    LABEL:PC_LOOP
    IF:$MAILBOX_PASSCODE=$DTMF;GOTOO_PASSCODE;NEXT:
    NEXT_MAILBOX:;GOTO:PC_LOOP;NEXT:
    CLEAR_KEY:
    SPEAK:Invalid passcode, please try again
    GOTO:WAIT_PC_POUND
    LABELO_PASSCODE
    # clear DTMF buffer now to allow entering keys while prompt is speaking
    CLEAR_KEY:
    SPEAK:Hello $MAILBOX_NAME. You have $MESSAGES_TOTAL messages. $MESSAGES_UNREAD are new. Press 1 and pound to get your messages.
    # check user entered a command before the greeting was finished, abort VR load if so and just process command
    CHECK_KEY:#1234567890;GOTO:WAITVR;NEXT:
    HS2 Environment
    Zotac 1.83 GHz Quadcore
    HomeSeer Way2Call
    Netiom-Xap board
    opnode 1-wire 1.2.7
    Plug-In's
    WeatherXML 1.0.0.32
    Pwr Link USB 1.0.0.13
    mcsTemp V6.2.0.14
    mcsXap V3.0.0.0/3.0.0.20
    IM Connector 4.87.2.5
    Sip Connector 2.56.2.4
    RFXCOM 15.0.0.22
    Odroid X2
    Asterisk 11.5.1
    FreePBX 2.11.0.42
    WebMin 1.720
    Xap Switchboard by Mi4

    There is no place Like 127.0.0.1
Working...
X