You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In this section:

Overview

To configure inter/intra Direct Media call:

  • Ingress and egress Trunk Groups must have the flag directMediaAllowed enabled.
  • Ingress and egress Trunk Groups must have same directMediaGroupId.
  • PSP for Trunk Groups must have the flag useDirectMedia enabled.
  • IP signaling profile for AS TG must have the flag sendDirectMediaInfoInSdpAttribute enabled (for xdmi).

To configure anti-trombone Direct Media call,

  • AS Trunk group must have the flag directMediaAntiTrombone enabled.

The basic Direct Media call with ICE and DTLS configuration contains:

Enabling ICE and DTLS on Both the Ingress and Egress Trunk Groups

% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG services natTraversal iceSupport iceWebrtc
% set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG services natTraversal iceSupport iceWebrtc
% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG media dtlsProfileName defaultDtlsProfile
% set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG media dtlsProfileName defaultDtlsProfile

Using PSP on Trunk Groups

% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG policy media packetServiceProfile PSP_RTP_DM
% set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG policy media packetServiceProfile PSP_RTP_DM

Enabling Direct Media on Ingress and Egress Trunk Groups

% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG media directMediaAllowed enabled
% set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG media directMediaAllowed enabled

Setting Same Direct Media Group IDs on Ingress and Egress Trunk Groups

% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG media directMediaGroupId 200
% set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG media directMediaGroupId 200

The commands shown in the Configuring ICE Direct Media Call section are only for example.

Call Detail Status

% show status global callDetailStatus

mediaStreams                        audio;
state                               Stable;
callingNumber                       5000500001;
calledNumber                        5000500001;
............
callDuration                        3;
mediaType                           directmedia;
ingressMediaStream1LocalIpSockAddr  "255.255.255.255/ 65535 (rtcp:65535)"; 
ingressMediaStream1LocalIp          255.255.255.255;
ingressMediaStream1LocalPort        65535;
............
ingressMediaStream1RemoteIpSockAddr  "127.0.0.0/ 5004 (rtcp:5004)";   
ingressMediaStream1RemoteIp          127.0.0.0;
ingressMediaStream1RemotePort        5004;
............
egressMediaStream1LocalIpSockAddr    "255.255.255.255/ 65535 (rtcp: 65535)";
egressMediaStream1LocalIp            255.255.255.255;
egressMediaStream1LocalPort          65535;
............
egressMediaStream1RemoteIpSockAddr   "127.0.0.0/ 5004 (rtcp: 5004)";
egressMediaStream1RemoteIp           127.0.0.0;
egressMediaStream1RemotePort         5004;
............
ingressMediaStream1IceState          NONE;   
egressMediaStream1IceState           NONE;
ingressDtlsStream1                   DISABLED;   
egressDtlsStream1                    DISABLED;
iceCallTypes                         "ing-lcl-NONE ing-rmt-NONE eg-lcl-NONE eg-rmt-NONE"

Call Media Status

show status global callMediaStatus
callMediaStatus 524296 {
    mediaStreamsInCall                          audio;
    ingressMacHeader                            0-0-0-0-0-0;
    egressMacHeader                             0-0-0-0-0-0;
    ingressBearerType                           multimedia;
    egressBearerType                            multimedia;
    ingressCfgAudioType                         na;
    egressCfgAudioType                          na;
    ingressActAudioType                         na;
    egressActAudioType                          na;
    ingressRemPacketsLost                       0;
    ingressRFactorInbound                       93;
    ingressRFactorOutbound                      93;
    egressRemPacketsLost                        0;
    egressRFactorInbound                        93;
    egressRFactorOutbound                       93;
    mediaStream1Label                           audio;
    mediaStream1Codec                           G711;
    ingressMediaStream1PacketsSent              0;
    ingressMediaStream1PacketsReceived          0;
    ingressMediaStream1OctetsSent               0;
    ingressMediaStream1OctetsReceived           0;
    ingressMediaStream1RtcpPacketsSent          0;
    ingressMediaStream1RtcpPacketsReceived      0;
    ingressMediaStream1PacketsLost              0;
    ingressMediaStream1PacketsDiscarded         0;
    ingressMediaStream1PacketLatency            0;
    ingressMediaStream1InterarrivalJitter       0;
    ingressMediaStream1StunDtlsPacketsReceived  0;
    ingressMediaStream1StunDtlsPacketsDiscarded 0;
    ingressMediaStream1SrtpAuthFailure          0;
    ingressMediaStream1SrtpReplayFailure        0;
    egressMediaStream1PacketsSent               0;
    egressMediaStream1PacketsReceived           0;
    egressMediaStream1OctetsSent                0;
    egressMediaStream1OctetsReceived            0;
    egressMediaStream1RtcpPacketsSent           0;
    egressMediaStream1RtcpPacketsReceived       0;
    egressMediaStream1PacketsLost               0;
    egressMediaStream1PacketsDiscarded          0;
    egressMediaStream1PacketLatency             0;
    egressMediaStream1InterarrivalJitter        0;
    egressMediaStream1StunDtlsPacketsReceived   0;
    egressMediaStream1StunDtlsPacketsDiscarded  0;
    egressMediaStream1SrtpAuthFailure           0;
    egressMediaStream1SrtpReplayFailure         0;
} 

The Call Media Status shows that there is no packets sent or received and the media flow is direct between the endpoints.

  • No labels