...
Anchor | ||||
---|---|---|---|---|
|
...
Codec entry allows you to specify the codec used for the call. Create the codec entry for G711Ulaw codec with packet size 20 and rfc2833 method for dtmf.
...
Code Block |
---|
set profiles media codecEntry G711ULAW codec g711 set profiles media codecEntry G711ULAW law ULaw set profiles media codecEntry G711ULAW packetSize 20 set profiles media codecEntry G711ULAW dtmf relay rfc2833 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create a Packet Service Profile (PSP) for the PSTN leg. The PSP is attached to sipTrunkGroup created later in this section.
Code Block |
---|
set profiles media packetServiceProfile PSTN_PSP codec codecEntry1 G711ULAW set profiles media packetServiceProfile PSTN_PSP rtcpOptions rtcp enable commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create an IP Signaling Profile with appropriate signaling flags towards PSTN.
...
Code Block |
---|
set profiles signaling ipSignalingProfile PSTN_IPSP set profiles signaling ipSignalingProfile PSTN_IPSP egressIpAttributes flags disable2806Compliance enable commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create an IP interface group.
...
Code Block |
---|
set addressContext default ipInterfaceGroup LIF1 ipInterface PKT0_V4 ceName ZOOM1 portName pkt0 set addressContext default ipInterfaceGroup LIF1 ipInterface PKT0_V4 ipAddress x.x.x.x prefix Y set addressContext default ipInterfaceGroup LIF1 ipInterface PKT0_V4 mode inService state enabled commit |
Anchor | ||||
---|---|---|---|---|
|
Create Zone towards PSTN and specify the id of the zone.
...
Code Block |
---|
set addressContext default zone PSTN id 2 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Set the SIP Signaling port, which is a logical address used to send and receive SIP call signaling packets and is permanently bound to a specific zone.
...
Code Block |
---|
set addressContext default zone PSTN sipSigPort 3 ipInterfaceGroupName LIF1 set addressContext default zone PSTN sipSigPort 3 ipAddressV4 x.x.x.x set addressContext default zone PSTN sipSigPort 3 portNumber 5060 set addressContext default zone PSTN sipSigPort 3 transportProtocolsAllowed sip-udp set addressContext default zone PSTN sipSigPort 3 mode inService set addressContext default zone PSTN sipSigPort 3 state enabled commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create an IP Peer with the signaling IP address of the PSTN (Service Provider) and assign it to the PSTN Zone.
...
Code Block |
---|
set addressContext default zone PSTN ipPeer PSTN_IPP ipAddress x.x.x.x set addressContext default zone PSTN ipPeer PSTN_IPP ipPort 5060 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create a SIP Trunk Group towards the PSTN and assign corresponding profiles like LRBT, PSP, IPSP created in earlier steps.
...
Code Block |
---|
set addressContext default zone PSTN sipTrunkGroup PSTN_TG media mediaIpInterfaceGroupName LIF1 set addressContext default zone PSTN sipTrunkGroup PSTN_TG mode inService state enabled commit set addressContext default zone PSTN sipTrunkGroup PSTN_TG policy signaling ipSignalingProfile PSTN_IPSP set addressContext default zone PSTN sipTrunkGroup PSTN_TG policy media packetServiceProfile PSTN_PSP set addressContext default zone PSTN sipTrunkGroup PSTN_TG policy media toneAndAnnouncementProfile LRBT_PROF set addressContext default zone PSTN sipTrunkGroup PSTN_TG ingressIpPrefix 0.0.0.0 0 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create a Routing Label with a single Routing Label Route to bind the PSTN Trunk Group with the PSTN IP Peer.
Code Block |
---|
set global callRouting routingLabel PSTN_RL routingLabelRoute 1 trunkGroup PSTN_TG set global callRouting routingLabel PSTN_RL routingLabelRoute 1 ipPeer PSTN_IPP set global callRouting routingLabel PSTN_RL routingLabelRoute 1 inService inService commit |
Anchor | ||||
---|---|---|---|---|
|
...
This entry is used to route all the calls coming from PSTN towards ZOOM endpoints.
...
Anchor | ||||
---|---|---|---|---|
|
...
Codec entry allows you to specify the codec used for the call. Create the codec entry for G711Ulaw codec with packet size 20 and rfc2833 method for dtmf.
...
Code Block |
---|
set profiles media codecEntry G711_Zoom codec g711 set profiles media codecEntry G711_Zoom law ULaw set profiles media codecEntry G711_Zoom packetSize 20 set profiles media codecEntry G711_Zoom dtmf relay rfc2833 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create a Packet Service Profile (PSP) for the Zoom leg. The PSP is attached to the sipTrunkGroup that is created later in this section.
...
Code Block |
---|
set profiles media packetServiceProfile ZOOM_PSP codec codecEntry1 G711_Zoom set profiles media packetServiceProfile ZOOM_PSP rtcpOptions rtcp enable set profiles media packetServiceProfile ZOOM_PSP secureRtpRtcp cryptoSuiteProfile CRYPT_PROF set profiles media packetServiceProfile ZOOM_PSP secureRtpRtcp flags allowFallback enable set profiles media packetServiceProfile ZOOM_PSP secureRtpRtcp flags enableSrtp enable commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create an IP Signaling Profile with appropriate signaling flags towards Zoom.
...
Code Block |
---|
set profiles signaling ipSignalingProfile ZOOM_IPSP set profiles signaling ipSignalingProfile ZOOM_IPSP egressIpAttributes flags disable2806Compliance enable set profiles signaling ipSignalingProfile ZOOM_IPSP egressIpAttributes numberGlobalizationProfile DEFAULT_IP set profiles signaling ipSignalingProfile ZOOM_IPSP egressIpAttributes transport type1 tlsOverTcp commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create an IP interface group.
...
Code Block |
---|
set addressContext default ipInterfaceGroup LIF2 ipInterface PKT1_V4 ceName ZOOM1 portName pkt1 set addressContext default ipInterfaceGroup LIF2 ipInterface PKT1_V4 ipAddress x.x.x.x prefix Y set addressContext default ipInterfaceGroup LIF2 ipInterface PKT1_V4 mode inService state enabled commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create a Zone towards Zoom and specify the id of the zone.
...
Code Block |
---|
set addressContext default zone ZOOM id 6 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Set the SIP Signaling port, which is a logical address used to send and receive SIP call signaling packets and is permanently bound to a specific zone.
...
Warning |
---|
There are a few areas that result in a TLS negotiation issue. One area involves assigning the incorrect port. Ensure the following are accomplished:
|
Anchor | ||||
---|---|---|---|---|
|
...
Create an IP Peer with the signaling IP address of ZOOM and assign it to ZOOM Zone.
...
Code Block |
---|
set profiles services pathCheckProfile ZOOM_OPTIONS protocol sipOptions sendInterval 20 replyTimeoutCount 1 recoveryCount 1 set profiles services pathCheckProfile ZOOM_OPTIONS transportPreference preference1 tls-tcp commit |
Anchor | ||||
---|---|---|---|---|
|
...
...
Create a SIP Trunk Group towards ZOOM and assign corresponding profiles like LRBT, PSP, IPSP that were created in earlier steps.
...
Code Block |
---|
set addressContext default zone ZOOM sipTrunkGroup ZOOM_TG media mediaIpInterfaceGroupName LIF2 set addressContext default zone ZOOM sipTrunkGroup ZOOM_TG mode inService state enabled commit set addressContext default zone ZOOM sipTrunkGroup ZOOM_TG policy signaling ipSignalingProfile ZOOM_IPSP set addressContext default zone ZOOM sipTrunkGroup ZOOM_TG policy media packetServiceProfile ZOOM_PSP set addressContext default zone ZOOM sipTrunkGroup ZOOM_TG policy media toneAndAnnouncementProfile LRBT_PROF set addressContext default zone ZOOM sipTrunkGroup ZOOM_TG ingressIpPrefix 0.0.0.0 0 commit |
Anchor | ||||
---|---|---|---|---|
|
...
Create a Routing Label with a single Routing Label Route to bind the ZOOM Trunk Group with the ZOOM IP Peer.
Code Block |
---|
set global callRouting routingLabel ZOOM_RL routingLabelRoute 1 trunkGroup ZOOM_TG set global callRouting routingLabel ZOOM_RL routingLabelRoute 1 ipPeer ZOOM_IPP set global callRouting routingLabel ZOOM_RL routingLabelRoute 1 inService inService commit |
Anchor | ||||
---|---|---|---|---|
|
...
This entry is used to route all the calls coming from Zoom towards PSTN endpoints.
...