mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Remove extra contact header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1738,7 +1738,6 @@ static int respprep(struct sip_request *resp, struct sip_pvt *p, char *msg, stru
|
|||||||
copy_via_headers(p, resp, req, "Via");
|
copy_via_headers(p, resp, req, "Via");
|
||||||
copy_header(resp, req, "From");
|
copy_header(resp, req, "From");
|
||||||
ot = get_header(req, "To");
|
ot = get_header(req, "To");
|
||||||
append_contact(resp, p);
|
|
||||||
if (strlen(get_header(req, "Record-Route")))
|
if (strlen(get_header(req, "Record-Route")))
|
||||||
copy_header(resp, req, "Record-Route");
|
copy_header(resp, req, "Record-Route");
|
||||||
if (!strstr(ot, "tag=")) {
|
if (!strstr(ot, "tag=")) {
|
||||||
|
Reference in New Issue
Block a user