]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Allow global headers to be overridden. 40/3840/2
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:01:30 +0000 (21:01 +0000)
commit5f19657710aa82c76f48a1a4f49cd92e6cd8e1f6
tree1686bd87075c2d413cea90873da1f4163760fb91
parent892536729188c29aecb6b2b5a6bab8928a63f530
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