You can save the initial media address.
rtpengine_offer();
$var(media_address_invite) = $rtpengine_media_address;
and then save the updated media address
if (is_method("ACK")) {
rtpengine_answer();
$var(media_address_200ok) = $rtpengine_media_address;
}
You can do manipulation in the ACK check if you want to save in the cdr
just use acc module and save.
Regards,
Jehanzaib
On Wed, Jun 12, 2024 at 6:11 AM Saint Michael <[email protected]> wrote:
> I need to save the media address offering to the CDR. I understand
> that it comes with the INVITE but it changes upon connection. Any
> idea how to do this?
> Also, I need to drop the call if the media address matches a list of
> blocked addresses.
> Philip
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users