...
...
...
Back to Table of Contents
Back to Configuring Video Best Practices
Below is an example of how to configure a basic H.323-H.323 Video Call using CLI commands.
Include Page |
---|
| IP_IGs_ServedBySeperateProcessors |
---|
| IP_IGs_ServedBySeperateProcessors |
---|
|
Configuring Basic H.323-H.323 Video Call
Configure Address Context and IP Interface Group
Code Block |
---|
|
% set addressContext default ipInterfaceGroup LIF1 ipInterface pkt_a_v4v6 ceName AUDI portName pkt0 ipAddress 10.20.30.40 prefix 24 altIpAddress fd00:10:6b50:4200::99 altPrefix 60
% set addressContext default ipInterfaceGroup LIF1 ipInterface pkt_a_v4v6 mode inService state enabled
% commit
% set addressContext default ipInterfaceGroup LIF2 ipInterface pkt_b_v4v6 ceName AUDI portName pkt1 ipAddress 10.20.30.40 prefix 24 altIpAddress fd00:10:6b50:4210::99 altPrefix 60
% set addressContext default ipInterfaceGroup LIF2 ipInterface pkt_b_v4v6 mode inService state enabled
% commit |
Code Block |
---|
|
% set addressContext default zone ZONE1 id 3 h323SigPort 1001 ipInterfaceGroupName LIF1 h245IpAddress 10.20.30.40 h225IpAddress 10.20.30.40 portNumber 1720 mode inService state enabled
% commit
% set addressContext default zone ZONE2 id 4 h323SigPort 1002 ipInterfaceGroupName LIF2 h245IpAddress 10.20.30.41 h225IpAddress 10.20.30.41 portNumber 1720 mode inService state enabled
% commit |
Code Block |
---|
|
% set addressContext default staticRoute 10.160.101.30 32 10.54.32.1 LIF1 pkt_a_v4v6 preference 100
% commit
% set addressContext default staticRoute 10.160.102.40 32 10.54.33.1 LIF2 pkt_b_v4v6 preference 100
% commit |
Code Block |
---|
|
% set addressContext default zone ZONE1 h323TrunkGroup PCR7166_SBX_INT mode inService state enabled media mediaIpInterfaceGroupName LIF1
% set addressContext default zone ZONE1 h323TrunkGroup PCR7166_SBX_INT media slowStart passthru
% set addressContext default zone ZONE1 h323TrunkGroup PCR7166_SBX_INT ingressIpPrefix 10.0.0.0 8
% commit
% set addressContext default zone ZONE2 h323TrunkGroup PCR7166_SBX_EXT mode inService state enabled media mediaIpInterfaceGroupName LIF2
% set addressContext default zone ZONE2 h323TrunkGroup PCR7166_SBX_EXT media slowStart passthru
% set addressContext default zone ZONE2 h323TrunkGroup PCR7166_SBX_EXT ingressIpPrefix 10.0.0.0 8
% commit |
Code Block |
---|
|
% set addressContext default zone ZONE1 ipPeer PCR7166_ERE_PEER_EP1V4 ipAddress 10.11.12.13 ipPort 1720
% commit
% set addressContext default zone ZONE2 ipPeer PCR7166_ERE_PEER_EP2V4 ipAddress 10.11.12.14 ipPort 1720
% commit |
Routing Label
Code Block |
---|
|
% set global callRouting routingLabel PCR7166_SBX_RL_EP1 routingLabelRoute 1 trunkGroup PCR7166_SBX_INT ipPeer PCR7166_ERE_PEER_EP1V4 inService inService
% commit
% set global callRouting routingLabel PCR7166_SBX_RL_EP2 routingLabelRoute 1 trunkGroup PCR7166_SBX_EXT ipPeer PCR7166_ERE_PEER_EP2V4 inService inService
% commit |
Standard Route
Code Block |
---|
|
% set global callRouting route trunkGroup PCR7166_SBX_INT AUDI standard SONUS_NULL 1 all all ALL none Sonus_NULL routingLabel PCR7166_SBX_RL_EP2
% commit
% set global callRouting route trunkGroup PCR7166_SBX_EXT AUDI standard SONUS_NULL 1 all all ALL none Sonus_NULL routingLabel PCR7166_SBX_RL_EP1
% commit |
Code Block |
---|
|
% set profiles media codecEntry G711u codec g711 law ULaw
% commit |
Code Block |
---|
|
% set profiles media packetServiceProfile PCR7166_SBX_EP1_PSP codec codecEntry1 G711u
% set profiles media packetServiceProfile PCR7166_SBX_EP2_PSP codec codecEntry1 G711u
% commit |
Code Block |
---|
|
% set profiles signaling ipSignalingProfile PCR7166_SBX_EP1 ipProtocolType h323
% commit
% set profiles signaling ipSignalingProfile PCR7166_SBX_EP2 ipProtocolType h323
% commit |
Assign PSP and IPSP to the H.323 Trunk Group
Code Block |
---|
|
% set addressContext default zone ZONE1 h323TrunkGroup PCR7166_SBX_INT policy media packetServiceProfile PCR7166_SBX_EP1_PSP
% set addressContext default zone ZONE1 h323TrunkGroup PCR7166_SBX_INT policy signaling ipSignalingProfile PCR7166_SBX_EP1
% set addressContext default zone ZONE2 h323TrunkGroup PCR7166_SBX_EXT policy media packetServiceProfile PCR7166_SBX_EP2_PSP
% set addressContext default zone ZONE2 h323TrunkGroup PCR7166_SBX_EXT policy signaling ipSignalingProfile PCR7166_SBX_EP2
% commit |
Allocate Video Bandwidth for H323-H323 Video Call
Code Block |
---|
|
% set profiles media packetServiceProfile PCR7166_SBX_EP1_PSP videoCalls maxVideoBandwith 200
% set profiles media packetServiceProfile PCR7166_SBX_EP2_PSP videoCalls maxVideoBandwith 200
% commit |
Viewing Basic H.323-H.323 Video Call Configuration
Code Block |
---|
|
admin@SBC01> show status global callMediaStatus
callMediaStatus 786432 {
mediaStreamsInCall audio,video;
ingressMacHeader 00-00-1D-CE-03-3D;
egressMacHeader 00-00-1D-CE-03-3D;
ingressBearerType voice;
egressBearerType voice;
ingressCfgAudioType G711S;
egressCfgAudioType G711S;
ingressActAudioType g711ulaw;
egressActAudioType g711ulaw;
ingressPacketsSent 800;
ingressPacketsReceived 800;
ingressOctetsSent 161600;
ingressOctetsReceived 137904;
ingressPacketsLost 0;
ingressPacketsDiscarded 0;
ingressInterarrivalJitter 122;
ingressPacketLatency 0;
ingressRemPacketsLost 0;
ingressRFactorInbound 93;
ingressRFactorOutbound 93;
egressPacketsSent 800;
egressPacketsReceived 800;
egressOctetsSent 161600;
egressOctetsReceived 137828;
egressPacketsLost 0;
egressPacketsDiscarded 0;
egressInterarrivalJitter 111;
egressPacketLatency 0;
egressRemPacketsLost 0;
egressRFactorInbound 0;
egressRFactorOutbound 0;
mediaStream2Index 2;
mediaStream2Label video;
mediaStream2Codec H261;
ingressMediaStream2PacketsSent 238;
ingressMediaStream2PacketsReceived 238;
ingressMediaStream2OctetsSent 194313;
ingressMediaStream2OctetsReceived 187401;
ingressMediaStream2PacketsLost 0;
ingressMediaStream2PacketsDiscarded 0;
ingressMediaStream2PacketLatency 0;
ingressMediaStream2InterarrivalJitter 8064;
egressMediaStream2PacketsSent 238;
egressMediaStream2PacketsReceived 238;
egressMediaStream2OctetsSent 194313;
egressMediaStream2OctetsReceived 187553;
egressMediaStream2PacketsLost 0;
egressMediaStream2PacketsDiscarded 0;
egressMediaStream2PacketLatency 0;
egressMediaStream2InterarrivalJitter 7978;
} |
Show Call Detail Status
Code Block |
---|
|
admin@SBC01> show status global callDetailStatus
callDetailStatus 786432 {
mediaStreams audio,video;
state Stable;
callingNumber 72345;
calledNumber 99988;
addressTransPerformed none;
origCalledNum "";
scenarioType H323_TO_H323;
callDuration 11;
mediaType passthru;
associatedGcid1 786432;
associatedGcid2 786432;
associatedGcidLegId1 0;
associatedGcidLegId2 1;
ingressLocalIpSockAddr 10.10.101.30;
ingressRemoteIpSockAddr 10.10.102.30;
egressLocalIpSockAddr 10.10.101.30;
egressRemoteIpSockAddr 10.10.102.40;
ingressSecurity 257;
egressSecurity 257;
ingressMediaStream2LocalIpSockAddr "10.10.101.30/ 1028";
ingressMediaStream2RemoteIpSockAddr "10.10.102.30/ 60102";
egressMediaStream2LocalIpSockAddr "10.10.101.30/ 1030";
egressMediaStream2RemoteIpSockAddr "10.10.102.40/ 60106";
ingressMediaStream2Security 257;
egressMediaStream2Security 257;
ingressMediaStream2Bandwidth 180;
egressMediaStream2Bandwidth 180;
ingressLocalPort 1024;
ingressRemotePort 60100;
egressLocalPort 1026;
egressRemotePort 60104;
ingressVideoLocalPort 0;
ingressVideoRemotePort 0;
egressVideoLocalPort 0;
egressVideoRemotePort 0;
} |