Lines Matching refs:msg
58 sip_find_md5_digest(char *bid, _sip_msg_t *msg, uint16_t *hindex,
66 if (is_2543 && msg == NULL)
80 to_uri = sip_get_to_uri_str((sip_msg_t)msg, &error);
83 cseq = sip_get_callseq_num((sip_msg_t)msg, &error);
86 (void) pthread_mutex_lock(&msg->sip_msg_mutex);
87 via = sip_search_for_header(msg, SIP_VIA, NULL);
88 from = sip_search_for_header(msg, SIP_FROM, NULL);
89 cid = sip_search_for_header(msg, SIP_CALL_ID, NULL);
90 (void) pthread_mutex_unlock(&msg->sip_msg_mutex);
294 sip_xaction_find(char *branchid, _sip_msg_t *msg, int which)
303 sip_msg_info = msg->sip_msg_req_res;
304 method = sip_get_callseq_method((sip_msg_t)msg, &error);
316 if (sip_find_md5_digest(branchid, msg, hash_index, method) != 0)
328 sip_xaction_create(sip_conn_object_t obj, _sip_msg_t *msg, char *branchid,
376 SIP_MSG_REFCNT_INCR(msg);
377 trans->sip_xaction_orig_msg = msg;
378 assert(msg->sip_msg_req_res != NULL);
379 sip_msg_info = msg->sip_msg_req_res;
383 method = sip_get_callseq_method((sip_msg_t)msg, &ret);
420 if ((ret = sip_xaction_add(trans, branchid, msg, method)) != 0) {
431 (sip_msg_t)msg, prev_state, trans->sip_xaction_state);
440 sip_xaction_get(sip_conn_object_t obj, sip_msg_t msg, boolean_t create,
451 _msg = (_sip_msg_t *)msg;
452 sip_msg_info = ((_sip_msg_t *)msg)->sip_msg_req_res;
454 branchid = sip_get_branchid(msg, NULL);
571 sip_xaction_add(sip_xaction_t *trans, char *branchid, _sip_msg_t *msg,
576 if (sip_find_md5_digest(branchid, msg, hash_index, method) != 0)