View previous topic :: View next topic |
Author |
Message |
alexanderhenryperkins ... Guest
|
Posted: Thu Dec 02, 2021 3:39 pm Post subject: [Freeswitch-users] Getting the Media IP |
|
|
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 |
|
Back to top |
|
|
dragos at freeswitch.org Guest
|
Posted: Fri Dec 03, 2021 3:20 am Post subject: [Freeswitch-users] Getting the Media IP |
|
|
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@gmail.com (alexanderhenryperkins@gmail.com)> wrote:
|
|
Back to top |
|
|
Antony.Stone at freesw... Guest
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
|
Back to top |
|
|
|