[asterisk-dev] Allow GET_TRANSFERRER_DATA in chan_pjsip

Joshua C. Colp jcolp at sangoma.com
Thu Jan 11 09:10:04 CST 2024


On Thu, Jan 11, 2024 at 11:07 AM Tomec Martin <tomec at ipex.cz> wrote:

> Hi,
> I would like to write patch to allow GET_TRANSFERRER_DATA also in pjsip
> (to access incoming REFER headers in dialplan). The original patch for
> chan_sip is in [1]
> Where is the right place to add the code?
> I suppose that in res_pjsip_refer.c [2] in function
> "refer_incoming_invite_request" I could add headers data to
> session->channel. Is it correct place?
>

That is where such functionality should exist, yes.

-- 
Joshua C. Colp
Director of Engineering | Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20240111/f2558842/attachment.html>


More information about the asterisk-dev mailing list