]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Add Referred-By header to the PJSIP REFER packet. 77/1377/2
authorDebian Amtelco <dan@amtelco.com>
Wed, 26 Aug 2015 21:58:04 +0000 (21:58 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 6 Oct 2015 00:41:21 +0000 (19:41 -0500)
commit8f777ab58499f6b3b9264c9bd6750e0ad5eb033c
tree9d011ef3c6c11ea12190578e26d5eaf2cf6ad284
parent74635b56381c5facaf5b5a6d12a5aa39abf10a0e
chan_pjsip: Add Referred-By header to the PJSIP REFER packet.

Some systems require the REFER packet to include a Referred-By header.
If the channel variable SIPREFERREDBYHDR is set, it passes that value as the
Referred-By header value.  Otherwise, it adds the current dialog’s local info.

Reported by: Dan Cropp
Tested by: Dan Cropp

Change-Id: I3d17912ce548667edf53cb549e88a25475eda245
channels/chan_pjsip.c