Commit 4ae0e55d authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nta.c: when completing a request message, use existing CSeq if leg has no Call-ID.

parent f57db91b
......@@ -3167,7 +3167,7 @@ int nta_msg_request_complete(msg_t *msg,
method = sip->sip_request->rq_method;
method_name = sip->sip_request->rq_method_name;
if (!leg->leg_id && !sip->sip_call_id && sip->sip_cseq)
if (!leg->leg_id && sip->sip_cseq)
seq = sip->sip_cseq->cs_seq;
else if (method == sip_method_ack || method == sip_method_cancel)
/* Dangerous - we may do PRACK/UPDATE meanwhile */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment