|
From: | Aymeric Moizard |
Subject: | Re: [osip-dev] matching responses to sent MESSAGE, OPTIONS, PUBLISH |
Date: | Thu, 15 Jan 2015 15:07:51 +0100 |
hi aymeric,the sender of a MESSAGE request gets the transaction-ID as return value ofeXosip_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)inteXosip_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)inteXosip_publish (struct eXosip_t *excontext, osip_message_t * message, const char *to){....return transaction->transactionid;}br,christoph
_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev
[Prev in Thread] | Current Thread | [Next in Thread] |