Creates a new instance of an agent for communication with an ETSI/DEC112 infrastructure
All conversations that have not been stopped already
Adds a conversation listener. Callback will be notified about any new conversations.
Callback function that is called each time a new conversation is started.
Registers a new listener for agent state changes
Callback function that is called each time the agent's state changes
Creates a new configuration on top of the underlying agent
The target SIP uri conversation should be established with
Currently, URNs are not supported! This is due to a limitation within the JSSIP library.
Additional configuration object
The mapper to use for this conversation
Creates a new configuration on top of the underlying agent
A JSSIP event for an incoming message
The mapper to use for this conversation
Unregisteres from the ESRP and disposes the SIP agent.
Closes open calls, if there are any.
This function has to be called before exiting the application.
Timeout for all actions done before disposing the agent in milliseconds.
If there are still open calls, this grace period applies to each call closure.
Grace period also applies to unregistering and disconnecting the agent.
Initializes the agent's internals sends a REGISTER
to the ESRP
This has to be called before any other interaction with the library
If registration fails, promise will be rejected
See Store.setHeartbeatInterval for implementation details
Updates the agent's location for subsequent messages
New location object (may be undefined
)
Updates the agent's vcard for subsequent messages
New vcard object (may be undefined
)
Generated using TypeDoc
Main instance for establishing connection with an ETSI/DEC112 infrastructure