Skip to main content

SeeTestAutomation- ReceiveIncomingCall

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

ReceiveIncomingCall (FromNumber, HangupInSeconds)

Description

Initiate sending of a phone call to be received by the device. 

Parameters

  • FromNumber - The phone number that the message will appear to arrive from (5+ character).

  • HangupInSeconds - How many seconds to wait while the phone is ringing before hanging up on the caller side.

info
  • To use telephony features (receiving calls and SMS), the Cloud Admin must have configured and activated a telephony account. This is done in the Device Policies -> Telephony web UI page.
  • See Configure Telephony (Calls and SMS)

Code Examples

Java Example

client.receiveIncomingCall("123456", 10);

C# Example Expand source

client.ReceiveIncomingCall("123456", 10);

VBScript Example Expand source

client.ReceiveIncomingCall("123456", 10)

Python Example Expand source

self.client.receiveIncomingCall("123456", 10)

Perl Example Expand source

$client->receiveIncomingCall("123456", 10);