Changeset 3213 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Jun 20, 2010 8:58:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r3212 r3213 1901 1901 1902 1902 /** 1903 * This macro specifies the default value for \a contact_rewrite_method 1904 * field in pjsua_acc_config. I specifies how Contact update will be 1905 * done with the registration, if \a allow_contact_rewrite is enabled in 1906 * the account config. 1907 * 1908 * If set to 1, the Contact update will be done by sending unregistration 1909 * to the currently registered Contact, while simultaneously sending new 1910 * registration (with different Call-ID) for the updated Contact. 1911 * 1912 * If set to 2, the Contact update will be done in a single, current 1913 * registration session, by removing the current binding (by setting its 1914 * Contact's expires parameter to zero) and adding a new Contact binding, 1915 * all done in a single request. 1916 * 1917 * Value 1 is the legacy behavior. 1918 * 1919 * Default value: 2 1920 */ 1921 #ifndef PJSUA_CONTACT_REWRITE_METHOD 1922 # define PJSUA_CONTACT_REWRITE_METHOD 2 1923 #endif 1924 1925 1926 /** 1903 1927 * This structure describes account configuration to be specified when 1904 1928 * adding a new account with #pjsua_acc_add(). Application MUST initialize … … 2107 2131 * configured. 2108 2132 * 2133 * See also contact_rewrite_method field. 2134 * 2109 2135 * Default: 1 (yes) 2110 2136 */ 2111 2137 pj_bool_t allow_contact_rewrite; 2138 2139 /** 2140 * Specify how Contact update will be done with the registration, if 2141 * \a allow_contact_rewrite is enabled. 2142 * 2143 * If set to 1, the Contact update will be done by sending unregistration 2144 * to the currently registered Contact, while simultaneously sending new 2145 * registration (with different Call-ID) for the updated Contact. 2146 * 2147 * If set to 2, the Contact update will be done in a single, current 2148 * registration session, by removing the current binding (by setting its 2149 * Contact's expires parameter to zero) and adding a new Contact binding, 2150 * all done in a single request. 2151 * 2152 * Value 1 is the legacy behavior. 2153 * 2154 * Default value: PJSUA_CONTACT_REWRITE_METHOD (2) 2155 */ 2156 int contact_rewrite_method; 2112 2157 2113 2158 /**
Note: See TracChangeset
for help on using the changeset viewer.