Jump to content

Reject Incomming Call Through Api


Daaf

Recommended Posts

  • Most Valued User

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 Manager

Detect the the line in "Ringing state" and then call "Hookoff" to answer the call

and 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


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.