Changeset 2750 for pjproject/trunk/pjsip/src/pjsip-ua/sip_xfer.c
- Timestamp:
- Jun 4, 2009 10:16:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_xfer.c
r2394 r2750 29 29 #include <pj/string.h> 30 30 31 /* Subscription expiration */ 32 #ifndef PJSIP_XFER_EXPIRES 33 # define PJSIP_XFER_EXPIRES 600 34 #endif 35 31 36 32 37 /* … … 155 160 return status; 156 161 157 status = pjsip_evsub_register_pkg( &mod_xfer, &STR_REFER, 300, 1, &accept); 162 status = pjsip_evsub_register_pkg(&mod_xfer, &STR_REFER, 163 PJSIP_XFER_EXPIRES, 1, &accept); 158 164 if (status != PJ_SUCCESS) 159 165 return status; … … 587 593 pjsip_tx_data *tdata; 588 594 589 status = pjsip_ xfer_initiate(sub, NULL, &tdata);595 status = pjsip_evsub_initiate(sub, NULL, PJSIP_XFER_EXPIRES, &tdata); 590 596 if (status == PJ_SUCCESS) 591 597 pjsip_xfer_send_request(sub, tdata);
Note: See TracChangeset
for help on using the changeset viewer.