]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Allow global headers to be overridden. 41/3841/1
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:52 +0000 (16:01 -0500)
commitf401187282b2449c6b579ebdf8c1d5937c9b5baf
treef5983163f1e4c5bbd31834dffc517461cd95e95f
parentb3e25d7de68f09abec2156e6bf6d78cd97a9321c
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