Lines Matching +defs:val +defs:method

234 		const struct sip_value	*val;
236 val = sip_get_header_value(_dialog->sip_dlg_remote_target,
238 if (val == NULL)
240 req_uri = &((sip_hdr_value_t *)val)->cftr_uri;
347 const struct sip_value *val;
349 val = sip_get_header_value(dialog->sip_dlg_remote_target, NULL);
350 to_uri = &((sip_hdr_value_t *)val)->cftr_uri;
619 sip_method_t method;
626 method = sip_get_request_method((sip_msg_t)sip_msg, &error);
630 if (error != 0 || (method != INVITE && method != SUBSCRIBE))
649 if (method == SUBSCRIBE)
653 (method == SUBSCRIBE && evhdr == NULL)) {
718 if (method == SUBSCRIBE) {
741 dialog->sip_dlg_method = method;
743 * Set the partial dialog timer with the INVITE timeout val
868 const struct sip_value *val;
869 sip_method_t method;
875 method = sip_get_request_method((sip_msg_t)sip_msg, &error);
877 method = sip_get_callseq_method((sip_msg_t)sip_msg, &error);
880 (dialog->sip_dlg_method == INVITE || method != NOTIFY))) {
883 if ((dialog->sip_dlg_type == SIP_UAC_DIALOG && method != NOTIFY &&
886 (dialog->sip_dlg_type == SIP_UAS_DIALOG && method != NOTIFY &&
891 if (method == NOTIFY) {
964 if (method == NOTIFY) {
1125 val = sip_get_header_value(dialog->sip_dlg_local_uri_tag,
1128 val = sip_get_header_value(dialog->sip_dlg_remote_uri_tag,
1131 if (val == NULL || error != 0) {
1135 assert(val != NULL && error == 0);
1136 remtag = sip_get_param_value((sip_header_value_t)val, "tag", &error);
1138 val = sip_get_header_value(dialog->sip_dlg_call_id, &error);
1139 callid = &((sip_hdr_value_t *)val)->str_val;
1444 sip_method_t method;
1449 method = sip_get_callseq_method((sip_msg_t)sip_msg, &error);
1453 method) {
1467 method == INVITE && _dialog->sip_dlg_remote_cseq != 0 &&
1475 if (_dialog->sip_dlg_method == INVITE && method == INVITE) {
1496 sip_method_t method;
1501 method = sip_get_callseq_method((sip_msg_t)sip_msg,
1524 if (method == INVITE) {
1668 sip_method_t method;
1686 method = sip_get_request_method((sip_msg_t)sip_msg, &error);
1688 method != NOTIFY) {
1698 method = sip_get_callseq_method((sip_msg_t)sip_msg, &error);
1724 sip_dlg_method == INVITE && method == INVITE) {