]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_refer: Prevent sending duplicate headers. 30/730/1
authorMark Michelson <mmichelson@digium.com>
Fri, 26 Jun 2015 15:41:05 +0000 (10:41 -0500)
committerMark Michelson <mmichelson@digium.com>
Fri, 26 Jun 2015 16:02:13 +0000 (11:02 -0500)
commit05a2cc129396df9d75d1dbafc040eca117f982ba
tree2cf64e166c697d3c2ab2c3845f3463bf924ff78f
parent71c1c559cf00e7b2277682a33f1cfadbe3269cf0
res_pjsip_refer: Prevent sending duplicate headers.

res_pjsip_refer will attempt to add Referred-By or Replaces headers to
outbound INVITEs at times. If the INVITE gets challenged for
authentication, then we will resend the INVITE. Prior to this patch, the
Referred-By or Replaces header would be re-added to the outbound INVITE,
resulting in duplicated headers.

ASTERISK-25204 #close
Reported by Mark Michelson

Change-Id: I59fb5c08b4d253c0dba9ee3d3950b5025358222d
res/res_pjsip_refer.c