osip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[osip-dev] matching responses to sent MESSAGE, OPTIONS, PUBLISH


From: FEICHTER Christoph
Subject: [osip-dev] matching responses to sent MESSAGE, OPTIONS, PUBLISH
Date: Wed, 14 Jan 2015 14:17:42 +0000

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
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]