Changeset 4965
- Timestamp:
- Nov 28, 2014 10:17:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4957 r4965 364 364 acc->rfc5626_regprm.slen = len; 365 365 } 366 367 acc->rfc5626_status = OUTBOUND_WANTED; 366 368 } 367 369 … … 653 655 acc->contact.slen = 0; 654 656 acc->reg_mapped_addr.slen = 0; 657 acc->rfc5626_status = OUTBOUND_UNKNOWN; 655 658 pj_bzero(&acc->via_addr, sizeof(acc->via_addr)); 656 659 acc->via_tp = NULL; … … 1347 1350 acc->contact.slen = 0; 1348 1351 acc->reg_mapped_addr.slen = 0; 1352 acc->rfc5626_status = OUTBOUND_UNKNOWN; 1349 1353 } 1350 1354 … … 2164 2168 acc->contact.slen = 0; 2165 2169 acc->reg_mapped_addr.slen = 0; 2170 acc->rfc5626_status = OUTBOUND_UNKNOWN; 2166 2171 2167 2172 /* Stop keep-alive timer if any. */ … … 2176 2181 acc->contact.slen = 0; 2177 2182 acc->reg_mapped_addr.slen = 0; 2183 acc->rfc5626_status = OUTBOUND_UNKNOWN; 2178 2184 2179 2185 /* Stop keep-alive timer if any. */ … … 2191 2197 acc->contact.slen = 0; 2192 2198 acc->reg_mapped_addr.slen = 0; 2199 acc->rfc5626_status = OUTBOUND_UNKNOWN; 2193 2200 2194 2201 /* Stop keep-alive timer if any. */ … … 2306 2313 acc->contact.slen = 0; 2307 2314 acc->reg_mapped_addr.slen = 0; 2315 acc->rfc5626_status = OUTBOUND_UNKNOWN; 2308 2316 } 2309 2317 … … 2355 2363 acc->contact.slen = 0; 2356 2364 acc->reg_mapped_addr.slen = 0; 2365 acc->rfc5626_status = OUTBOUND_UNKNOWN; 2366 2357 2367 return status; 2358 2368 } … … 2437 2447 2438 2448 /* If SIP outbound is used, add "Supported: outbound, path header" */ 2439 if (acc->rfc5626_status == OUTBOUND_WANTED) { 2449 if (acc->rfc5626_status == OUTBOUND_WANTED || 2450 acc->rfc5626_status == OUTBOUND_ACTIVE) 2451 { 2440 2452 pjsip_hdr hdr_list; 2441 2453 pjsip_supported_hdr *hsup;
Note: See TracChangeset
for help on using the changeset viewer.