res_pjsip: Allow global headers to be overridden.
authorJoshua Colp <jcolp@digium.com>
Wed, 7 Sep 2016 21:00:16 +0000 (21:00 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 7 Sep 2016 21:02:01 +0000 (16:02 -0500)
commit2e5da0c715456d48b70b1afc6f089a0c19d98983
tree9d9e7a7b4a918333a8ee66c1d19c108450642be0
parent004d3c32ba5e15d06ae709a420c6d9177c91b134
res_pjsip: Allow global headers to be overridden.

Currently when you add global headers from the dialplan both
the header in the dialplan and the globally configured header
are added to the resulting SIP INVITE. This change makes it
so the headers in the dialplan take precedence and are the
only ones added.

Change-Id: I36f864298f38db3632ad503edc11267cb8ffb3ad
res/res_pjsip/pjsip_global_headers.c