---
name: "eX_call.h"
section: "3"
platform: "linux"
package: "libexosip2-dev"
version: "4.1.0-2.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/eX_call.h"
---

# eX\_call.h(3)

eXosip call API

## NAME

eX\_call.h - eXosip call API

## SYNOPSIS

`#include <osipparser2/osip_parser.h>`\
 `#include <osipparser2/sdp_message.h>`\
 `#include <time.h>`\

### Functions

int **eXosip\_call\_set\_reference** (struct eXosip\_t \*excontext, int id, void \*reference)\
 void \* **eXosip\_call\_get\_reference** (struct eXosip\_t \*excontext, int cid)\
 int **eXosip\_call\_build\_initial\_invite** (struct eXosip\_t \*excontext, osip\_message\_t \*\*invite, const char \*to, const char \*from, const char \*route, const char \*subject)\
 int **eXosip\_call\_send\_initial\_invite** (struct eXosip\_t \*excontext, osip\_message\_t \*invite)\
 int **eXosip\_call\_build\_request** (struct eXosip\_t \*excontext, int did, const char \*method, osip\_message\_t \*\*request)\
 int **eXosip\_call\_build\_ack** (struct eXosip\_t \*excontext, int did, osip\_message\_t \*\*ack)\
 int **eXosip\_call\_send\_ack** (struct eXosip\_t \*excontext, int did, osip\_message\_t \*ack)\
 int **eXosip\_call\_build\_refer** (struct eXosip\_t \*excontext, int did, const char \*refer\_to, osip\_message\_t \*\*request)\
 int **eXosip\_call\_build\_info** (struct eXosip\_t \*excontext, int did, osip\_message\_t \*\*request)\
 int **eXosip\_call\_build\_options** (struct eXosip\_t \*excontext, int did, osip\_message\_t \*\*request)\
 int **eXosip\_call\_build\_update** (struct eXosip\_t \*excontext, int did, osip\_message\_t \*\*request)\
 int **eXosip\_call\_build\_notify** (struct eXosip\_t \*excontext, int did, int subscription\_status, osip\_message\_t \*\*request)\
 int **eXosip\_call\_send\_request** (struct eXosip\_t \*excontext, int did, osip\_message\_t \*request)\
 int **eXosip\_call\_build\_answer** (struct eXosip\_t \*excontext, int tid, int status, osip\_message\_t \*\*answer)\
 int **eXosip\_call\_send\_answer** (struct eXosip\_t \*excontext, int tid, int status, osip\_message\_t \*answer)\
 int **eXosip\_call\_terminate** (struct eXosip\_t \*excontext, int cid, int did)\
 int **eXosip\_call\_build\_prack** (struct eXosip\_t \*excontext, int tid, osip\_message\_t \*\*prack)\
 int **eXosip\_call\_send\_prack** (struct eXosip\_t \*excontext, int tid, osip\_message\_t \*prack)\
 int **eXosip\_call\_get\_referto** (struct eXosip\_t \*excontext, int did, char \*refer\_to, size\_t refer\_to\_len)\
 int **eXosip\_call\_find\_by\_replaces** (struct eXosip\_t \*excontext, char \*replaces)\

## Detailed Description

eXosip call API

This file provide the API needed to control calls. You can use it to:

- •

  build initial invite.

- •

  send initial invite.

- •

  build request within the call.

- •

  send request within the call.

This API can be used to build the following messages:

```
   INVITE, INFO, OPTIONS, REFER, UPDATE, NOTIFY
```

## Author

Generated automatically by Doxygen for libeXosip2 from the source code.
