Hi.
I have tried the same things like it. I got sdp changed by rtpengine. But i want to run some extra script before relying message.
It is strange the script will be run after the call stablished. It means the script will be run at the same time the message is relying.

On Thu, 2 May 2019, 16:23 YASIN CANER, <caner_yaso@hotmail.com> wrote:
Hello,

"write_sdp_pv" parameter helps to write a pvalue that includes modified sdp. Could you try it?

Yasin CANER





From: sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Mojtaba <mespio@gmail.com>
Sent: Thursday, May 2, 2019 2:06 PM
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] run some extra things before relying message
 
Hello,
I have encountered with problem in Kamailio.
At first glance it looks simple. Considering the Data Lump feature in
Kamailio, All changes in SIP body, does not apply quickly.
So if we are using RTPEngine or RTPProxy, How we can get body message
(Actually IP and port from SDP after rtpengine_manage function) before
relaying message?
Suppose i want get some information and run some extra things before
relying message?
I just added my extra things in t_on_reply  block, but it's strange
why it doesn't work before relaying!

-Mojtaba Esfandiari.S

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users