Since weeks I've no speak commands anymore in the SIP connector. I use it when my RFXCOM alarmpanel changed to Alarm and than the SIP connector told me what's happening.
SIP connects and disconnects without problems, but I don't hear any voice.
- I reinstalled the plugin, no solve. (version 2.56.2.4)
- In Config/settings, the ScriptingReferences have: "HSPI_SIP;C:\Program Files (x86)\HomeSeer HSPRO\hspi_sip.dll"
- When I use the standard sip_scripts, like weather or talkingclock, also no voice is speaking.
- At all vb scripts, the HS log displayed an error like "Script compile error: type SipCall is not defined.on line xx"
example case: Script compile error: The type SipCall is not defined.on line 16"
Imports HSPI_SIP
Sub Init( ByVal c as SipCall )
SpeakAlarm( c )
End Sub
Sub CallConnected( ByVal c as SipCall )
SpeakAlarm( c )
End Sub
Sub SpeakAlarm( ByVal c as SipCall )
Dim panelstate As String = hs.DeviceString("_2")
Dim doorsensor As String = hs.DeviceString("P5")
Dim Alarm As String = "There is an alarm at your house " & panelstate
& " and the last sensor is " & doorsensor
c.SpeakTextWait( Alarm )
c.Hangup()
End Sub
Sub CallHungup( ByVal c As SipCall )
End Sub<O</O
SIP connects and disconnects without problems, but I don't hear any voice.
- I reinstalled the plugin, no solve. (version 2.56.2.4)
- In Config/settings, the ScriptingReferences have: "HSPI_SIP;C:\Program Files (x86)\HomeSeer HSPRO\hspi_sip.dll"
- When I use the standard sip_scripts, like weather or talkingclock, also no voice is speaking.
- At all vb scripts, the HS log displayed an error like "Script compile error: type SipCall is not defined.on line xx"
example case: Script compile error: The type SipCall is not defined.on line 16"
Imports HSPI_SIP
Sub Init( ByVal c as SipCall )
SpeakAlarm( c )
End Sub
Sub CallConnected( ByVal c as SipCall )
SpeakAlarm( c )
End Sub
Sub SpeakAlarm( ByVal c as SipCall )
Dim panelstate As String = hs.DeviceString("_2")
Dim doorsensor As String = hs.DeviceString("P5")
Dim Alarm As String = "There is an alarm at your house " & panelstate
& " and the last sensor is " & doorsensor
c.SpeakTextWait( Alarm )
c.Hangup()
End Sub
Sub CallHungup( ByVal c As SipCall )
End Sub<O</O
Comment