Changeset 2960 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
- Timestamp:
- Oct 21, 2009 3:03:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r2959 r2960 1468 1468 * immediately. 1469 1469 */ 1470 resub_delay = 500; 1470 /* But this must only happen when the 481 is received 1471 * on subscription refresh request. We MUST NOT try to 1472 * resubscribe automatically if the 481 is received 1473 * on the initial SUBSCRIBE (if server returns this 1474 * response for some reason). 1475 */ 1476 if (buddy->dlg->remote.contact) 1477 resub_delay = 500; 1471 1478 break; 1472 1479 } … … 1531 1538 1532 1539 buddy_resubscribe(buddy, PJ_TRUE, resub_delay); 1533 1540 1534 1541 } else { 1542 /* This will clear the last termination code/reason */ 1535 1543 buddy->term_code = 0; 1536 1544 buddy->term_reason.slen = 0;
Note: See TracChangeset
for help on using the changeset viewer.