|
From: | FEICHTER Christoph |
Subject: | Re: [osip-dev] matching responses to sent MESSAGE, OPTIONS, PUBLISH |
Date: | Mon, 19 Jan 2015 15:25:58 +0000 |
hi, no, I don’t see any more functions, where this extension could make sense. br, christoph From: Aymeric Moizard [mailto:address@hidden
Hi Christoph, 2015-01-14 15:17 GMT+01:00 FEICHTER Christoph <address@hidden>: 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
--
|
[Prev in Thread] | Current Thread | [Next in Thread] |