This function forces HomeSeer Phone to answer an internal call. This switches the handset and the modem in and switches out the line. If you are going to take control using a script, call hsp.LINEScriptHasControl 1,TRUE. This will allow you to send text-to-speech (TTS) audio to the handset. Use hsp.HandsetOnHook to detect when the user hangs up the phone.
Parameter: Line
Type: Integer
Description: The phone line to access.
None.
hsp.LINEScriptHasControl
1
hsp.LINEAnswerLocal 1
hsp.Speak 1,"hello on the handset",TRUE
hsp.LINEReset 1