Panel | ||||
---|---|---|---|---|
In this section:
|
To configure inter/intra Direct Media call:
directMediaAllowed
enabled.directMediaGroupId
.useDirectMedia
enabled.sendDirectMediaInfoInSdpAttribute
enabled (for xdmi).To configure antitrombone Direct Media call,
directMediaAntiTrombone
enabled.The basic Direct Media call with ICE and DTLS configuration contains:
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG services natTraversal iceSupport iceWebrtc % set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG services natTraversal iceSupport iceWebrtc |
Code Block | ||
---|---|---|
| ||
% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG media dtlsProfileName defaultDtlsProfile % set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG media dtlsProfileName defaultDtlsProfile |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
% 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 |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG media directMediaAllowed enabled % set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG media directMediaAllowed enabled |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
% set addressContext default zone ZONE1 sipTrunkGroup psxInSBXTG media directMediaGroupId 200 % set addressContext default zone ZONE1 sipTrunkGroup psxOutSBXTG media directMediaGroupId 200 |
Note |
---|
The commands shown in the Configuring ICE Direct Media Call section are only for example. |
Code Block | ||
---|---|---|
| ||
% 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" |
Code Block | ||
---|---|---|
| ||
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; } |
Note |
---|
The Call Media Status shows that there is no packets sent or received and the media flow is direct between the endpoints. |
For more information on Direct Media Calls, refer to the section Direct Media and Antitrombone Support for ICE and DTLS.
Pagebreak |
---|