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?
Thanks for any hint - I have no experience with chan_pjsip Martin Tomec [1] https://github.com/asterisk/asterisk/commit/04b300525a190c7bdd22b7fc3364874dae800921 [2] https://github.com/asterisk/asterisk/blob/20/res/res_pjsip_refer.c [https://opengraph.githubassets.com/e86728c411324a28f2ec98381a1c39424b3128b3f2d48768e6af4bb9c0d021ce/asterisk/asterisk/commit/04b300525a190c7bdd22b7fc3364874dae800921]<https://github.com/asterisk/asterisk/commit/04b300525a190c7bdd22b7fc3364874dae800921> Merge "chan_sip: Access incoming REFER headers in dialplan" ยท asterisk/asterisk@04b3005<https://github.com/asterisk/asterisk/commit/04b300525a190c7bdd22b7fc3364874dae800921> The official Asterisk Project repository. Contribute to asterisk/asterisk development by creating an account on GitHub. github.com
-- _____________________________________________________________________ -- 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