com.github.Baresip com.github.Baresip com.github.Baresip invoke (IN s command, OUT s response);

Signals

event (s class, s evtype, s param); message (s ua, s peer, s ctype, s body);

Description

This DBus interface supports invoking of baresip commands and sends UA Events as DBus signal.

Method Details

The invoke() method

com.github.Baresip.invoke()
invoke (IN  s command,
        OUT s response);

Invokes a baresip command which can be a single character command or a long command with appended parameters. Use a blank to separate the command from its parameters! Multiple parameters are often separated by commas. But this depends on the implementation of the command.

IN s :

The command to be executed with appended parameters.

OUT s :

The output of the command.

Signal Details

The "event" signal

com.github.Baresip::event
event (s class,
       s evtype,
       s param);
s :

The UA event class.

s :

The UA event type.

s :

The whole event as JSON object including additional parameters.

The "message" signal

com.github.Baresip::message
message (s ua,
         s peer,
         s ctype,
         s body);
s :

User-Agent local SIP URI (aor)

s :

Peer address URI

s :

Content type ("text/plain")

s :

SIP message body