Lines Matching refs:chdr
611 sip_header_t chdr; in sip_seed_dialog() local
646 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL); in sip_seed_dialog()
650 if ((fhdr == NULL && thdr == NULL) || cihdr == NULL || chdr == NULL || in sip_seed_dialog()
665 ((value = sip_get_header_value(chdr, NULL)) == NULL) || in sip_seed_dialog()
694 if ((dialog->sip_dlg_remote_target = sip_dup_header(chdr)) == in sip_seed_dialog()
707 if ((dialog->sip_dlg_local_contact = sip_dup_header(chdr)) == in sip_seed_dialog()
861 sip_header_t chdr = NULL; in sip_complete_dialog() local
898 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL); in sip_complete_dialog()
899 if (chdr == NULL) { in sip_complete_dialog()
944 chdr = sip_search_for_header(sip_msg, in sip_complete_dialog()
1012 sip_dup_header(chdr)) == NULL) { in sip_complete_dialog()
1028 if (dialog->sip_dlg_remote_target == NULL && chdr != NULL) { in sip_complete_dialog()
1036 sip_dup_header(chdr)) == NULL) { in sip_complete_dialog()
1101 if (chdr == NULL) { in sip_complete_dialog()
1103 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, in sip_complete_dialog()
1107 if ((chdr == NULL) || ((dialog->sip_dlg_local_contact = in sip_complete_dialog()
1108 sip_dup_header(chdr)) == NULL)) { in sip_complete_dialog()
1402 sip_header_t chdr; in sip_get_rtarg() local
1408 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL); in sip_get_rtarg()
1410 if (chdr == NULL) in sip_get_rtarg()
1412 if ((dialog->sip_dlg_remote_target = sip_dup_header(chdr)) == NULL) in sip_get_rtarg()
1474 sip_header_t chdr; in sip_dialog_process() local
1478 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, in sip_dialog_process()
1481 if (chdr != NULL && in sip_dialog_process()
1482 (nchdr = sip_dup_header(chdr)) != NULL) { in sip_dialog_process()
1723 sip_header_t chdr; in sip_update_dialog() local
1726 chdr = sip_search_for_header(sip_msg, in sip_update_dialog()
1730 if (chdr != NULL) { in sip_update_dialog()
1732 = sip_dup_header(chdr); in sip_update_dialog()
1860 sip_header_t chdr = NULL; in sip_dialog_add_new_contact() local
1864 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL); in sip_dialog_add_new_contact()
1867 if (chdr == NULL) in sip_dialog_add_new_contact()
1877 if (((nhdr = sip_dup_header(chdr)) != NULL)) { in sip_dialog_add_new_contact()