High level API¶
- class sipua.Application¶
Convenience class to facilitate creating a SIP user agent.
- async handle_request(request: Request) None¶
Handle a request which does not match an existing dialog.
You can override this by subclassing
Application, for instance to handle incoming calls.
- async listen(address: TransportAddress) None¶
Start listening on given transport address.
- class sipua.Call¶
A SIP call with support for RTP.
- property audioTransceiver: RTCRtpTransceiver¶
The RTP transceiver used for audio.
- classmethod create_uac(*, dialog_layer: DialogLayer, local_address: Address, remote_address: Address, route_set: list[Address] = [], **kwargs: object) T¶
Create a client dialog.
The initial request will neeed to be constructed using
create_request().
- classmethod create_uas(*, dialog_layer: DialogLayer, request: Request, **kwargs: object) T¶
Create a server dialog based on a received request.