Lines Matching defs:chdr
613 sip_header_t chdr;
648 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL);
652 if ((fhdr == NULL && thdr == NULL) || cihdr == NULL || chdr == NULL ||
667 ((value = sip_get_header_value(chdr, NULL)) == NULL) ||
696 if ((dialog->sip_dlg_remote_target = sip_dup_header(chdr)) ==
709 if ((dialog->sip_dlg_local_contact = sip_dup_header(chdr)) ==
863 sip_header_t chdr = NULL;
900 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL);
901 if (chdr == NULL) {
946 chdr = sip_search_for_header(sip_msg,
1014 sip_dup_header(chdr)) == NULL) {
1030 if (dialog->sip_dlg_remote_target == NULL && chdr != NULL) {
1038 sip_dup_header(chdr)) == NULL) {
1103 if (chdr == NULL) {
1105 chdr = sip_search_for_header(sip_msg, SIP_CONTACT,
1109 if ((chdr == NULL) || ((dialog->sip_dlg_local_contact =
1110 sip_dup_header(chdr)) == NULL)) {
1404 sip_header_t chdr;
1410 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL);
1412 if (chdr == NULL)
1414 if ((dialog->sip_dlg_remote_target = sip_dup_header(chdr)) == NULL)
1476 sip_header_t chdr;
1480 chdr = sip_search_for_header(sip_msg, SIP_CONTACT,
1483 if (chdr != NULL &&
1484 (nchdr = sip_dup_header(chdr)) != NULL) {
1725 sip_header_t chdr;
1728 chdr = sip_search_for_header(sip_msg,
1732 if (chdr != NULL) {
1734 = sip_dup_header(chdr);
1862 sip_header_t chdr = NULL;
1866 chdr = sip_search_for_header(sip_msg, SIP_CONTACT, NULL);
1869 if (chdr == NULL)
1879 if (((nhdr = sip_dup_header(chdr)) != NULL)) {