Commit e1319420 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fix callerpref bug #1326727.

Copying Accept-Contact, Reject-Contact, and Request-Disposition from
original request to ACK/CANCEL.

darcs-hash:20051014133954-65a35-a3294a36fb9a3461032c93f7c2820612787ec6b7.gz
parent 26435fe6
...@@ -5803,7 +5803,7 @@ nta_outgoing_t *nta_outgoing_tcancel(nta_outgoing_t *orq, ...@@ -5803,7 +5803,7 @@ nta_outgoing_t *nta_outgoing_tcancel(nta_outgoing_t *orq,
} }
#endif #endif
cancel_408 = 0; cancel_408 = 0; /* Don't really CANCEL, this is timeout. */
cancel_2543 = orq->orq_agent->sa_cancel_2543; cancel_2543 = orq->orq_agent->sa_cancel_2543;
ta_start(ta, tag, value); ta_start(ta, tag, value);
...@@ -7583,6 +7583,10 @@ msg_t *outgoing_ackmsg(nta_outgoing_t *orq, sip_method_t m, char const *mname, ...@@ -7583,6 +7583,10 @@ msg_t *outgoing_ackmsg(nta_outgoing_t *orq, sip_method_t m, char const *mname,
sip_add_dup(msg, sip, (sip_header_t *)old->sip_from); sip_add_dup(msg, sip, (sip_header_t *)old->sip_from);
sip_add_dup(msg, sip, (sip_header_t *)old->sip_call_id); sip_add_dup(msg, sip, (sip_header_t *)old->sip_call_id);
sip_add_dup(msg, sip, (sip_header_t *)old->sip_route); sip_add_dup(msg, sip, (sip_header_t *)old->sip_route);
/* Bug #1326727. */
sip_add_dup(msg, sip, (sip_header_t *)old->sip_accept_contact);
sip_add_dup(msg, sip, (sip_header_t *)old->sip_reject_contact);
sip_add_dup(msg, sip, (sip_header_t *)old->sip_request_disposition);
if (old->sip_via) { if (old->sip_via) {
/* Add only the topmost Via header */ /* Add only the topmost Via header */
......
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