...
...
...
Back to Table of Contents
Back to Configuring Video Best Practices
The following is an example of how to configure a basic SIP-SIP Video call using CLI commands.
Include Page |
---|
| IP_IGs_ServedBySeperateProcessors |
---|
| IP_IGs_ServedBySeperateProcessors |
---|
|
Configuring Basic SIP-SIP Video Call
Configure Address Context and IP Interface Group
Code Block |
---|
|
% set addressContext default ipInterfaceGroup LIG1 ipInterface LIF1 ceName SBC01 portName pkt0 ipAddress 10.20.30.40 prefix 24 altIpAddress fd00:10:6b50:4140::b4 altPrefix 60
% set addressContext default ipInterfaceGroup LIG1 ipInterface LIF1 mode inService state enabled
% commit
% set addressContext default ipInterfaceGroup LIG2 ipInterface LIF2 ceName SBC01 portName pkt1 ipAddress 10.20.31.40 prefix 24 altIpAddress fd00:10:6b50:4150::b5 altPrefix 60
% set addressContext default ipInterfaceGroup LIG2 ipInterface LIF2 mode inService state enabled
% commit |
Code Block |
---|
|
% set addressContext default zone ZONE_IAD id 2 sipSigPort 1 ipInterfaceGroupName LIG1 ipAddressV4 10.20.30.41 ipAddressV6 fd00:10:6b50:4140::b5 portNumber 5060 transportProtocolsAllowed sip-udp, sip-tcp state enabled
% commit
% set addressContext default zone ZONE_AS id 3 sipSigPort 2 ipInterfaceGroupName LIG2 ipAddressV4 10.20.31.41 ipAddressV6 fd00:10:6b50:4150::b6 portNumber 5060 transportProtocolsAllowed sip-udp, sip-tcp state enabled
% commit |
Code Block |
---|
|
% set addressContext default staticRoute 10.11.12.13 32 10.20.30.1 LIG1 LIF1 preference 100
% commit
% set addressContext default staticRoute 10.11.12.13 32 10.20.31.1 LIG2 LIF2 preference 100
% commit |
Code Block |
---|
|
% set addressContext default zone ZONE_IAD sipTrunkGroup TG_SIPART_IAD mode inService state enabled media mediaIpInterfaceGroupName LIG1
% set addressContext default zone ZONE_IAD sipTrunkGroup TG_SIPART_IAD ingressIpPrefix 10.0.0.0 8
% commit
% set addressContext default zone ZONE_AS sipTrunkGroup TG_SIPART_AS mode inService state enabled media mediaIpInterfaceGroupName LIG2
% set addressContext default zone ZONE_AS sipTrunkGroup TG_SIPART_AS ingressIpPrefix 10.0.0.0 8
% commit |
Configuring IP Peer
Code Block |
---|
|
% set addressContext default zone ZONE_IAD ipPeer PEER_IAD ipAddress 10.11.12.13 ipPort 7080
% commit
% set addressContext default zone ZONE_AS ipPeer PEER_AS ipAddress 10.11.12.13 ipPort 4582
% commit
|
Routing Label
Code Block |
---|
|
% set global callRouting routingLabel TOIAD_RL routingLabelRoute 1 ipPeer PEER_IAD trunkGroup TG_SIPART_IAD inService inService
% commit
% set global callRouting routingLabel TOAS_RL routingLabelRoute 1 ipPeer PEER_AS trunkGroup TG_SIPART_AS inService inService
% commit |
Standard Route
Code Block |
---|
|
% set global callRouting route trunkGroup TG_SIPART_IAD SBC01 standard SONUS_NULL 1 all all ALL none Sonus_NULL routingLabel TOAS_RL
% commit
% set global callRouting route trunkGroup TG_SIPART_AS SBC01 standard SONUS_NULL 1 all all ALL none Sonus_NULL routingLabel TOIAD_RL
% commit |
Code Block |
---|
|
% set profiles media codecEntry G711u codec g711 law ULaw
% set profiles media codecEntry G711a codec g711 law ULaw
% commit |
Code Block |
---|
|
% set profiles media packetServiceProfile INGRESS codec codecEntry1 G711u
% set profiles media packetServiceProfile EGRESS codec codecEntry1 G711u
% commit |
Assign Packet Service Profile to the SIP Trunk Group
Code Block |
---|
|
% set addressContext default zone ZONE_IAD sipTrunkGroup TG_SIPART_IAD policy media packetServiceProfile INGRESS
% set addressContext default zone ZONE_IAD sipTrunkGroup TG_SIPART_AS policy media packetServiceProfile EGRESS
% commit |
Allocate Video Bandwidth for SIP -SIP Video Call
Code Block |
---|
|
% set profiles media packetServiceProfile INGRESS videoCalls maxVideoBandwith 2000
% set profiles media packetServiceProfile EGRESS videoCalls maxVideoBandwith 2000
% commit |
Viewing Basic SIP-SIP Video Call Configuration
Code Block |
---|
|
admin@SBC01> show status global callMediaStatus
callMediaStatus 17563654 {
mediaStreamsInCall audio,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 0;
egressRFactorOutbound 0;
mediaStream1Label audio;
mediaStream1Codec G711;
ingressMediaStream1PacketsSent 0;
ingressMediaStream1PacketsReceived 403;
ingressMediaStream1OctetsSent 0;
ingressMediaStream1OctetsReceived 69316;
ingressMediaStream1PacketsLost 0;
ingressMediaStream1PacketsDiscarded 35;
ingressMediaStream1PacketLatency 0;
ingressMediaStream1InterarrivalJitter 2;
egressMediaStream1PacketsSent 403;
egressMediaStream1PacketsReceived 0;
egressMediaStream1OctetsSent 81406;
egressMediaStream1OctetsReceived 0;
egressMediaStream1PacketsLost 0;
egressMediaStream1PacketsDiscarded 0;
egressMediaStream1PacketLatency 0;
egressMediaStream1InterarrivalJitter 0;
mediaStream2Label video;
mediaStream2Codec H263;
ingressMediaStream2PacketsSent 0;
ingressMediaStream2PacketsReceived 424;
ingressMediaStream2OctetsSent 0;
ingressMediaStream2OctetsReceived 355707;
ingressMediaStream2PacketsLost 0;
ingressMediaStream2PacketsDiscarded 35;
ingressMediaStream2PacketLatency 0;
ingressMediaStream2InterarrivalJitter 206;
egressMediaStream2PacketsSent 424;
egressMediaStream2PacketsReceived 0;
egressMediaStream2OctetsSent 368427;
egressMediaStream2OctetsReceived 0;
egressMediaStream2PacketsLost 0;
egressMediaStream2PacketsDiscarded 0;
egressMediaStream2PacketLatency 0;
egressMediaStream2InterarrivalJitter 0;
} |
Show Call Detail Status
Code Block |
---|
|
admin@MAPPLE> show status global callDetailStatus
callDetailStatus 2 {
mediaStreams audio,video;
state Stable;
callingNumber 9867895358;
calledNumber 9867895749;
addressTransPerformed none;
origCalledNum "";
scenarioType SIP_TO_SIP;
callDuration 2;
mediaType passthru;
associatedGcid1 2;
associatedGcid2 2;
associatedGcidLegId1 0;
associatedGcidLegId2 1;
ingressMediaStream1LocalIpSockAddr "10.54.20.179/ 1032";
ingressMediaStream1RemoteIpSockAddr "10.54.80.8/ 24032";
egressMediaStream1LocalIpSockAddr "10.54.21.179/ 1028";
egressMediaStream1RemoteIpSockAddr "10.54.80.8/ 23032";
ingressMediaStream1Security "rtp-disabled rtcp-disabled";
egressMediaStream1Security "rtp-disabled rtcp-disabled";
ingressMediaStream1Bandwidth 127;
egressMediaStream1Bandwidth 127;
ingressMediaStream2LocalIpSockAddr "10.54.20.179/ 1034";
ingressMediaStream2RemoteIpSockAddr "10.54.80.8/ 24034";
egressMediaStream2LocalIpSockAddr "10.54.21.179/ 1030";
egressMediaStream2RemoteIpSockAddr "10.54.80.8/ 23034";
ingressMediaStream2Security "rtp-disabled rtcp-disabled";
egressMediaStream2Security "rtp-disabled rtcp-disabled";
ingressMediaStream2Bandwidth 2000;
egressMediaStream2Bandwidth 2000;
} |
Configuring BFCP Video Call
Configure Address Context and IP Interface Group
Code Block |
---|
|
% set addressContext a1 ipInterfaceGroup LIF1 ipInterface LIF1_v4 ceName MALLANI portName pkt0 ipAddress 10.54.8.36 prefix 24 altIpAddress fd00:10:6b50:4080::12 altPrefix 60
% set addressContext a1 ipInterfaceGroup LIF1 ipInterface LIF1_v4 mode inService state enabled
% commit
% set addressContext a1 ipInterfaceGroup LIF2 ipInterface LIF2_v4 ceName MALLANI portName pkt1 ipAddress 10.54.9.36 prefix 24 altIpAddress fd00:10:6b50:4090::12 altPrefix 60
% set addressContext a1 ipInterfaceGroup LIF2 ipInterface LIF2_v4 mode inService state enabled
% commit |
Code Block |
---|
|
% set addressContext a1 zone INTERNAL id 1001 sipSigPort 3 ipInterfaceGroupName LIF1 ipAddressV4 10.54.8.37 ipAddressV6 fd00:10:6b50:4080::13 portNumber 5060 transportProtocolsAllowed sip-udp, sip-tcp mode inService state enabled
% commit
% set addressContext a1 zone EXTERNAL id 1002 sipSigPort 2 ipInterfaceGroupName LIF2 ipAddressV4 10.54.9.37 ipAddressV6 fd00:10:6b50:4090::13 portNumber 5060 transportProtocolsAllowed sip-udp, sip-tcp mode inService state enabled
% commit |
Code Block |
---|
|
% set addressContext a1 staticRoute 10.54.80.8 32 10.54.8.1 LIF1 LIF1_v4 preference 100
% commit
% set addressContext a1 staticRoute 10.54.80.8 32 10.54.9.1 LIF2 LIF2_v4 preference 100
% commit |
Code Block |
---|
|
% set addressContext a1 zone INTERNAL sipTrunkGroup IPTG_TRUSTED media mediaIpInterfaceGroupName LIF1 mode inService state enabled
% set addressContext a1 zone INTERNAL sipTrunkGroup IPTG_TRUSTED ingressIpPrefix 10.54.80.8 32
% commit
% set addressContext a1 zone EXTERNAL sipTrunkGroup IPTG_UNTRUSTED media mediaIpInterfaceGroupName LIF2 mode inService state enabled
% set addressContext a1 zone EXTERNAL sipTrunkGroup IPTG_UNTRUSTED ingressIpPrefix 10.54.80.8 32
% commit |
Code Block |
---|
|
% set addressContext a1 zone INTERNAL ipPeer PEER_TRUSTED ipAddress 10.54.80.8 ipPort 5586
% commit
% set addressContext a1 zone EXTERNAL ipPeer PEER_UNTRUSTED ipAddress 10.54.80.8 ipPort 5885
% commit
|
Routing Label
Code Block |
---|
|
% set global callRouting routingLabel RL_TRUSTED routingLabelRoute 1 ipPeer PEER_TRUSTED trunkGroup IPTG_TRUSTED inService inService
% commit
% set global callRouting routingLabel RL_UNTRUSTED routingLabelRoute 1 ipPeer PEER_UNTRUSTED trunkGroup IPTG_UNTRUSTED inService inService
% commit |
Standard Route
Code Block |
---|
|
% set global callRouting route none Sonus_NULL Sonus_NULL standard 9886578022 1 all all ALL none Sonus_NULL routingLabel RL_TRUSTED
% commit
% set global callRouting route none Sonus_NULL Sonus_NULL standard 9738526138 1 all all ALL none Sonus_NULL routingLabel RL_UNTRUSTED
% commit |
Code Block |
---|
|
% set profiles media codecEntry G711u codec g711 law ULaw
% set profiles media codecEntry G711a codec g711 law ULaw
% commit |
Code Block |
---|
|
% set profiles media packetServiceProfile BFCP_IN_PSP codec codecEntry1 G711-DEFAULT
% set profiles media packetServiceProfile BFCP_OUT_PSP codec codecEntry1 G711-DEFAULT
% commit |
Assign Packet Service Profile to the SIP Trunk Group
Code Block |
---|
|
% set addressContext a1 zone INTERNAL sipTrunkGroup IPTG_TRUSTED policy media packetServiceProfile BFCP_IN_PSP
% set addressContext a1 zone EXTERNAL sipTrunkGroup IPTG_UNTRUSTED policy media packetServiceProfile BFCP_OUT_PSP
% commit |
Allocate Bandwidth for BFCP Video Call
Code Block |
---|
|
% set profiles media packetServiceProfile BFCP_IN_PSP videoCalls maxVideoBandwith 100
% set profiles media packetServiceProfile BFCP_OUT_PSP videoCalls maxVideoBandwith 100
% commit |
Viewing BFCP Video Call Configuration
Code Block |
---|
|
admin@MALLANI> show status global callMediaStatus
callMediaStatus 786445 {
mediaStreamsInCall audio,TCP/BFCP,video,video;
ingressMacHeader 78-E3-B5-EC-65-00;
egressMacHeader 78-E3-B5-EC-65-00;
ingressBearerType voice;
egressBearerType voice;
ingressCfgAudioType G711;
egressCfgAudioType G711;
ingressActAudioType g711ulaw;
egressActAudioType g711ulaw;
ingressRemPacketsLost 0;
ingressRFactorInbound 93;
ingressRFactorOutbound 93;
egressRemPacketsLost 0;
egressRFactorInbound 0;
egressRFactorOutbound 0;
mediaStream1Label audio;
mediaStream1Codec G711;
ingressMediaStream1PacketsSent 0;
ingressMediaStream1PacketsReceived 0;
ingressMediaStream1OctetsSent 0;
ingressMediaStream1OctetsReceived 0;
ingressMediaStream1PacketsLost 0;
ingressMediaStream1PacketsDiscarded 0;
ingressMediaStream1PacketLatency 0;
ingressMediaStream1InterarrivalJitter 0;
egressMediaStream1PacketsSent 0;
egressMediaStream1PacketsReceived 0;
egressMediaStream1OctetsSent 0;
egressMediaStream1OctetsReceived 0;
egressMediaStream1PacketsLost 0;
egressMediaStream1PacketsDiscarded 0;
egressMediaStream1PacketLatency 0;
egressMediaStream1InterarrivalJitter 0;
mediaStream2Label TCP/BFCP;
ingressMediaStream2OctetsSent 170;
ingressMediaStream2OctetsReceived 170;
egressMediaStream2OctetsSent 170;
egressMediaStream2OctetsReceived 170;
egressMediaStream2TcpRole client;
ingressMediaStream2TcpRole server;
mediaStream3Label video;
mediaStream3Codec H264;
ingressMediaStream3PacketsSent 0;
ingressMediaStream3PacketsReceived 0;
ingressMediaStream3OctetsSent 0;
ingressMediaStream3OctetsReceived 0;
ingressMediaStream3PacketsLost 0;
ingressMediaStream3PacketsDiscarded 0;
ingressMediaStream3PacketLatency 0;
ingressMediaStream3InterarrivalJitter 0;
egressMediaStream3PacketsSent 0;
egressMediaStream3OctetsSent 0;
egressMediaStream3OctetsReceived 0;
egressMediaStream3PacketsLost 0;
egressMediaStream3PacketsDiscarded 0;
egressMediaStream3PacketLatency 0;
egressMediaStream3InterarrivalJitter 0;
mediaStream4Label video;
mediaStream4Codec H264;
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;
} |
Show Call Detail Status
Code Block |
---|
|
admin@MALLANI> show status global callDetailStatus
callDetailStatus 524309 {
mediaStreams audio,TCP/BFCP,video,video;
state Stable;
callingNumber 6033317777;
calledNumber 9738526138;
addressTransPerformed none;
origCalledNum "";
scenarioType SIP_TO_SIP;
callDuration 3;
mediaType passthru;
associatedGcid1 524309;
associatedGcid2 524309;
associatedGcidLegId1 0;
associatedGcidLegId2 1;
ingressMediaStream1LocalIpSockAddr "10.54.8.36/ 1312";
ingressMediaStream1RemoteIpSockAddr "10.54.80.8/ 6004";
egressMediaStream1LocalIpSockAddr "10.54.9.36/ 1328";
egressMediaStream1RemoteIpSockAddr "10.54.80.8/ 6001";
ingressMediaStream1Security "rtp-disabled rtcp-disabled";
egressMediaStream1Security "rtp-disabled rtcp-disabled";
ingressMediaStream1Bandwidth 127;
egressMediaStream1Bandwidth 127;
ingressMediaStream2LocalIpSockAddr "10.54.8.36/ 2000";
ingressMediaStream2RemoteIpSockAddr "10.54.80.8/ 55003";
egressMediaStream2LocalIpSockAddr "10.54.9.36/ 2049";
egressMediaStream2RemoteIpSockAddr "10.54.80.8/ 55001";
ingressMediaStream3LocalIpSockAddr "10.54.8.36/ 1314";
ingressMediaStream3RemoteIpSockAddr "10.54.80.8/ 3230";
egressMediaStream3LocalIpSockAddr "10.54.9.36/ 1330";
egressMediaStream3RemoteIpSockAddr "10.54.80.8/ 3254";
ingressMediaStream3Security "rtp-disabled rtcp-disabled";
egressMediaStream3Security "rtp-disabled rtcp-disabled";
ingressMediaStream3Bandwidth 100;
egressMediaStream3Bandwidth 100;
ingressMediaStream4LocalIpSockAddr "10.54.8.36/ 1316";
ingressMediaStream4RemoteIpSockAddr "10.54.80.8/ 3234";
egressMediaStream4LocalIpSockAddr "10.54.9.36/ 1332";
egressMediaStream4RemoteIpSockAddr "10.54.80.8/ 3258";
ingressMediaStream4Security "rtp-disabled rtcp-disabled";
egressMediaStream4Security "rtp-disabled rtcp-disabled";
ingressMediaStream4Bandwidth 100;
egressMediaStream4Bandwidth 100;
} |