hi aymeric,
the sender of a MESSAGE request gets the transaction-ID as return value of
eXosip_message_send_request to be able to match the response.
I suggest to provide the transaction-ID as return-value also when sending OPTIONS and PUBLISH requests.
you also need the transaction-ID there to match the response !
therefore, the last line in eXosip_options_send_request
should be:
(eXoptions_api.c, line 67)
int
eXosip_options_send_request (struct eXosip_t *excontext, osip_message_t * options)
{
..
..
return transaction->transactionid;
}
also, the last line in eXosip_message_send_request should be:
(eXosip_publish, line 159)
int
eXosip_publish (struct eXosip_t *excontext, osip_message_t * message, const char *to)
{
..
..
return transaction->transactionid;
}
br,
christoph