diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-10-12 07:44:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-10-12 07:44:14 +0000 |
commit | 8f0431d203dd8b5adddb17ea56f0321374b86b29 (patch) | |
tree | e7dfbcada2039c2dbc6163cb23261a64836d7236 /pjsip/include/pjsip/sip_config.h | |
parent | cc9e61e2abaf2cb5e225a2263ad2b0c6d4f803d2 (diff) |
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
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2940 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/sip_config.h')
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h index af38c040..5bbe420f 100644 --- a/pjsip/include/pjsip/sip_config.h +++ b/pjsip/include/pjsip/sip_config.h @@ -896,6 +896,20 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) #endif +/** + * Specify whether the client publication session should queue the + * PUBLISH request should there be another PUBLISH transaction still + * pending. If this is set to false, the client will return error + * on the PUBLISH request if there is another PUBLISH transaction still + * in progress. + * + * Default: 1 (yes) + */ +#ifndef PJSIP_PUBLISHC_QUEUE_REQUEST +# define PJSIP_PUBLISHC_QUEUE_REQUEST 1 +#endif + + PJ_END_DECL /** |