[Freeswitch-users] Getting the Media IP
Dragos Oancea
dragos at freeswitch.org
Fri Dec 3 08:02:27 UTC 2021
Check value of channel variable "remote_media_ip".
There are other channel variables that may help in cases like this:
#define SWITCH_R_SDP_VARIABLE "switch_r_sdp"
#define SWITCH_REMOTE_MEDIA_IP_VARIABLE "remote_media_ip"
#define SWITCH_REMOTE_MEDIA_PORT_VARIABLE "remote_media_port"
#define SWITCH_REMOTE_VIDEO_IP_VARIABLE "remote_video_ip"
#define SWITCH_REMOTE_VIDEO_PORT_VARIABLE "remote_video_port
See switch_types.h.
On Thu, Dec 2, 2021 at 9:20 PM Alexander Perkins <
alexanderhenryperkins at gmail.com> wrote:
> Hi All. Is it possible to get the media IP from an invite? We have a
> client that does not want to accept calls into his PBX if the media IP is
> not in the US. Is this even possible? If so, how?
>
> Thank you,
> Alex
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211203/585491ab/attachment.html>
More information about the FreeSWITCH-users
mailing list