Announcement

Collapse
No announcement yet.

Commands/scripts to control Hi-phone directly?

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

    Commands/scripts to control Hi-phone directly?

    My post in "HS Phone" (http://board.homeseer.com/showpost.p...88&postcount=8) got my hi-phone working but left me with an announce message the repeats 5 times.

    I connect a PBX extension to the 'line' input on the hi-phone. All I use the hi-phone for is to make announcements over the PBX, so it's just an extension. I use the attached event, and the msg repeats 5 times. Rupp told me "Because HomeSeer phone doesn't know when the user has actually picked up the phone, the message is repeated." Well, in my case there will never be a user picking up the phone, so I just need to execute the task. There is no 'dial' tone, or any other 'real' phone feedback, since it's talking to a PBX extension.

    So, my question is . . . Can I talk directly to the hi-phone and force it to just pick up, dial two digits, speak the text, then hang up? Are there commands that can do this in a script?

    Hilt
    Attached Files

    #2
    Try cannot retrigger for x mins.. make it a minute.. should do it I believe?

    Comment


      #3
      No, i think this would require a script
      Running HS PRO V2.5.0.49 & HS Pro V2.5.0.51

      Comment


        #4
        Originally posted by TrOjAn View Post
        Try cannot retrigger for x mins.. make it a minute.. should do it I believe?
        Thanks but, No luck. It only keeps the 'event' from triggering. The repeats happen IN the event.

        Comment


          #5
          Originally posted by neiltimms View Post
          No, i think this would require a script
          Agreeing with you . . . but need to know what commands are available to control the hi-phone.



          UPDATE: Found the script commands on the online help. Modified an example to work for me. Thanks for all the input guys!

          sub main()

          hsp.LINEDial 1,"15",false,true

          hsp.waitms 1000

          hsp.speak 1,"hello on the phone, how are you today?",true

          hsp.LINEHangup 1

          end sub
          Last edited by ; September 11, 2008, 07:42 AM.

          Comment


            #6
            way2call hangup

            i'm trying to find a way to force way2call to hangup in 30 seconds after it dials a number. If a script will do that, how do you install the script. The one you showed in this thread seems simple enough
            PS what the URL for the scripting commands. What language/ Gary

            Comment


              #7
              I hope your script works for my Panasonic PBX. I tried something like this before and it did not work well. Maybe I did not get it setup correctly. I can not run it tonight as everyone is in bed but me! See what happens in the morning. HA!

              Comment

              Working...
              X