Fix IMSDroid bug #420

This commit is contained in:
bossiel 2012-12-11 12:19:22 +00:00
parent a772231357
commit 4c962672ce
2 changed files with 5 additions and 2 deletions

View File

@ -636,7 +636,7 @@ void *tnet_transport_mainthread(void *param)
void* buffer = tsk_null;
tnet_transport_event_t* e;
TSK_DEBUG_INFO("NETWORK EVENT FOR SERVER [%s] -- TNET_POLLIN(%d)", transport->description, active_socket->fd);
// TSK_DEBUG_INFO("NETWORK EVENT FOR SERVER [%s] -- TNET_POLLIN(%d)", transport->description, active_socket->fd);
/* check whether the socket is paused or not */
if(active_socket->paused){

View File

@ -556,7 +556,10 @@ int tsip_dialog_layer_handle_incoming_msg(const tsip_dialog_layer_t *self, tsip_
ret = tsip_transac_start(transac, message);
tsk_object_unref(transac);
}
else if(TSIP_MESSAGE_IS_REQUEST(message)){ /* No transaction match for the SIP request */
/* - No transaction match for the SIP request
- ACK do not expect any response (http://code.google.com/p/imsdroid/issues/detail?id=420)
*/
else if(TSIP_MESSAGE_IS_REQUEST(message) && !TSIP_REQUEST_IS_ACK(message)){
const tsip_transport_layer_t *layer;
tsip_response_t* response = tsk_null;