On Thu, Jan 11, 2024 at 11:07 AM Tomec Martin <to...@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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to