intsimulated_recv_return;/* used to simulate network error. 0= no data (disconnected) >0= do nothing -1= network error, 1500 special number to silently discard incoming buffer*/
unsignedlongbg_task_id;
...
...
@@ -124,6 +125,7 @@ struct belle_sip_channel{
unsignedcharsoft_error;/*set when this channel enters ERROR state because of error detected in upper layer */
intstop_logging_buffer;/*log buffer content only if this is non binary data, and stop it at the first occurence*/
bool_tclosed_by_remote;/*If the channel has been remotely closed*/