0% found this document useful (0 votes)
192 views17 pages

Commands

The document provides configuration steps for building a basic VoIP network in a lab environment. It includes commands to: 1) Add gateways, media servers, and hosts as network elements; 2) Configure dial plans, policies, and profiles; 3) Add subscribers and assign them to an enterprise; 4) Set up local calling areas and rate centers. The final section shows a call trace validating routing between subscribers in the configured network.

Uploaded by

alaricsa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
192 views17 pages

Commands

The document provides configuration steps for building a basic VoIP network in a lab environment. It includes commands to: 1) Add gateways, media servers, and hosts as network elements; 2) Configure dial plans, policies, and profiles; 3) Add subscribers and assign them to an enterprise; 4) Set up local calling areas and rate centers. The final section shows a call trace validating routing between subscribers in the configured network.

Uploaded by

alaricsa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 17

bwadmin

Pizza2015
ssh as1 (pwd bwadmin)
bwcli
(to cli)
lo

(pwd 123456)

(to as)

(increase level)

AS_CLI/system/licensing>sy;lic;g
>sys;util;call
>as;diag
monitoring report
NS_CLI>vrt +131573
backup
manual - on db
schedule - users,config,db

add
add
add
add
add
add

EricHost18
EricHost18
EricHost18
EricHost18
EricHost18
EricHost18

CallTyping DefaultInst
SubLocation DefaultInst
MediaSrvSel DefaultInst
FarEndRtg DefaultInst
NearEndRtg DefaultInst
SvcCtrRtg alaricdd18

add EricRoute18 CallTyping DefaultInst


add EricRoute18 SubLocation DefaultInst
add EricRoute18 MediaSrvSel DefaultInst
add EricMS18 ms all 1240364 1 99 false OnLine
add EricMS18 192.168.9.18 1 99
add EricGW18 1240364 1 99 routing false OnLine
add EricGW18 192.166.10.18 1 99
add EricStu18 EM 1 9 1 99 routingNE EricGW18
add EricPBX18 hosting NIL_ENTERPRISE NIL_ENTERPRISE DFLT_SITE DFLT_SITE 1 false
OnLine false primarySecondary 1000 ProvisioningCapable false
add EricPBX18 0 192.168.11.18 DualRouting 1 99

Building Network Elements (NE)


Gteways - add NGWZ1 27 (country) 1 99 routing (voip terminaions - host voip term

initations or pstn) false (poling) Online (if offline no routing)


1 6 6
ssh 199.19.192.173
bwadmin Pizza2015
ssh ns3
bwadmin
bwcli
l admin 123456
Lab1
Add GW (RoutingNE)
NS_CLI/System/Device/RoutingNE> add AlaricGW1 27 1 99 routing false OnLine
NS_CLI/System/Device/RoutingNE/Address> add AlaricGW1 AlaricGw1.com 1 99
NS_CLI/System/Device/RoutingNE> add AlaricGW2 27 1 99 routing false OnLine
NS_CLI/System/Device/RoutingNE/Address> add AlaricGW2 AlaricGW2.com 1 99
Addd Media Server (ResourceNE)
NS_CLI/System/Device/ResourceNE> add AlaricMS1 ms all 27 1 99 false OnLine
NS_CLI/System/Device/ResourceNE/Address> add AlaricMS1 AlaricMS1.com 1 99
Add Host (Hosting NE)
NS_CLI/System/Device/HostingNE> add AlaricHost1 hosting NIL_ENTERPRISE NIL_ENTER
PRISE DFLT_SITE DFLT_SITE 1 true OnLine false primarySecondary 1000 Provisioning
Capable false
NS_CLI/System/Device/HostingNE/ADDRESS> add AlaricHost1 0 AlaricHost1.com DualRo
uting 1 99
13 763
Dial Plan
- NDC Table - national dial codes
Call Type - TO,IN,EM
00
00
prefix 3 30 IN 2
10111 10111 exact 5 5 EM 0
011
011
prefix 10 10 TO 1
CallTyping
dest#
national - NDC
e-164 - NDC
Call Screening
Source Rate Centre
Dest Rate Centre
call Indicator
Lab 2
Add Country Code
NS_CLI/System/CallP/CountryCodes> add 763 country13 9 00 0 101 NIL_PROFILE ""
Add national destination code (area code)
NS_CLI/System/CallP/CountryCodes/NDC> add 763 1 2 ndc1-2 8 8 1 "" "" "" ""
Add and Entreprise
NS_CLI/SubscriberMgmt/Enterprise>add Alaric13 profile hosting
Add Group to Enterprise
NS_CLI/SubscriberMgmt/Enterprise/UserGroup> add Alaric13Group bwas enterprise Al
aric13

Add two DN
NS_CLI/SubscriberMgmt/Enterprise/DnUrl> add Alaric13Group bwas dn {763187612345,
13132134321}
Add dial plan name
NS_CLI/System/CallP/CountryCodes/DialPlan> add 763 AlaricCountry init true
Add entries to dial plan
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry> add 763 AlaricCountry
1 1 OA 0 "" "" "Operator Assistance"
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry> add 763 AlaricCountry
xact 3 3 EM 0 "" "" "Emergency"
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry> add 763 AlaricCountry
fix 10 10 TO 1 "" "" "Toll(National)"
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry> add 763 AlaricCountry
xact 3 3 DA 0 "" "" "Directory Assistance"
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry> add 763 AlaricCountry
fix 3 30 IN 2 "" "" "Toll(International)"
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry> add 763 AlaricCountry
x 8 8 LO 0 "" "" "Local"
verify entries
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry>get 763 AlaricCountry

0 0 exact
999 999 e
01 09 pre
411 411 e
00 00 pre
1 9 prefi

Verify call typing


NS_CLI>vtr 763187612345 999
Lab 3
Add Policy
NS_CLI/Policy/SvcCtrRtg> add AlaricDemo true CallTypes EM DA IN
NS_CLI/Policy/MediaSrvSel> add AlaricDemo true CallTypes ALL
Add Profile
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>

add
add
add
add
add
add
add

AlaricSPRO
AlaricSPRO
AlaricSPRO
AlaricSPRO
AlaricSPRO
AlaricSPRO
AlaricSPRO

CallTyping DefaultInst
NearEndRtg DefaultInst
FarEndRtg DefaultInst
CallScreening DefaultInst
SubLocation DefaultInst
MediaSrvSel AlaricDemo
SvcCtrRtg AlaricDemo

Set enterprise to use profile


NS_CLI/SubscriberMgmt/Enterprise>set Alaric13 profile AlaricSPRO
NS_CLI/SubscriberMgmt/Enterprise/UserGroup> get name Alaric13Group bwas
NS_CLI/SubscriberMgmt/Enterprise> get name Alaric13
lab 4
local calling
Two zones single rate center
NS_CLI> sys;callp;country;ndc;zon
NS_CLI/System/CallP/CountryCodes/NDC/Zones> add 763 Alaricz1 Alaricrc1 "Rate Cen
ter 1"
NS_CLI/System/CallP/CountryCodes/NDC/Zones> add 763 Alaricz2 Alaricrc2 "Rate Cen
ter 2"
Two area codes assoc with zone
NS_CLI/System/CallP/CountryCodes/NDC/ >set 763 1 1 zone Alaricz1 rateCenter Alar
icrc1

NS_CLI/System/CallP/CountryCodes/NDC/ >set 763 2 2 zone Alaricz2 rateCenter Alar


icrc2
Local Calling Area ID
NS_CLI/System/CallP/CountryCodes/NDC/LCA> add 763 AlaricLCA ndc {1,2}
Enterprise to use local calling area
NS_CLI/SubscriberMgmt/Enterprise> set Alaric13 lcaid AlaricLCA
Verify
vtr +763187612345 0212345678
NS_CLI> vtr +763187612345 0212345678
---------------------- Validating Translation and Routing --------------------[]

----- Incoming Message -----

[]
INVITE sip:0212345678@ns3 SIP/2.0
To:<sip:0212345678@ns3>
Call-ID:123
CSeq:123 INVITE
Via:SIP/2.0/UDP 127.0.0.1
Remote-Party-ID:<sip:+763187612345@192.168.3.102>
From:<sip:+763187612345@192.168.3.102>
[SIP/] .........................................................................
... [START]
[SIP/]
----- Creating the Verification Session ----[SIP/Session/] .................................................................
... [START]
[SIP/Session/] Call not from a Routing NE (from lookup of 127.0.0.1)
[SIP/Session/] Call not a proxy IMS call
[SIP/Session/] Originator taken from: Remote-Party-ID header
[SIP/Session/] FROM E164 is now: +763-1-87612345 (dn, valid)
[SIP/Session/] TO E164 is now: --0212345678 (dn, not valid)
[SIP/Session/] No Content in SIP message.
[SIP/Session/] Get Profile for DN: 763187612345
[SIP/Session/] Using country code: 763 [country code of calling DN 763187612345]
[SIP/Session/]
----- Info DN #1 ----[SIP/Session/] (DN, Group, Network Element, SP, Enterprise, IntraLata, InterLata
, International)
[SIP/Session/]
(763187612345, Alaric13Group, bwas, SystemSP, Alaric13, 0,
0, 0)
[SIP/Session/] Enterprise (SP, Name, IntraLata, InterLata, International, Profil
e)
[SIP/Session/]
(SystemSP, Alaric13, 0, 0, 0, AlaricSPRO)
[SIP/Session/] Site (SP, Ent, Site, Source ID, Profile)
[SIP/Session/]
(SystemSP, Alaric13, DFLT_SITE, , NIL_PROFILE)
[SIP/Session/] Using LCA from enterprise. LCA Id: AlaricLCA
[SIP/Session/]
----- Policies for Enterprise: Alaric13 ----[SIP/Session/] List of private and public policies for this enterprise:
[SIP/Session/]
----- Public policies in Profile: AlaricSPRO ----[SIP/Session/] List of policy instances for this profile:
[SIP/Session/] 1) CallTyping
DefaultInst

[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]

2)
3)
4)
5)
6)
7)

NearEndRtg
FarEndRtg
SubLocation
MediaSrvSel
SvcCtrRtg
CallScreening
----- Policies

DefaultInst
DefaultInst
DefaultInst
AlaricDemo
AlaricDemo
DefaultInst
in order of execution -----

[SIP/Session/] 1) CallTyping
DefaultInst
[SIP/Session/] 2) MediaSrvSel
AlaricDemo
[SIP/Session/] 3) SubLocation
DefaultInst
[SIP/Session/] 4) CallScreening
DefaultInst
[SIP/Session/] 5) SvcCtrRtg
AlaricDemo
[SIP/Session/] 6) FarEndRtg
DefaultInst
[SIP/Session/] 7) NearEndRtg
DefaultInst
[SIP/Session/InDM/] ............................................................
... [START]
[SIP/Session/InDM/] No digit manipulation index
[SIP/Session/InDM/] ............................................................
... [DONE]
[SIP/Session/Ent/] .............................................................
... [START]
[SIP/Session/Ent/] .............................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [START]
[SIP/Session/SP/CallTyping/] ...................................................
... [START]
[SIP/Session/SP/CallTyping/] Event IN : {ct=NIL,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Using country code 763
[SIP/Session/SP/CallTyping/] Dial Plan is AlaricCountry
[SIP/Session/SP/CallTyping/] Found PREFIX match for 0212345678
[SIP/Session/SP/CallTyping/] Setting Call Type to TO
[SIP/Session/SP/CallTyping/] Setting Call Category to NATIONAL
[SIP/Session/SP/CallTyping/] Setting Prefix (before=0,after=1)
[SIP/Session/SP/CallTyping/] Prefix changed, TO E164 is now: 212-3-45678 (dn, va
lid)
[SIP/Session/SP/CallTyping/] TO is now: 0212345678
[SIP/Session/SP/CallTyping/] TO E164 is now: 763-2-12345678 (dn, valid)
[SIP/Session/SP/CallTyping/] Term. DN completed with orig NDC: 0212345678
[SIP/Session/SP/CallTyping/] Normalization... TO E164 is now: 763-2-12345678 (dn
, valid)
[SIP/Session/SP/CallTyping/] Event OUT:{ct=TO,pfx=1,tags=[]}
[SIP/Session/SP/CallTyping/] Exiting with CONTINUE
[SIP/Session/SP/CallTyping/] ...................................................
... [DONE]
[SIP/Session/SP/SubLocation/] ..................................................
... [START]
[SIP/Session/SP/SubLocation/] Retreiving Host for DN: 763212345678
[SIP/Session/SP/SubLocation/] WARNING: Subscriber not found
[SIP/Session/SP/SubLocation/] Exiting with CONTINUE
[SIP/Session/SP/SubLocation/] ..................................................
... [DONE]
[SIP/Session/SP/CallScreening/] ................................................
... [START]
[SIP/Session/SP/CallScreening/] Using country code 763
[SIP/Session/SP/CallScreening/] Orig. DN: 763187612345 Term. DN: 212345678
[SIP/Session/SP/CallScreening/] Found for Orig: 763187612345
[SIP/Session/SP/CallScreening/] Zone/Rate Center: Alaricz1/Alaricrc1
[SIP/Session/SP/CallScreening/] Found for Term: 763212345678

[SIP/Session/SP/CallScreening/] Zone/Rate Center: Alaricz2/Alaricrc2


[SIP/Session/SP/CallScreening/] Starting LCA screening using LCA Id: AlaricLCA
[SIP/Session/SP/CallScreening/] Term number "763212345678" match found in LCA of
Orig.
[SIP/Session/SP/CallScreening/] DNs are from same LCA
[SIP/Session/SP/CallScreening/] The Call Category is LOCAL
[SIP/Session/SP/CallScreening/] Found Call Type handling action CT=LO for inCall
Type=TO transCat=LOCAL e164=false
[SIP/Session/SP/CallScreening/] Changing call type to LO
[SIP/Session/SP/CallScreening/] Exiting with CONTINUE
[SIP/Session/SP/CallScreening/] ................................................
... [DONE]
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [START]
[SIP/Session/SP/SvcCtrRtg/] Policy not triggered for call type
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [DONE]
[SIP/Session/SP/FarEndRtg/] ....................................................
... [START]
[SIP/Session/SP/FarEndRtg/] Policy not triggered for call type
[SIP/Session/SP/FarEndRtg/] Exiting with CONTINUE
[SIP/Session/SP/FarEndRtg/] ....................................................
... [DONE]
[SIP/Session/SP/NearEndRtg/] ...................................................
... [START]
[SIP/Session/SP/NearEndRtg/] Querying the ClosestNEsFinder for 763187612345
[SIP/Session/SP/NearEndRtg/] Found 0 result(s)
[SIP/Session/SP/NearEndRtg/] Location Routing is disabled
[SIP/Session/SP/NearEndRtg/] No network element found.
[SIP/Session/SP/NearEndRtg/] Exiting with CONTINUE
[SIP/Session/SP/NearEndRtg/] ...................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [DONE]
[SIP/Session/Proxy/] ...........................................................
... [START]
[SIP/Session/Proxy/] ...........................................................
... [DONE]
[SIP/Session/] Setting error code: usrnf
[SIP/Session/] .................................................................
... [DONE]
[SIP/Result/] ..................................................................
... [START]
[SIP/Result/]
----- Routing & Translation Results ----[SIP/Result/] Returned Response: 404 --- Not found
[SIP/Result/] List of contacts: 0 entry(ies)
[SIP/Result/] ..................................................................
... [DONE]
[SIP/] .........................................................................
... [DONE]
[]
----- Outgoing Message ----[]
SIP/2.0 404 Not found
Via:SIP/2.0/UDP 127.0.0.1
From:<sip:+763187612345@192.168.3.102>
To:<sip:0212345678@ns3>;tag=2024488093-1424164738968
Call-ID:123

CSeq:123 INVITE

Lab 5
Routing Tables
Trigger ass with SvcCtrRtg
NS_CLI/Policy/SvcCtrRtg/SCRL> add AlaricDemo EM 7631 7631 1 99 routingNE AlaricG
W1
NS_CLI/Policy/SvcCtrRtg/SCRL> add AlaricDemo IN 7631 7631 1 99 routingNE AlaricG
W1
NS_CLI/Policy/SvcCtrRtg/SCRL> get AlaricDemo
Policy: SvcCtrRtg Instance: AlaricDemo Table: SCRL
id callType from
to callSelector address routingNE trunkgroupID cost
weight dmi dtg
================================================================================
==================
1
{EM} 7631 7631
{All}
AlaricGW1
1
99 -1
2
{IN} 7631 7631
{All}
AlaricGW1
1
99 -1
Verify
vtr 763187612345 999
NS_CLI/Policy/SvcCtrRtg/SCRL> vtr 763187612345 999
---------------------- Validating Translation and Routing --------------------[]

----- Incoming Message -----

[]
INVITE sip:999@ns3 SIP/2.0
To:<sip:999@ns3>
Call-ID:123
CSeq:123 INVITE
Via:SIP/2.0/UDP 127.0.0.1
Remote-Party-ID:<sip:763187612345@192.168.3.102>
From:<sip:763187612345@192.168.3.102>
[SIP/] .........................................................................
... [START]
[SIP/]
----- Creating the Verification Session ----[SIP/Session/] .................................................................
... [START]
[SIP/Session/] Call not from a Routing NE (from lookup of 127.0.0.1)
[SIP/Session/] Call not a proxy IMS call
[SIP/Session/] Originator taken from: Remote-Party-ID header
[SIP/Session/] FROM E164 is now: 763-1-87612345 (dn, valid)
[SIP/Session/] TO E164 is now: --999 (dn, not valid)
[SIP/Session/] No Content in SIP message.
[SIP/Session/] Get Profile for DN: 763187612345
[SIP/Session/] Using country code: 763 [country code of calling DN 763187612345]
[SIP/Session/]
----- Info DN #1 ----[SIP/Session/] (DN, Group, Network Element, SP, Enterprise, IntraLata, InterLata

, International)
[SIP/Session/]
(763187612345, Alaric13Group, bwas, SystemSP, Alaric13, 0,
0, 0)
[SIP/Session/] Enterprise (SP, Name, IntraLata, InterLata, International, Profil
e)
[SIP/Session/]
(SystemSP, Alaric13, 0, 0, 0, AlaricSPRO)
[SIP/Session/] Site (SP, Ent, Site, Source ID, Profile)
[SIP/Session/]
(SystemSP, Alaric13, DFLT_SITE, , NIL_PROFILE)
[SIP/Session/] Using LCA from enterprise. LCA Id: AlaricLCA
[SIP/Session/]
----- Policies for Enterprise: Alaric13 ----[SIP/Session/] List of private and public policies for this enterprise:
[SIP/Session/]
----- Public policies in Profile: AlaricSPRO ----[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]

List of policy instances for this profile:


1) CallTyping
DefaultInst
2) NearEndRtg
DefaultInst
3) FarEndRtg
DefaultInst
4) SubLocation
DefaultInst
5) MediaSrvSel
AlaricDemo
6) SvcCtrRtg
AlaricDemo
7) CallScreening
DefaultInst
----- Policies in order of execution -----

[SIP/Session/] 1) CallTyping
DefaultInst
[SIP/Session/] 2) MediaSrvSel
AlaricDemo
[SIP/Session/] 3) SubLocation
DefaultInst
[SIP/Session/] 4) CallScreening
DefaultInst
[SIP/Session/] 5) SvcCtrRtg
AlaricDemo
[SIP/Session/] 6) FarEndRtg
DefaultInst
[SIP/Session/] 7) NearEndRtg
DefaultInst
[SIP/Session/InDM/] ............................................................
... [START]
[SIP/Session/InDM/] No digit manipulation index
[SIP/Session/InDM/] ............................................................
... [DONE]
[SIP/Session/Ent/] .............................................................
... [START]
[SIP/Session/Ent/] .............................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [START]
[SIP/Session/SP/CallTyping/] ...................................................
... [START]
[SIP/Session/SP/CallTyping/] Event IN : {ct=NIL,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Using country code 763
[SIP/Session/SP/CallTyping/] Dial Plan is AlaricCountry
[SIP/Session/SP/CallTyping/] Found EXACT match for 999
[SIP/Session/SP/CallTyping/] Setting Call Type to EM
[SIP/Session/SP/CallTyping/] Setting Call Category to EMERG
[SIP/Session/SP/CallTyping/] Setting Prefix (before=0,after=0)
[SIP/Session/SP/CallTyping/] Normalization... TO E164 is now: --999 (dn, not val
id)
[SIP/Session/SP/CallTyping/] Event OUT:{ct=EM,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Exiting with CONTINUE
[SIP/Session/SP/CallTyping/] ...................................................
... [DONE]
[SIP/Session/SP/SubLocation/] ..................................................
... [START]
[SIP/Session/SP/SubLocation/] Retreiving Host for DN: 999
[SIP/Session/SP/SubLocation/] WARNING: Subscriber not found

[SIP/Session/SP/SubLocation/] Exiting with CONTINUE


[SIP/Session/SP/SubLocation/] ..................................................
... [DONE]
[SIP/Session/SP/CallScreening/] ................................................
... [START]
[SIP/Session/SP/CallScreening/] Policy not triggered for call type
[SIP/Session/SP/CallScreening/] Exiting with CONTINUE
[SIP/Session/SP/CallScreening/] ................................................
... [DONE]
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [START]
[SIP/Session/SP/SvcCtrRtg/] Searching Service Routing List with :763187612345
[SIP/Session/SP/SvcCtrRtg/]
----- Results ----[SIP/Session/SP/SvcCtrRtg/] Parsing admissible results: 1
[SIP/Session/SP/SvcCtrRtg/] 0) GW, adding contact: 999@AlaricGw1.com
[SIP/Session/SP/SvcCtrRtg/] Exiting with BREAK
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [DONE]
[SIP/Session/Proxy/] ...........................................................
... [START]
[SIP/Session/Proxy/] ...........................................................
... [DONE]
[SIP/Session/] .................................................................
... [DONE]
[SIP/Result/] ..................................................................
... [START]
[SIP/Result/]
----- Routing & Translation Results ----[SIP/Result/] Returned Response: 302 --- Moved temporarily
[SIP/Result/] List of contacts: 1 entry(ies)
[SIP/Result/] 1) <sip:999@AlaricGw1.com;user=phone>;q=0.5
[SIP/Result/] ..................................................................
... [DONE]
[SIP/] .........................................................................
... [DONE]
[]
----- Outgoing Message ----[]
SIP/2.0 302 Moved temporarily
Via:SIP/2.0/UDP 127.0.0.1
From:<sip:763187612345@192.168.3.102>
To:<sip:999@ns3>;tag=1371527424-1424172413031
Call-ID:123
CSeq:123 INVITE
Contact:<sip:999@AlaricGw1.com;user=phone>;q=0.5
vtr 763187612345 00442890123456
NS_CLI> vtr 763187612345 00442890123456
---------------------- Validating Translation and Routing --------------------[]
[]

----- Incoming Message -----

INVITE sip:00442890123456@ns3 SIP/2.0


To:<sip:00442890123456@ns3>
Call-ID:123
CSeq:123 INVITE
Via:SIP/2.0/UDP 127.0.0.1
Remote-Party-ID:<sip:763187612345@192.168.3.102>
From:<sip:763187612345@192.168.3.102>
[SIP/] .........................................................................
... [START]
[SIP/]
----- Creating the Verification Session ----[SIP/Session/] .................................................................
... [START]
[SIP/Session/] Call not from a Routing NE (from lookup of 127.0.0.1)
[SIP/Session/] Call not a proxy IMS call
[SIP/Session/] Originator taken from: Remote-Party-ID header
[SIP/Session/] FROM E164 is now: 763-1-87612345 (dn, valid)
[SIP/Session/] TO E164 is now: --00442890123456 (dn, not valid)
[SIP/Session/] No Content in SIP message.
[SIP/Session/] Get Profile for DN: 763187612345
[SIP/Session/] Using country code: 763 [country code of calling DN 763187612345]
[SIP/Session/]
----- Info DN #1 ----[SIP/Session/] (DN, Group, Network Element, SP, Enterprise, IntraLata, InterLata
, International)
[SIP/Session/]
(763187612345, Alaric13Group, bwas, SystemSP, Alaric13, 0,
0, 0)
[SIP/Session/] Enterprise (SP, Name, IntraLata, InterLata, International, Profil
e)
[SIP/Session/]
(SystemSP, Alaric13, 0, 0, 0, AlaricSPRO)
[SIP/Session/] Site (SP, Ent, Site, Source ID, Profile)
[SIP/Session/]
(SystemSP, Alaric13, DFLT_SITE, , NIL_PROFILE)
[SIP/Session/] Using LCA from enterprise. LCA Id: AlaricLCA
[SIP/Session/]
----- Policies for Enterprise: Alaric13 ----[SIP/Session/] List of private and public policies for this enterprise:
[SIP/Session/]
----- Public policies in Profile: AlaricSPRO ----[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]

List of policy instances for this profile:


1) CallTyping
DefaultInst
2) NearEndRtg
DefaultInst
3) FarEndRtg
DefaultInst
4) SubLocation
DefaultInst
5) MediaSrvSel
AlaricDemo
6) SvcCtrRtg
AlaricDemo
7) CallScreening
DefaultInst
----- Policies in order of execution -----

[SIP/Session/] 1) CallTyping
DefaultInst
[SIP/Session/] 2) MediaSrvSel
AlaricDemo
[SIP/Session/] 3) SubLocation
DefaultInst
[SIP/Session/] 4) CallScreening
DefaultInst
[SIP/Session/] 5) SvcCtrRtg
AlaricDemo
[SIP/Session/] 6) FarEndRtg
DefaultInst
[SIP/Session/] 7) NearEndRtg
DefaultInst
[SIP/Session/InDM/] ............................................................
... [START]
[SIP/Session/InDM/] No digit manipulation index
[SIP/Session/InDM/] ............................................................
... [DONE]

[SIP/Session/Ent/] .............................................................
... [START]
[SIP/Session/Ent/] .............................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [START]
[SIP/Session/SP/CallTyping/] ...................................................
... [START]
[SIP/Session/SP/CallTyping/] Event IN : {ct=NIL,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Using country code 763
[SIP/Session/SP/CallTyping/] Dial Plan is AlaricCountry
[SIP/Session/SP/CallTyping/] Found PREFIX match for 00442890123456
[SIP/Session/SP/CallTyping/] Setting Call Type to IN
[SIP/Session/SP/CallTyping/] Setting Call Category to INTERNAT
[SIP/Session/SP/CallTyping/] Setting Prefix (before=0,after=2)
[SIP/Session/SP/CallTyping/] Prefix changed, TO E164 is now: --442890123456 (dn,
not valid)
[SIP/Session/SP/CallTyping/] Normalization... TO E164 is now: --442890123456 (dn
, not valid)
[SIP/Session/SP/CallTyping/] Event OUT:{ct=IN,pfx=2,tags=[]}
[SIP/Session/SP/CallTyping/] Exiting with CONTINUE
[SIP/Session/SP/CallTyping/] ...................................................
... [DONE]
[SIP/Session/SP/SubLocation/] ..................................................
... [START]
[SIP/Session/SP/SubLocation/] Retreiving Host for DN: 442890123456
[SIP/Session/SP/SubLocation/] WARNING: Subscriber not found
[SIP/Session/SP/SubLocation/] Exiting with CONTINUE
[SIP/Session/SP/SubLocation/] ..................................................
... [DONE]
[SIP/Session/SP/CallScreening/] ................................................
... [START]
[SIP/Session/SP/CallScreening/] Policy not triggered for call type
[SIP/Session/SP/CallScreening/] Exiting with CONTINUE
[SIP/Session/SP/CallScreening/] ................................................
... [DONE]
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [START]
[SIP/Session/SP/SvcCtrRtg/] Searching Service Routing List with :763187612345
[SIP/Session/SP/SvcCtrRtg/]
----- Results ----[SIP/Session/SP/SvcCtrRtg/] Parsing admissible results: 1
[SIP/Session/SP/SvcCtrRtg/] 0) GW, adding contact: 00442890123456@AlaricGw1.com
[SIP/Session/SP/SvcCtrRtg/] Exiting with BREAK
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [DONE]
[SIP/Session/Proxy/] ...........................................................
... [START]
[SIP/Session/Proxy/] ...........................................................
... [DONE]
[SIP/Session/] .................................................................
... [DONE]
[SIP/Result/] ..................................................................
... [START]
[SIP/Result/]
----- Routing & Translation Results ----[SIP/Result/] Returned Response: 302 --- Moved temporarily
[SIP/Result/] List of contacts: 1 entry(ies)

[SIP/Result/] 1) <sip:00442890123456@AlaricGw1.com;user=phone>;q=0.5
[SIP/Result/] ..................................................................
... [DONE]
[SIP/] .........................................................................
... [DONE]
[]
----- Outgoing Message ----[]
SIP/2.0 302 Moved temporarily
Via:SIP/2.0/UDP 127.0.0.1
From:<sip:763187612345@192.168.3.102>
To:<sip:00442890123456@ns3>;tag=172738146-1424170344771
Call-ID:123
CSeq:123 INVITE
Contact:<sip:00442890123456@AlaricGw1.com;user=phone>;q=0.5
NS_CLI/Policy/SvcCtrRtg/SCRL> add AlaricDemo DA 7631 7631 1 99 address 080032100
0
Verify
vtr 763187612345 411
NS_CLI> vtr 763187612345 411
---------------------- Validating Translation and Routing --------------------[]

----- Incoming Message -----

[]
INVITE sip:411@ns3 SIP/2.0
To:<sip:411@ns3>
Call-ID:123
CSeq:123 INVITE
Via:SIP/2.0/UDP 127.0.0.1
Remote-Party-ID:<sip:763187612345@192.168.3.101>
From:<sip:763187612345@192.168.3.101>
[SIP/] .........................................................................
... [START]
[SIP/]
----- Creating the Verification Session ----[SIP/Session/] .................................................................
... [START]
[SIP/Session/] Call not from a Routing NE (from lookup of 127.0.0.1)
[SIP/Session/] Call not a proxy IMS call
[SIP/Session/] Originator taken from: Remote-Party-ID header
[SIP/Session/] FROM E164 is now: 763-1-87612345 (dn, valid)
[SIP/Session/] TO E164 is now: 41-1- (dn, not valid)
[SIP/Session/] No Content in SIP message.
[SIP/Session/] Get Profile for DN: 763187612345
[SIP/Session/] Using country code: 763 [country code of calling DN 763187612345]
[SIP/Session/]
----- Info DN #1 ----[SIP/Session/] (DN, Group, Network Element, SP, Enterprise, IntraLata, InterLata
, International)
[SIP/Session/]
(763187612345, Alaric13Group, bwas, SystemSP, Alaric13, 0,
0, 0)

[SIP/Session/]
e)
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]

Enterprise (SP, Name, IntraLata, InterLata, International, Profil

[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]
[SIP/Session/]

List of policy instances for this profile:


1) CallTyping
DefaultInst
2) NearEndRtg
DefaultInst
3) FarEndRtg
DefaultInst
4) SubLocation
DefaultInst
5) MediaSrvSel
AlaricDemo
6) SvcCtrRtg
AlaricDemo
7) CallScreening
DefaultInst
----- Policies in order of execution -----

(SystemSP, Alaric13, 0, 0, 0, AlaricSPRO)


Site (SP, Ent, Site, Source ID, Profile)
(SystemSP, Alaric13, DFLT_SITE, , NIL_PROFILE)
Using LCA from enterprise. LCA Id: AlaricLCA
----- Policies for Enterprise: Alaric13 ----List of private and public policies for this enterprise:
----- Public policies in Profile: AlaricSPRO -----

[SIP/Session/] 1) CallTyping
DefaultInst
[SIP/Session/] 2) MediaSrvSel
AlaricDemo
[SIP/Session/] 3) SubLocation
DefaultInst
[SIP/Session/] 4) CallScreening
DefaultInst
[SIP/Session/] 5) SvcCtrRtg
AlaricDemo
[SIP/Session/] 6) FarEndRtg
DefaultInst
[SIP/Session/] 7) NearEndRtg
DefaultInst
[SIP/Session/InDM/] ............................................................
... [START]
[SIP/Session/InDM/] No digit manipulation index
[SIP/Session/InDM/] ............................................................
... [DONE]
[SIP/Session/Ent/] .............................................................
... [START]
[SIP/Session/Ent/] .............................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [START]
[SIP/Session/SP/CallTyping/] ...................................................
... [START]
[SIP/Session/SP/CallTyping/] Event IN : {ct=NIL,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Using country code 763
[SIP/Session/SP/CallTyping/] Dial Plan is AlaricCountry
[SIP/Session/SP/CallTyping/] Found EXACT match for 411
[SIP/Session/SP/CallTyping/] Setting Call Type to DA
[SIP/Session/SP/CallTyping/] Setting Call Category to OTHER
[SIP/Session/SP/CallTyping/] Setting Prefix (before=0,after=0)
[SIP/Session/SP/CallTyping/] Normalization... TO E164 is now: 41-1- (dn, not val
id)
[SIP/Session/SP/CallTyping/] Event OUT:{ct=DA,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Exiting with CONTINUE
[SIP/Session/SP/CallTyping/] ...................................................
... [DONE]
[SIP/Session/SP/SubLocation/] ..................................................
... [START]
[SIP/Session/SP/SubLocation/] Retreiving Host for DN: 411
[SIP/Session/SP/SubLocation/] WARNING: Subscriber not found
[SIP/Session/SP/SubLocation/] Exiting with CONTINUE
[SIP/Session/SP/SubLocation/] ..................................................
... [DONE]

[SIP/Session/SP/CallScreening/] ................................................
... [START]
[SIP/Session/SP/CallScreening/] Policy not triggered for call type
[SIP/Session/SP/CallScreening/] Exiting with CONTINUE
[SIP/Session/SP/CallScreening/] ................................................
... [DONE]
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [START]
[SIP/Session/SP/SvcCtrRtg/] Searching Service Routing List with :763187612345
[SIP/Session/SP/SvcCtrRtg/]
----- Results ----[SIP/Session/SP/SvcCtrRtg/] Parsing admissible results: 1
[SIP/Session/SP/SvcCtrRtg/] 0) DN, substitute 411 by 0800321000 as term. DN
[SIP/Session/SP/SvcCtrRtg/] TO E164 is now: --0800321000 (dn, not valid)
[SIP/Session/SP/SvcCtrRtg/] Routable DN found --> REENTER
[SIP/Session/SP/SvcCtrRtg/] Exiting with RE-ENTER BUS
[SIP/Session/SP/SvcCtrRtg/] ....................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [START]
[SIP/Session/SP/CallTyping/] ...................................................
... [START]
[SIP/Session/SP/CallTyping/] Event IN : {ct=NIL,pfx=0,tags=[]}
[SIP/Session/SP/CallTyping/] Using country code 763
[SIP/Session/SP/CallTyping/] Dial Plan is AlaricCountry
[SIP/Session/SP/CallTyping/] Found PREFIX match for 0800321000
[SIP/Session/SP/CallTyping/] Setting Call Type to TO
[SIP/Session/SP/CallTyping/] Setting Call Category to NATIONAL
[SIP/Session/SP/CallTyping/] Setting Prefix (before=0,after=1)
[SIP/Session/SP/CallTyping/] Prefix changed, TO E164 is now: 800-3-21000 (dn, va
lid)
[SIP/Session/SP/CallTyping/] Normalization... TO E164 is now: --800321000 (dn, n
ot valid)
[SIP/Session/SP/CallTyping/] Event OUT:{ct=TO,pfx=1,tags=[]}
[SIP/Session/SP/CallTyping/] Exiting with CONTINUE
[SIP/Session/SP/CallTyping/] ...................................................
... [DONE]
[SIP/Session/SP/SubLocation/] ..................................................
... [START]
[SIP/Session/SP/SubLocation/] Retreiving Host for DN: 800321000
[SIP/Session/SP/SubLocation/] WARNING: Subscriber not found
[SIP/Session/SP/SubLocation/] Exiting with CONTINUE
[SIP/Session/SP/SubLocation/] ..................................................
... [DONE]
[SIP/Session/SP/CallScreening/] ................................................
... [START]
[SIP/Session/SP/CallScreening/] Using country code 763
[SIP/Session/SP/CallScreening/] Orig. DN: 763187612345 Term. DN: 800321000
[SIP/Session/SP/CallScreening/] ERROR: Term. DN is an invalid E.164 number
[SIP/Session/SP/CallScreening/] Setting error code: usrnf
[SIP/Session/SP/CallScreening/] Exiting with BREAK
[SIP/Session/SP/CallScreening/] ................................................
... [DONE]
[SIP/Session/SP/] ..............................................................
... [DONE]
[SIP/Session/Proxy/] ...........................................................
... [START]
[SIP/Session/Proxy/] ...........................................................

... [DONE]
[SIP/Session/] .................................................................
... [DONE]
[SIP/Result/] ..................................................................
... [START]
[SIP/Result/]
----- Routing & Translation Results ----[SIP/Result/] Returned Response: 404 --- Not found
[SIP/Result/] List of contacts: 0 entry(ies)
[SIP/Result/] ..................................................................
... [DONE]
[SIP/] .........................................................................
... [DONE]
[]
----- Outgoing Message ----[]
SIP/2.0 404 Not found
Via:SIP/2.0/UDP 127.0.0.1
From:<sip:763187612345@192.168.3.101>
To:<sip:411@ns3>;tag=1629375954-1424170714916
Call-ID:123
CSeq:123 INVITE
Remove Call Screening
NS_CLI/Policy/Profile> del AlaricSPRO CallScreening DefaultInst
NS_CLI/ System/Device/RoutingNE/Routing> add AlaricGW2 7632 7632 1 1 NATIONAL -1
-1
NS_CLI/ System/Device/RoutingNE/Routing> add AlaricGW1 7631 7631 1 1 LOCAL -1 -1
verify
TO calls go to gateway #2. vtr 763187612345 0212345678
LO calls go to gateway #1. vtr 763187612345 23456789

Lab 6
Do not add enterprise,telephone#
add PSTN gw
lab1
Address my pstn gw
lab1
add my ms
lab1
address my media server lab1
create my policy instances lab3
create my profile
lab3
asssign my profile to my enterprise lab3
populate pstn routing tables lab5
populate media server routing tables lab5
do vtr to pstn destinations lab5
do vtr to ivr@ns3
lab5
netwg -> routing profile (created with policy instances)
enterprise -> hosting profile (created with policy instance)
enterprise= NTRGBEnt18 Prof_Std18

Addd PSTN GW and Address pstn gw


gw = local calls
NGWA18 1301977 NGWA18.com
emer&dirAss DA
NGWB18 1540336 NGWB18.com
toll/charge
NGWC18 1240364 NGWC18.com
International
NGWD18 1703307 NGWD18.com
NS_CLI/System/Device/RoutingNE> add NGWA18 1301977 1 99 routing false OnLine
NS_CLI/System/Device/RoutingNE/Address> add NGWA18 NGWA18.com.com 1 99
NS_CLI/System/Device/RoutingNE> add NGWB18 1540336 1 99 routing false OnLine
NS_CLI/System/Device/RoutingNE/Address> add NGWB18 NGWB18.com.com 1 99
NS_CLI/System/Device/RoutingNE> add NGWC18 1540336 1 99 routing false OnLine
NS_CLI/System/Device/RoutingNE/Address> add NGWC18 NGWC18.com.com 1 99
NS_CLI/System/Device/RoutingNE> add NGWD18 1540336 1 99 routing false OnLine
NS_CLI/System/Device/RoutingNE/Address> add NGWD18 NGWD18.com.com 1 99
Add media server and address media server
media MS18 all 1240364 MS18.com
NS_CLI/System/Device/ResourceNE> add MS18 ms all 1240364 1 99 false OnLine
NS_CLI/System/Device/ResourceNE/Address> add MS18 MS18.com 1 99
Create policy instance
NearEndRtg LO
NGWA18
SvcCtrRtg DA, EM NGWB18
SvcCtrRtg IN
NGWD18
FarEndRtg TO
NGWC18
MediaSrvSel
MS18
NS_CLI/Policy/NearEndRtg> add AlaricPol18 true CallTypes LO ****
NS_CLI/Policy/SvcCtrRtg> add AlaricPol18 true CallTypes EM DA IN
NS_CLI/Policy/FarEndRtg> add AlaricPol18 true CallTypes TO ****
NS_CLI/Policy/MediaSrvSel> add AlaricPol18 true CallTypes ALL
Create profile
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>
NS_CLI/Policy/Profile>

add
add
add
add
add
add
add

AlaricPRO18
AlaricPRO18
AlaricPRO18
AlaricPRO18
AlaricPRO18
AlaricPRO18
AlaricPRO18

CallTyping DefaultInst --hit dial plan


NearEndRtg DefaultInst ---one table
FarEndRtg DefaultInst ---one table
CallScreening DefaultInst ****
SubLocation DefaultInst
MediaSrvSel AlaricPol18
SvcCtrRtg AlaricPol18

Assign Prof to Enterp


NS_CLI/SubscriberMgmt/Enterprise>set NTRGbEnt18 profile AlaricPRO18
Populate pstn routing tables
NS_CLI/Policy/SvcCtrRtg/SCRL> add AlaricPol18 EM 1 1 1 99 routingNE NGWB18
NS_CLI/Policy/SvcCtrRtg/SCRL> add AlaricPol18 IN 1 1 1 99 routingNE NGWD18
NS_CLI/Policy/SvcCtrRtg/SCRL> add AlaricPol18 DA 1 1 1 99 routingNE NGWB18
!!!!!!
NS_CLI/ System/Device/RoutingNE/Routing> add NGWC18 1 1 1 1 NATIONAL -1 -1
NS_CLI/ System/Device/RoutingNE/Routing> add NGWA18 1 1 1 1 LOCAL -1 -1
populate media server routing tables
NS_CLI/Policy/MediaSrvSel/RouteList>add AlaricPol18 MS18 1 1 all 1 99
instance of policy of mediasvr ms from t

o service cost weight


policy location routing false
Verify
local
vtr 18182181234 7771234
toll/nat vtr 18182181234 12408881914
DA
vtr 18182181234 411
Internat vtr 18182181234 01146631234567
Emer
vtr 18182181234 911

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy