Ignore:
Timestamp:
Oct 12, 2009 7:44:14 AM (15 years ago)
Author:
bennylp
Message:

Ticket #411: Cannot update account presence's status while previous PUBLISH is in progress (thanks Olivier Beytrison for the report)

  • enable request queueing. If PUBLISH is to be sent while another one is still in progress, queue the request and send it later when the ongoing request completes
  • this behavior is controlled by new pjsip_publishc_opt structure to control session's options
  • default behavior is to queue the request
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r2859 r2940  
    897897 
    898898 
     899/** 
     900 * Specify whether the client publication session should queue the 
     901 * PUBLISH request should there be another PUBLISH transaction still 
     902 * pending. If this is set to false, the client will return error 
     903 * on the PUBLISH request if there is another PUBLISH transaction still 
     904 * in progress. 
     905 * 
     906 * Default: 1 (yes) 
     907 */ 
     908#ifndef PJSIP_PUBLISHC_QUEUE_REQUEST 
     909#   define PJSIP_PUBLISHC_QUEUE_REQUEST         1 
     910#endif 
     911 
     912 
    899913PJ_END_DECL 
    900914 
Note: See TracChangeset for help on using the changeset viewer.