Hi Alex,

No, there is no dedicated var. But "looking" into SDP is the correct approach. And you will see there ONLY what the device sent you (it may be a private IP, if the device is natted). But the real src ip where the RTP is coming from may be "visible" only to a rtp relay, not to OpenSIPS (it is not reflected in the SIP/SDP part).

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
  https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 4/23/22 8:41 PM, Alexander Perkins wrote:
Hi All.  I have an interesting question - how can I get the media IP of the caller? Not the signaling IP, but the media IP. Is there a variable for that?

I've tried this: $var(aline) = $(rb{sdp.line,c,1}), but it seems to be bringing on the caller's private IP address.

 Any help is appreciated.

Thank you,
Alex

_______________________________________________
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

Reply via email to