eXosip functions

int eXosip_lock(void)

Lock the eXtented oSIP library.

int eXosip_unlock (void)

UnLock the eXtented oSIP library.

int eXosip_message_build_request ( osip_message_t ** message,

const char * method,

const char * to,

const char * from,

const char * route)

Build a default request message.This method will be updated to send any message outside of dialog In this later case, you'll specify the method to use in the second argument.

Parameters:

message Pointer for the SIP request to build.

method request method. (like "MESSAGE" or "PING"...)

to SIP url for callee.

from SIP url for caller.

route Route header for request. (optionnal)

int eXosip_message_send_request(osip_message_t * message)

Send an request.

Parameters:

message SIP request to send.