SmartWare Software Configuration Guide

31 • CS context overview

 

 

node(rt-tab)[HUNT-PU~]#cyclic

node(rt-tab)[HUNT-PU~]#route call 1 dest-interface IF-PUBLIC-PSTN1 node(rt-tab)[HUNT-PU~]#route call 2 dest-interface IF-PUBLIC-PSTN2 node(rt-tab)[HUNT-PU~]#exit

node(ctx-cs)[switch]#exit node(cfg)#

Configuring VoIP settings

Because we need G.723 as codec we enable DTMF relay:

node(cfg)#profile voip H323-VOIP-PROFILE node(pf-voip)[H323-VO~]#codec 1 g723-6k3 node(pf-voip)[H323-VO~]#dtmf-relay node(pf-voip)[H323-VO~]#exit node(cfg)#

We want to use this profile on our H.323 interfaces:

node(cfg)#context cs node(ctx-cs)[switch]#interface h323 IF-COMPOFF-A

node(if-h323)[IF-COMP~]#use profile voip H323-VOIP-PROFILE node(if-h323)[IF-COMP~]#exit node(ctx-cs)[switch]#interface h323 IF-COMPOFF-B node(if-h323)[IF-COMP~]#use profile voip H323-VOIP-PROFILE node(if-h323)[IF-COMP~]#exit

node(cfg)#

Configuring BRI ports

Next step is to configure the BRI ports and to bind the ports to the ISDN interfaces. We configure the layer 2

(Q.921) to use point-to-point mode and layer 3 (Q.931) for user or net operation mode:

node(cfg)#port bri 2 0 node(prt-bri)[2/0]#q921 node(q921)[2/0]#protocol pp node(q921)[2/0]#q931 node(q931)[2/0]#uni-side net node(q931)[2/0]#encapsulation cc-isdn node(q931)[2/0]#bind interface IF-PBX1 node(q931)[2/0]#exit node(q921)[2/0]#exit node(prt-bri)[2/0]#no shutdown node(cfg)#port bri 2 1 node(prt-bri)[2/1]#q921 node(q921)[2/1]#protocol pp node(q921)[2/1]#q931 node(q931)[2/1]#uni-side net node(q931)[2/1]#encapsulation cc-isdn node(q931)[2/1]#bind interface IF-PBX1 node(q931)[2/1]#exit node(q921)[2/1]#exit node(prt-bri)[2/1]#no shutdown node(cfg)#port bri 2 2 node(prt-bri)[2/2]#q921 node(q921)[2/2]#protocol pp node(q921)[2/2]#q931

Activating CS context configuration

355

Page 355
Image 355
Patton electronic SmartNode 4110 Series Configuring VoIP settings, Because we need G.723 as codec we enable Dtmf relay