connect Method

Attempts to dial the PhonebookEntry from Phonebook .

Syntax

def connect() -> None: ...

Remarks

This method attempts to dial the phonebook_entry from phonebook. If that is empty then the phone_number, callback_number, and domain (if applicable) are used to connect. The class doesn't return until the operation is completed, but during this time on_status events are fired showing the ongoing progress.

Example (Dialing a Phonebook)


NetDialControl.Phonebook = "MyPhonebook"
NetDialControl.Connect()

Example (Direct Dialing a Phone Number)


NetDialControl.PhoneNumber = "MyPhonebook"
NetDialControl.User = "username"
NetDialControl.Password = "mypassword"
NetDialControl.Connect()

NOTE: Direct Dialing is not supported on Pocket PC (Windows CE).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]