desk_phone_utility package

Submodules

desk_phone_utility.cli module

desk_phone_utility.cli.main(ctx: ~typer.models.Context, argument: str = <typer.models.ArgumentInfo object>)
desk_phone_utility.cli.set_password()

desk_phone_utility.config module

desk_phone_utility.desk_phone_utility module

desk_phone_utility.desk_phone_utility.construct_snom_url(*, phone_number: str, phone_host: str) str

Return a command URL for phone_host that calls phone_number.

Parameters

phone_number

Phone number to call

phone_host

snom phone host to use

Returns

command url

desk_phone_utility.desk_phone_utility.handle_uri(uri: str) None

Handle tel/callto URI. This incorporates parsing and sanitizing, displaying a GUI dialog box to check whether we actually want to initiate the call and doing just that if the user clicks “Yes”.

Parameters

uri

tel URI

desk_phone_utility.desk_phone_utility.initiate_call(phone_number: str) None

Initiate a phone call to phone_number.

Parameters

phone_number

Number to call

desk_phone_utility.gui module

desk_phone_utility.gui.show_qt_questionbox(*, title: str, message: str)

Launch a PySide6 application to show a question box dialog.

Parameters

title

Title of the message dialog

message

Actual message

Module contents

Top-level package for desk phone utility.