Daaf Posted June 9, 2015 #1 Share Posted June 9, 2015 Hey all, Is there a way I can reject an incomming call without having to first anwser the line? Link to comment Share on other sites More sharing options...
Most Valued User Remco Posted June 9, 2015 Most Valued User #2 Share Posted June 9, 2015 At what stage of the call do you want to reject the call? In the GSE you can use the "Terminate Call" block. I think you mean from the SwyxIt! Client API?Just press the "Hookon" button, in stead of the "Hookoff" button (same as a mobile phone). But the call could be taken back by a script and go futher... If you really want to end the call you can write a VBS script and launch it from a Speeddail within your skin:The VBS script should do the following:Create object to Client Line ManagerDetect the the line in "Ringing state" and then call "Hookoff" to answer the calland then call the method "Hookon" end the call and to prevent the call being processed any further in the scripting. And finally.... you can use the method TClientLine.DispHookOnEx(x) where x = 0...4 type off call ending. But I never tried this in Ringing state. Succes! Regards,Remco Link to comment Share on other sites More sharing options...
Daaf Posted June 10, 2015 Author #3 Share Posted June 10, 2015 Hey Remco, Thanks for the update! I found the solution myself... For some reason I was thinking there would be a line.rejectCall() kind of function. This works great! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.