Do you have the Call-ID from the first leg when you create the second leg with t_new_request? If os, you can use the ctx parameter from that function to make it visible in the new transaction.
https://opensips.org/docs/modules/3.4.x/tm.html#func_t_new_request Ben Newlin From: Users <[email protected]> on behalf of Mickael Hubert <[email protected]> Date: Monday, October 9, 2023 at 11:00 AM To: OpenSIPS users mailling list <[email protected]> Subject: Re: [OpenSIPS-Users] t_new_request and X-headers EXTERNAL EMAIL - Please use caution with links and attachments ________________________________ Thanks for your help, I already tested avp, but the main issue now is, how can I catch call_id (or other id) from my second request (created by t_new_request) to get my variables from the first leg. Le lun. 9 oct. 2023 à 16:33, Johan De Clercq <[email protected]<mailto:[email protected]>> a écrit : avp_dbquery if I am not wrong. Op ma 9 okt 2023 om 16:31 schreef Johan De Clercq <[email protected]<mailto:[email protected]>>: write the info to a custom table and fetch it from there ? Op ma 9 okt 2023 om 16:03 schreef Mickael Hubert <[email protected]<mailto:[email protected]>>: Hi all, I need to send an INFO message with X-headers from other dialog. I use t_new_request to send my request (apart from first dialog): OK I use local_route to add fixed X-header: OK But I want to copy some information from the first dialog to the new dialog (created by t_new_request). How can I do that please ? Thanks in advance _______________________________________________ Users mailing list [email protected]<mailto:[email protected]> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users> _______________________________________________ Users mailing list [email protected]<mailto:[email protected]> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
