- Timestamp:
- Jun 24, 2010 1:32:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c
r3128 r3223 528 528 pjsip_msg *msg; 529 529 pjsip_contact_hdr *hdr; 530 const pjsip_hdr *h_allow; 530 531 pj_status_t status; 531 532 pjsip_tx_data *tdata; … … 568 569 pjsip_endpt_cancel_timer(regc->endpt, ®c->timer); 569 570 regc->timer.id = 0; 571 } 572 573 /* Add Allow header (http://trac.pjsip.org/repos/ticket/1039) */ 574 h_allow = pjsip_endpt_get_capability(regc->endpt, PJSIP_H_ALLOW, NULL); 575 if (h_allow) { 576 pjsip_msg_add_hdr(msg, (pjsip_hdr*) 577 pjsip_hdr_shallow_clone(tdata->pool, h_allow)); 578 570 579 } 571 580
Note: See TracChangeset
for help on using the changeset viewer.