Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Noprint
Panel
borderColorgreen
bgColortransparent
borderWidth2

Back to Table of Contents

Back to Configuring Video Best Practices

...

Panel

In this section:

Table of Contents
maxLevel3

Configuring Basic SIP-H323 Video Call Using CLI

Configure Address Context and IP Interface Group

Code Block
languagenone
set addressContext default ipInterfaceGroup LIF1 ipInterface pkt_a_v4v6 ceName WFDSBC01a portName pkt0 ipAddress 10.54.154.30 prefix 24 
set addressContext default ipInterfaceGroup LIF1 ipInterface pkt_a_v4v6 mode inService state enabled
commit

set addressContext default ipInterfaceGroup LIF2 ipInterface pkt_b_v4v6 ceName WFDSBC01a portName pkt1 ipAddress 10.54.155.30 prefix 24
set addressContext default ipInterfaceGroup LIF2 ipInterface pkt_b_v4v6 mode inService state enabled
commit 

Configure Zone and H323/SIP Signaling Port

Code Block
languagenone
set addressContext default zone ZONE1 id 3 h323SigPort 1001 ipInterfaceGroupName LIF1 h245IpAddress 10.54.154.31 h225IpAddress 10.54.154.31 portNumber 1720 mode inService state enabled
commit

set addressContext default zone ZONE1 id 3 sipSigPort 1001 ipInterfaceGroupName LIF1 ipAddressV4 10.54.154.31 portNumber 5060 transportProtocolsAllowed sip-sctp, sip-tcp, sip-tls-tcp, sip-udp mode inService state enabled
commit

set addressContext default zone ZONE2 id 4 h323SigPort 1002 ipInterfaceGroupName LIF2 h245IpAddress 10.54.155.31 h225IpAddress 10.54.155.31 portNumber 1720 mode inService state enabled
commit

set addressContext default zone ZONE2 id 4 sipSigPort 1002 ipInterfaceGroupName LIF2 ipAddressV4 10.54.155.31 portNumber 5060 transportProtocolsAllowed sip-sctp, sip-tcp, sip-tls-tcp, sip-udp mode inService state enabled
commit

Configure H323 and SIP Trunk Group

Code Block
languagenone
Ingress:
set addressContext default zone ZONE1 h323TrunkGroup TG_H323_INT mode inService state enabled media mediaIpInterfaceGroupName LIF1
set addressContext default zone ZONE1 h323TrunkGroup TG_H323_INT ingressIpPrefix 10.0.0.0 8
commit

set addressContext default zone ZONE1 sipTrunkGroup TG_SIP_INT mode inService state enabled media mediaIpInterfaceGroupName LIF1
set addressContext default zone ZONE1 sipTrunkGroup TG_SIP_INT ingressIpPrefix 10.0.0.0 8
commit


Egress:
set addressContext default zone ZONE2 h323TrunkGroup TG_H323_EXT mode inService state enabled media mediaIpInterfaceGroupName LIF2
set addressContext default zone ZONE2 h323TrunkGroup TG_H323_EXT ingressIpPrefix 10.0.0.0 8
commit

set addressContext default zone ZONE2 sipTrunkGroup TG_SIP_EXT mode inService state enabled media mediaIpInterfaceGroupName LIF2
set addressContext default zone ZONE2 sipTrunkGroup TG_SIP_EXT ingressIpPrefix 10.0.0.0 8
commit

Configure SIP Trunk Group BFCP Re-Transmission Timers

If necessary configure request and response retransmission timers. Defaults are shown in example below.

Code Block
languagenone
set addressContext default zone ZONE_AS sipTrunkGroup TG_AS signaling timers bfcpTimer reqTimerT1 500
set addressContext default zone ZONE_AS sipTrunkGroup TG_AS signaling timers bfcpTimer respTimerT2 10000
commit

Configure IP Peer

Code Block
languagenone
set addressContext default zone ZONE2 ipPeer PEER_EP2V4_H323 ipAddress 10.70.56.84 ipPort 1720
commit
set addressContext default zone ZONE2 ipPeer PEER_EP2V4_SIP ipAddress 10.70.56.84 ipPort 5060
commit
yes

set addressContext default zone ZONE1 ipPeer PEER_EP1V4_H323 ipAddress 10.70.56.24 ipPort 1720
commit
set addressContext default zone ZONE1 ipPeer PEER_EP1V4_SIP ipAddress 10.70.56.24 ipPort 5060
commit
yes

Configure Call Routing

Routing Label 

Code Block
languagenone
set global callRouting routingLabel RL_EP2_H323 routingLabelRoute 1 trunkGroup TG_H323_EXT ipPeer PEER_EP2V4_H323 inService inService
commit
set global callRouting routingLabel RL_EP2_SIP routingLabelRoute 1 trunkGroup TG_SIP_EXT ipPeer PEER_EP2V4_SIP inService inService
commit


set global callRouting routingLabel RL_EP1_H323 routingLabelRoute 1 trunkGroup TG_H323_INT ipPeer PEER_EP1V4_H323 inService inService
commit
set global callRouting routingLabel RL_EP1_SIP routingLabelRoute 1 trunkGroup TG_SIP_INT ipPeer PEER_EP1V4_SIP inService inService
commit

Standard Route

Code Block
languagenone
set global callRouting route none Sonus_NULL Sonus_NULL standard 9867895749 1 all all ALL none Sonus_NULL routingLabel RL_EP2_H323
commit
set global callRouting route none Sonus_NULL Sonus_NULL standard 9867895358 1 all all ALL none Sonus_NULL routingLabel RL_EP2_SIP
commit
set global callRouting route none Sonus_NULL Sonus_NULL standard 9867895555 1 all all ALL none Sonus_NULL routingLabel RL_EP1_H323
commit
set global callRouting route none Sonus_NULL Sonus_NULL standard 9867896666 1 all all ALL none Sonus_NULL routingLabel RL_EP1_SIP
commit

Configure Codec Entries

Code Block
languagenone
set profiles media codecEntry G711u codec g711 law ULaw
set profiles media codecEntry G711u packetSize 40
commit

set profiles media codecEntry G711a codec g711 law ALaw
set profiles media codecEntry G711a packetSize 40
commit

Configure Packet Service Profile

Code Block
languagenone
set profiles media packetServiceProfile INGRESS codec codecEntry1 G711u codecEntry2 G711a codecEntry3 G729A-DEFAULT
set profiles media packetServiceProfile EGRESS codec codecEntry1 G711u codecEntry2 G711a codecEntry3 G729A-DEFAULT
commit

Assign Packet Service Profile to SIP and H323 Trunk Group

Code Block
languagenone
set addressContext default zone ZONE1 h323TrunkGroup TG_H323_INT policy media packetServiceProfile INGRESS
set addressContext default zone ZONE1 sipTrunkGroup TG_SIP_INT policy media packetServiceProfile INGRESS
commit

set addressContext default zone ZONE2 h323TrunkGroup TG_H323_EXT policy media packetServiceProfile EGRESS
set addressContext default zone ZONE2 sipTrunkGroup TG_SIP_EXT policy media packetServiceProfile EGRESS
commit

Allocate Video Bandwidth for SIP-H323 Video Call

Code Block
languagenone
set profiles media packetServiceProfile INGRESS videoCalls maxVideoBandwidth 2048
set profiles media packetServiceProfile EGRESS videoCalls maxVideoBandwidth 2048
commit

Viewing the Results 

View Call Detail Status

Code Block
languagenone
> show status global callDetailStatus
callDetailStatus 524288 {
    mediaStreams                        audio,video,UDP/BFCP,FECC,video;
   	state                               Stable;
    callingNumber                       "";
    calledNumber                        9867895749;
    addressTransPerformed               none;
    origCalledNum                       "";
    scenarioType                        SIP_TO_H323;
    callDuration                        14;
    mediaType                           passthru;
    associatedGcid1                     524288;
    associatedGcid2                     524288;
    associatedGcidLegId1                1;
    associatedGcidLegId2                0;
    ingressMediaStream1LocalIpSockAddr  "10.54.154.30/ 1024";
    ingressMediaStream1RemoteIpSockAddr "10.70.56.24/ 3230";
    egressMediaStream1LocalIpSockAddr   "10.54.155.30/ 1024";
    egressMediaStream1RemoteIpSockAddr  "10.70.56.84/ 3230";
    ingressMediaStream1Security         "rtp-disabled rtcp-disabled";
    egressMediaStream1Security          "rtp-disabled rtcp-disabled";
    ingressMediaStream1Bandwidth        80;
    egressMediaStream1Bandwidth         80;
    ingressMediaStream2LocalIpSockAddr  "10.54.154.30/ 1028";
    ingressMediaStream2RemoteIpSockAddr "10.70.56.24/ 3232";
    egressMediaStream2LocalIpSockAddr   "10.54.155.30/ 1026";
    egressMediaStream2RemoteIpSockAddr  "10.70.56.84/ 3232";

...

Code Block
ingressMediaStream2Security         "rtp-disabled rtcp-disabled";
    egressMediaStream2Security          "rtp-disabled rtcp-disabled";
    ingressMediaStream2Bandwidth        2048;
    egressMediaStream2Bandwidth         2048;
	ingressMediaStream3LocalIpSockAddr  "10.54.154.30/ 1026";
    ingressMediaStream3RemoteIpSockAddr "10.70.56.24/ 3238";
    egressMediaStream3LocalIpSockAddr   "0.0.0.0/ 0";
    egressMediaStream3RemoteIpSockAddr  "0.0.0.0/ 0";
    ingressMediaStream4LocalIpSockAddr  "10.54.154.30/ 1030";
    ingressMediaStream4RemoteIpSockAddr "10.70.56.24/ 3236";
    egressMediaStream4LocalIpSockAddr   "10.54.155.30/ 1028";
    egressMediaStream4RemoteIpSockAddr  "10.70.56.84/ 3236";
    ingressMediaStream4Security         "rtp-disabled rtcp-disabled";
    egressMediaStream4Security          "rtp-disabled rtcp-disabled";
    ingressMediaStream4Bandwidth        7;
    egressMediaStream4Bandwidth         7;
	ingressMediaStream5LocalIpSockAddr  "10.54.154.30/ 1032";
    ingressMediaStream5RemoteIpSockAddr "10.70.56.24/ 3234";
    egressMediaStream5LocalIpSockAddr   "10.54.155.30/ 1030";
    egressMediaStream5RemoteIpSockAddr  "10.70.56.84/ 3234";
    ingressMediaStream5Security         "rtp-disabled rtcp-disabled";
    egressMediaStream5Security          "rtp-disabled rtcp-disabled";
    ingressMediaStream5Bandwidth        2048;
    egressMediaStream5Bandwidth         2048;
}
[ok][2014-07-07 14:47:56]

View Call Media Status

Code Block
languagenone
> show status global callMediaStatus
callMediaStatus 524288 {
    mediaStreamsInCall                    audio,video,UDP/BFCP,FECC,video;
    ingressMacHeader                      B4-99-BA-47-29-00;
    egressMacHeader                       B4-99-BA-47-29-00;
    ingressBearerType                     voice;
    egressBearerType                      voice;
    ingressCfgAudioType                   G711;
    egressCfgAudioType                    G711;
    ingressActAudioType                   g711ulaw;
    egressActAudioType                    g711ulaw;
    ingressRemPacketsLost                 0;
    ingressRFactorInbound                 93;
    ingressRFactorOutbound                93;
    egressRemPacketsLost                  0;
    egressRFactorInbound                  93;
    egressRFactorOutbound                 93;
    mediaStream1Label                     audio;
    mediaStream1Codec                     G711;
    ingressMediaStream1PacketsSent        1044;
    ingressMediaStream1PacketsReceived    1044;
    ingressMediaStream1OctetsSent         210888;
    ingressMediaStream1OctetsReceived     179728;
    ingressMediaStream1PacketsLost        0;
    ingressMediaStream1PacketsDiscarded   0;
    ingressMediaStream1PacketLatency      0;
    ingressMediaStream1InterarrivalJitter 99;
    egressMediaStream1PacketsSent         1044;
    egressMediaStream1PacketsReceived     1044;
    egressMediaStream1OctetsSent          210888;
    egressMediaStream1OctetsReceived      179728;
    egressMediaStream1PacketsLost         0;
    egressMediaStream1PacketsDiscarded    0;
    egressMediaStream1PacketLatency       0;
    egressMediaStream1InterarrivalJitter  98;
    mediaStream2Label                     video;
    mediaStream2Codec                     H264;
    ingressMediaStream2PacketsSent        505;
    ingressMediaStream2PacketsReceived    645;
    ingressMediaStream2OctetsSent         371892;
    ingressMediaStream2OctetsReceived     480973;
    ingressMediaStream2PacketsLost        0;
    ingressMediaStream2PacketsDiscarded   0;
    ingressMediaStream2PacketLatency      0;
    ingressMediaStream2InterarrivalJitter 1352;
    egressMediaStream2PacketsSent         645;
    egressMediaStream2PacketsReceived     505;
    egressMediaStream2OctetsSent          500163;
    egressMediaStream2OctetsReceived      356902;
    egressMediaStream2PacketsLost         0;
    egressMediaStream2PacketsDiscarded    0;
    egressMediaStream2PacketLatency       0;
    egressMediaStream2InterarrivalJitter  132;
	mediaStream3Label                     UDP/BFCP;
    mediaStream3Codec                     H264;
    ingressMediaStream3PacketsSent        4;
    ingressMediaStream3PacketsReceived    4;
    ingressMediaStream3OctetsSent         100;
    ingressMediaStream3OctetsReceived     136;
    egressMediaStream3PacketsSent         0;
    egressMediaStream3PacketsReceived     0;
    egressMediaStream3OctetsSent          0;
   
Code Block
 egressMediaStream3OctetsReceived      0;
    egressMediaStream3TcpRole		      unknown;
    ingressMediaStream3TcpRole			  server;
	mediaStream4Label                     FECC;
    mediaStream4Codec                     "";
    ingressMediaStream4PacketsSent        0;
    ingressMediaStream4PacketsReceived    0;
    ingressMediaStream4OctetsSent         0;
    ingressMediaStream4OctetsReceived     0;
    ingressMediaStream4PacketsLost        0;
    ingressMediaStream4PacketsDiscarded   0;
    ingressMediaStream4PacketLatency      0;
    ingressMediaStream4InterarrivalJitter 0;
    egressMediaStream4PacketsSent         0;
    egressMediaStream4PacketsReceived     0;
    egressMediaStream4OctetsSent          0;
    egressMediaStream4OctetsReceived      0;
    egressMediaStream4PacketsLost         0;
    egressMediaStream4PacketsDiscarded    0;
    egressMediaStream4PacketLatency       0;
    egressMediaStream4InterarrivalJitter  0;
	mediaStream5Label                     video;
    mediaStream5Codec                     H264;
    ingressMediaStream5PacketsSent        3;
    ingressMediaStream5PacketsReceived    3;
    ingressMediaStream5OctetsSent         126;
    ingressMediaStream5OctetsReceived     76;
    ingressMediaStream5PacketsLost        0;
    ingressMediaStream5PacketsDiscarded   0;
    ingressMediaStream5PacketLatency      0;
    ingressMediaStream5InterarrivalJitter 0;
    egressMediaStream5PacketsSent         3;
    egressMediaStream5PacketsReceived     3;
    egressMediaStream5OctetsSent          126;
    egressMediaStream5OctetsReceived      76;
    egressMediaStream5PacketsLost         0;
    egressMediaStream5PacketsDiscarded    0;
    egressMediaStream5PacketLatency       0;
    egressMediaStream5InterarrivalJitter  0;
 }

 

...

Pagebreak