Lines Matching refs:_response
718 _sip_msg_t *_response;
727 _response = (_sip_msg_t *)response;
768 (void) pthread_mutex_lock(&_response->sip_msg_mutex);
769 if ((ret = _sip_find_and_copy_header(_response, _ack_msg, SIP_TO,
771 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
774 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
809 _sip_msg_t *_response;
815 _response = (_sip_msg_t *)response;
821 (void) pthread_mutex_lock(&_response->sip_msg_mutex);
822 if ((header = sip_search_for_header(_response, SIP_CONTACT,
824 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
829 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
834 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
839 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
846 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
852 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
856 if ((ret = _sip_find_and_copy_header(_response, _ack_msg, SIP_TO,
858 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
861 if ((ret = _sip_find_and_copy_header(_response, _ack_msg, SIP_FROM,
863 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
866 if ((ret = _sip_find_and_copy_header(_response, _ack_msg, SIP_CALL_ID,
868 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
874 if (sip_search_for_header(_response, SIP_MAX_FORWARDS, NULL) != NULL) {
875 if ((ret = _sip_find_and_copy_header(_response, _ack_msg,
877 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
881 (void) pthread_mutex_unlock(&_response->sip_msg_mutex);
882 seqno = sip_get_callseq_num(_response, &ret);