Changeset 1390 for pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
- Timestamp:
- Jun 26, 2007 8:23:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r1379 r1390 114 114 }; 115 115 116 /* Config */ 117 extern pj_bool_t pjsip_include_allow_hdr_in_dlg; 116 118 117 119 /* … … 1154 1156 1155 1157 /* Add Allow header. */ 1156 hdr = pjsip_endpt_get_capability(inv->dlg->endpt, PJSIP_H_ALLOW, NULL); 1157 if (hdr) { 1158 pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) 1159 pjsip_hdr_shallow_clone(tdata->pool, hdr)); 1158 if (pjsip_include_allow_hdr_in_dlg) { 1159 hdr = pjsip_endpt_get_capability(inv->dlg->endpt, PJSIP_H_ALLOW, NULL); 1160 if (hdr) { 1161 pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) 1162 pjsip_hdr_shallow_clone(tdata->pool, hdr)); 1163 } 1160 1164 } 1161 1165
Note: See TracChangeset
for help on using the changeset viewer.