Lines Matching refs:_request
717 _sip_msg_t *_request;
726 _request = (_sip_msg_t *)request;
730 (void) pthread_mutex_lock(&_request->sip_msg_mutex);
731 if (_request->sip_msg_req_res == NULL) {
732 if ((ret = sip_parse_first_line(_request->sip_msg_start_line,
733 &_request->sip_msg_req_res)) != 0) {
734 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
738 if (_request->sip_msg_req_res->U.sip_request.sip_request_uri.
740 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
743 uri = (char *)malloc(_request->sip_msg_req_res->U.sip_request.
746 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
750 _request->sip_msg_req_res->U.sip_request.sip_request_uri.
751 sip_str_ptr, _request->sip_msg_req_res->U.sip_request.
753 uri[_request->sip_msg_req_res->U.sip_request.
756 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
760 if ((ret = _sip_find_and_copy_header(_request, _ack_msg, SIP_VIA,
762 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
765 (void) _sip_find_and_copy_header(_request, _ack_msg,
775 if ((ret = _sip_find_and_copy_header(_request, _ack_msg, SIP_FROM,
777 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
780 if ((ret = _sip_find_and_copy_header(_request, _ack_msg, SIP_CALL_ID,
782 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
785 (void) pthread_mutex_unlock(&_request->sip_msg_mutex);
786 seqno = sip_get_callseq_num(_request, &ret);