Detailed Design of Libraries IN

Embed Size (px)

Citation preview

  • 8/19/2019 Detailed Design of Libraries IN

    1/22

    DESIGN DOCUMENTATION Page: 1

    LOW LEVEL DESIGN

    Doc No: 1 Date Issued: 08/03/2016 Copy No:

    Version: 0.1 Version Status:

    Category: Design SubCategory:

    Co!!ents:

    Statement of Confidentiality

    Copyrig"t in t"is docu!ent is t"e property o# $%eryt"ing $%ery&"ere and its contents s"a''

    be "e'd in strict con#idence by t"e recipient "ereo# and s"a'' be used so'e'y #or t"e purposes

    o# $%eryt"ing $%ery&"ere. Neit"er t"is docu!ent nor its contents s"a'' be disc'osed to anyot"er person or used #or any ot"er purpose &it"out prior &ritten per!ission o# $%eryt"ing

    $%ery&"ere.

    ( $%eryt"ing $%ery&"ere 2016. )'' rig"ts reser%ed.

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    2/22

    DESIGN DOCUMENTATION Page: '

    Table of Contents

    Design Detail.....................................................................................................................31 Purpose .................................................................................................................32 Detailed Design -Dialplan Libraries ......................................................................3

    o Trigger Service-logic By SC!!!!!!!!!!!!!!!!!!!!!.."  o Call #andle Dialplan Logic.................................................................................."

    o doTranslate$u%ber&eg'(...............................................................................1)o doTranslate$u%ber&oa%ing............................................................................1)o doSuffi(Cell*d....................................................................................................1)o do+ceanSsp&outing.........................................................................................1)o do,oice%ailccess...........................................................................................11o Call &ealTi%eTe(t.............................................................................................12

    3 Dialplan Logical-lo ...........................................................................................1// Dialplan service-logic scenarios !!!!!!!!!!!!!!!!!!!!...1"

      " Configuration Data for Dialplan '' Custo%ers....................................................10

      0 bbreviations!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    3/22

    DESIGN DOCUMENTATION Page: (

    *o& *e%e' Design Docu!entation

    De%ign Detail+"is docu!ent pro%ides a co!p'ete 'ogic i!p'e!entation and Design o# Inte''igent Net&or, !odu'e Dia'p'an *ibraries ser%ice 'ogic.

    1) P*!+o%e

    +"is docu!ent describes t"e IN ser%ice design #or t"e Dia'p'an *ibraries. +"e

    purpose o# t"is docu!ent is to record su##icient detai' o# t"e design and

    i!p'e!entation o# t"e Dia'p'an 'ibraries "ig"'e%e' design- 'ogica'#'o& and

    con#iguration detai's #or use by de%e'op!ent tea!.

    ') Detailed De%ign ,Dial+lan Li-!a!ie%

    +"e Dia'p'an 'ibraries per#or!s #unctions o# t"e SC suc" as s"ortcode

    trans'ation- nu!ber !anipu'ation- etc. +"e Nu!ber !anipu'ations are done

    to %eri#y and decide i# ser%ice 'ogics s"ou'd per#or! any specia' "and'ing on

    top o# t"is Cda nu!ber- using &"ic" a ca'' can be route to t"e destination

    success#u''y. Dia'p'an are basica''y i!p'e!ented as set o# nor!a'iation ru'es

    t"at trans'ates p"one nu!bers #or a na!ed 'ocation- indi%idua' user- and

    based on type o# ser%ices tooi.e. ea!p'e V)- ++)ccess- Voice!ai'

    Di%ert- 4asic ca'' setup procedures etc..5 into a sing'e standard $.165

    #or!at #or purposes o# p"one aut"oriation and ca'' routing. Nor!a'iation

    ru'es de#ine "o& p"one nu!bers epressed in %arious #or!ats are to be

    routed #or eac" speci#ied 'ocation- user ser%ices. +"e sa!e dia' string !ay

    be interpreted and trans'ated di##erent'y- depending on t"e 'ocation #ro!

    &"ic" it is dia''ed and t"e type o# ser%ice in%o,ed in t"e ca''.

    +"e be'o& 7ig" 'e%e' diagra! describes t"e i!p'e!entation o# Dia'p'an

    'ibraries.

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    4/22

    DESIGN DOCUMENTATION Page: .

    /*n&tional /lo#0DialPlan Li-!a!ie%  (Use Case diagram)

    igure: 1

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    5/22

    DESIGN DOCUMENTATION Page:

    o T!igge! Se!i&e0logi& 2y SC/

    1. +"e obi'e sends t"e paging !essage &it" setup re9uest to SC to

    estab'is" a %oice ca''. +"e SC/SS &i'' #or!u'ate !essage contains t"edia''ed digits and ot"er in#or!ation needed #or ca'' estab'is"!ent.

    2. )'' re9uired ID in#or!ation trigger data5 is sa%ed in corresponding )C

    %ariab'es $ntryData 'ogic in%o'%ed5. In case a !andatory para!eter is

    !issing- t"e !et"od returns &it" an error code. +"is is t"e starting point o# 

    ser%ice processing. +"e !et"od ;onStarted; is ca''ed by t"e IN SC.

    3. +"is intern does In%ocation o# deter!ined ser%ice or ot"er ser%ices

    needed in ca''setup #ro! t"e ser%ice,ey c"ain 'ist based on order o# 

    priorityea!p'e: ostpay- repay- VN5. +"is interna''y triggers t"e Dia'p'an

    'ibraries #unction "and'eDia''an5 subroutine 'ogic. +"is is t"e "and'ing#unction in%o,es t"e dia' p'an operations.

    o  Call 3andle Dial+lan Logi&

    +"is is t"e starting point o# Dia'p'an ser%ice interaction &it" ot"er IN

    ser%ices. +"is subroutine i!p'e!entation is to deter!ine t"e routing nu!ber

    &"ic" needs to be used #or aut"oriation and ca''routing to t"e destination

    to success#u''y set a ca''. +"is ser%ice get in%o,ed in a'' t"e scenarios 'i,e

  • 8/19/2019 Detailed Design of Libraries IN

    6/22

    DESIGN DOCUMENTATION Page: 4

    In case t"e Cda detai's are in%a'id an $*$)S$ !essage is sent to SC to

    disconnect t"e ca''setup.+"e be'o& data is returned by D*>Dia'p'an:

    DPL5Dial+lan: ain Dia''an tab'e "o'ding s"ort codes and t"eir indi%idua'

    "and'ing options.

    Na!e Description

    ?ey @ 4>Nu!ber Nu!ber to be "and'ed/!odi#ied.

    $act>atc" I# true t"ere !ay be no additiona' digits

    a#ter !atc"ed string.

    Dia'p'an>+ype>Nu!ber +ype o# nu!ber t"is ro& corresponds to.SubAect to c"ange by actions.

    Dia'p'an>*ogic

  • 8/19/2019 Detailed Design of Libraries IN

    7/22

    DESIGN DOCUMENTATION Page: 6

    para!eter "o'ds ne& N)DI. +"ird

    para!eters optiona''y "o'ds regu'ar

    epression and #ourt" nu!ber o#

    occurrences.

    2 Su##i>Ce''>ID Su##i Ce'' ID to t"e nu!ber using

    'egacy /8 #or!at5.

    3 Voice!ai'>*ong +rans'ate *ong dia' Voice!ai' )ccess

    nu!ber to t"e interna' routing

    nu!ber. er#or! V S) nu!ber

    trans'ation. No para!eters.

    Voice!ai'>S"ort +rans'ate s"ort dia' Voice!ai'

    )ccess nu!ber to t"e interna'

    routing nu!ber. er#or! V S)nu!ber trans'ation E D

    "and'ing. No para!eters.

    SS outing pre#i added to nu!ber

    based on roa!ing type and

    pay!ent type. ara!eter can

    contain optiona' trans'ated nu!ber

    to use.

    6 e'ease/4'oc, Ca'' &i'' be re'eased una''ocatednu!ber5. ara!eter can contain

    optiona' cause %a'ue.

    F Set>Voice!ai'>Di%ert In%o,e t"e ser%ice &"ic" sets

    %oice!ai' di%erts in t"e 7*/7SS.

    8 )dd>outing>re#i )dd a routing pre#i to t"e nu!ber

    dia''ed.

    G re!iu!ate)ccess Ca'' re!iu! ate )ccess 'ogic.

    10 tt)ccess Ca'' ea'+i!e +et 'ogic.

    11 Nu!ber>+rans'ation>Su##i

    >Ce''>ID

    Co!bined operation o#

    Nu!ber>+rans'ation>e9$ and

    Su##i>*)C>Ce''>ID.

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    8/22

    DESIGN DOCUMENTATION Page: 7

    ep'ace t"e nu!ber &it" %a'ue

    gi%en as 1st para!eter. Second

    para!eter "o'ds ne& N)DI. +"ird

    para!eters optiona''y "o'ds regu'ar

    epression and #ourt" nu!ber o#occurrences. Su##i Ce'' Id to t"e

    nu!ber.

    12 Nu!ber>+rans'ation>eg$

    +rans'ate t"e nu!ber using a

    regu'ar epression. 1st ara!eter

    contains t"e digits to !atc". 2nd

    ara!eter contains t"e regu'ar

    epression. 3rd ara!eter

    optiona'5 contains &"ic"

    occurrence o# ara!eter 1 s"ou'dbe rep'aced.

    13 Nu!ber>+rans'ation>oa

    !ing

    +rans'ate t"e nu!ber using t"e #irst

    nu!ber speci#ied in ara!eter #or

    nonroa!ing ca''s and t"e second

    #or roa!ing ca''s.

    21 Su##i>*)C>Ce''>ID Su##i *)C and Ce'' ID. ara!eter

    can contain optiona' separation

    digits de#au't 15.

    22 Su##i>*)C>Ce''>ID>7*

    N

    Su##i *)C and Ce'' ID. ara!eter

    can contain optiona' separation

    digits de#au't 15

    23 Su##i>*)C>Ce''>ID>V*

    N

    Su##i *)C and Ce'' ID. ara!eter

    can contain optiona' separation

    digits de#au't 15.

    DIALPLAN5NUM2E$5T8PE:De#ines set o# specia' nu!ber types to &"ic" Cda !ay be'ong. +"is a''o&s

    ser%ice 'ogics to decide &"et"er t"ey s"ou'd per#or! any specia' "and'ing on

    top o# t"is nu!ber.

     Va'ue +ype

  • 8/19/2019 Detailed Design of Libraries IN

    9/22

    DESIGN DOCUMENTATION Page: 9

    0 eneric eneric nu!ber- no specia'

    "and'ing.

    1 Custo!er>Ser%ices ) ca'' to custo!er ser%ices.

    2 Voice!ai' ) ca'' to Voice!ai'.3 SS +"is ca'' needs to be routed %ia t"e

    atc" +"ere &as no !atc" in Dia'p'an

    tab'e and/or Dia'p'an did not

    per#or! any *ogic action.

    Internationa' )n Internationa' ca''.

    6 C"anne'>Is'ands>Is'e>

    an

    ) ca'' to t"e C"anne' Is'ands or Is'e

    NN ) ca'' to a +obi'e =? NN.

    8 NN ) ca'' to an $n9uires ) ca'' to Directory $n9uires i.e.

    1185

    10 Interna'>outing +"e ca'' needs to be interna''y

    routed.

    11 Directory$n9uires

  • 8/19/2019 Detailed Design of Libraries IN

    10/22

    DESIGN DOCUMENTATION Page: 1

    DPL5Config:

    +"is tab'e "o'ds %arious con#iguration para!eters o# t"e Dia'p'an 'ogic

    Na!e Description

    *)C>Digits Nu!ber o# *)D digits to be used &"en

    su##iing ce'' id to t"e Cda.

    *ocation>In#o>e9uired>or

     >IV

    )ppend *)C5ECe'' ID or V* address &"en

    routing to t"e re#ied>ep'aced +"e #'ag &"ic" de#ines &"et"er tt pre#ied

    s"ou'd be rep'aced &it" specia' pre#i

    ++>ep'ace!ent>re#i Specia' pre#i used to rep'ace ++ 180015

    pre#i #or net&or, "and'ing

    apping>e9uire

    d

    'ag &"ic" de#ines &"et"er operator s"ou'd

    be !apped #ro! &"o'sa'e partner Ids- used#or VN

  • 8/19/2019 Detailed Design of Libraries IN

    11/22

    DESIGN DOCUMENTATION Page: 11

    o doT!an%lateN*m-e!$egE<

    H"en dia' p'an 'ogic !atc"es ;+rans'ateeg$; t"is subroutine 'ogic gets

    triggered &"ic" per#or!s t"e nu!ber trans'ation using a regu'ar epression.

    1st ara!eter contains t"e digits to !atc" i.e. Cda nu!ber. 2nd ara!eter

    contains t"e regu'ar epression i.e. dia'p'an 'ogic para!eters. 3rd ara!eteroptiona'5 contains &"ic" occurrence o# ara!eter 1 s"ou'd be rep'aced.

     

    o doT!an%lateN*m-e!$oaming

    +"is operation c"ec,s t"e recei%ed 4Nu!ber and N)DI in#or!ation to

    identi#y &"et"er t"e subscriber is a roa!ing subscriber or N

  • 8/19/2019 Detailed Design of Libraries IN

    12/22

    DESIGN DOCUMENTATION Page: 1'

    7o!eCa''oute. 4asica''y t"is dia' p'an 'ogic in%o,es i# t"e destination 4

    Nu!ber !atc"es IV re'ated nu!bers 'i,e custo!er ser%ices nu!ber

    08120005. +"e dia'p'an 'ibrary intern trans'ate t"e custo!er ser%ices

    nu!ber to a #or!at &"ic" can be used #or routing t"e ca'' to IV syste! by

    SC.

    DPL5$o*ting5P!efi

  • 8/19/2019 Detailed Design of Libraries IN

    13/22

    DESIGN DOCUMENTATION Page: 1(

    #or!atted V) nu!ber is send bac, to SC by IN SC #or setting up ca''

    &it" V) syste!.

     

    o Call $ealTimeTe

  • 8/19/2019 Detailed Design of Libraries IN

    14/22

    DESIGN DOCUMENTATION Page: 1.

    () Dial+lan Logi&al0/lo#

    ) 'ogica' #'o& c"art is depicted be'o& #or dia' p'an ser%ice !odu'e. +"is

    pro%ides an c'ear picture o# dia' p'an ser%ice 'ogic #'o&.

    Dial Plan Se!i&e logi&al /lo# Diag!am  (Component diagram)

    igure: 2

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    15/22

    DESIGN DOCUMENTATION Page: 1

    .) Dial+lan %e!i&e0logi& %&ena!io%

    i)Dial+lan Logi&: MO 3PLMN Voi&email A&&e%% Call  (Interaction diagram)

    igure: 3

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    16/22

    DESIGN DOCUMENTATION Page: 14

    ii)Dial+lan Logi&: MO $eal0Time Te

  • 8/19/2019 Detailed Design of Libraries IN

    17/22

    DESIGN DOCUMENTATION Page: 16

    iii) Dial+lan Logi&: MT P!e+ay Call fo! Gene!i& N*m-e!  (Interactiondiagram)

    igure:

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    18/22

    DESIGN DOCUMENTATION Page: 17

    ) Config*!ation Data fo! Dial+lan EE C*%tome!%

    +"e con#iguration data #or $$ dia'p'an ser%ice is presented be'o&.

    Catalog

    In%tan&e%=%>

    $%eryt"ing$%ery&"ereDia''an*ib>rt

    Ta-le D*>Dia'p'an

    Col*mn=%> 4>Nu!ber- $act>atc"- Dia'p'an>+ype>Nu!ber- Dia'p'an>*ogic-Dia'p'an>*ogic>ara!eters

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    19/22

    DESIGN DOCUMENTATION Page: 19

    Val*e=%> K 4'oc, $$ custo!ers s"ou'd on'y use Sing'e )ccess

    0000-)*S$-eneric-e'ease-

    0001-)*S$-eneric-e'ease-

    0002-)*S$-eneric-e'ease-

    0003-)*S$-eneric-e'ease-

    00081-)*S$-eneric-e'ease-00082-)*S$-eneric-e'ease-

    00083-)*S$-eneric-e'ease-

    0008-)*S$-eneric-e'ease-

    0008-)*S$-eneric-e'ease-

    00086-)*S$-eneric-e'ease-

    0008F-)*S$-eneric-e'ease-

    K00088 used #or VN

    0008G-)*S$-eneric-e'ease-

    000G-)*S$-eneric-e'ease-

    K Voice!ai' "anto! nu!bers

    0F33-)*S$-eneric-e'ease-

    0F8F0-)*S$-eneric-e'ease-

    0FG-)*S$-eneric-e'ease-

    0FG32-)*S$-eneric-e'ease-

    0FG3222222-)*S$-Voice!ai'-Voice!ai')ccess- K Voice!ai' Sing'e )ccess'ongdia'5

    0FG33-)*S$-eneric-e'ease-

    0FG3G6610-)*S$-Custo!erSer%ices-

  • 8/19/2019 Detailed Design of Libraries IN

    20/22

    DESIGN DOCUMENTATION Page: '

    K S"ort Codes

    101-)*S$-eneric-Su##iCe''Id+rans'ate-

    1010-)*S$-eneric-+rans'ate+rans'ate-

    10100-)*S$-eneric-e'ease-

    10101-)*S$-eneric-e'ease-10102-)*S$-eneric-e'ease-

    10103-)*S$-eneric-e'ease-

    1010-)*S$-eneric-e'ease-

    1010-)*S$-eneric-e'ease-

    10106-)*S$-eneric-e'ease-

    1010F-)*S$-eneric-e'ease-

    10108-)*S$-eneric-e'ease-

    1010G-)*S$-eneric-e'ease-

    1011-)*S$-eneric-+rans'ate+rans'ate K Su##i *)C E Ce'' ID o%erdia' #i5

    10110-)*S$-eneric-e'ease-

    10111-)*S$-eneric-e'ease-10112-)*S$-eneric-e'ease-

    10113-)*S$-eneric-e'ease-

    1011-)*S$-eneric-e'ease-

    1011-)*S$-eneric-e'ease-

    10116-)*S$-eneric-e'ease-

    1011F-)*S$-eneric-e'ease-

    10118-)*S$-eneric-e'ease-

    1011G-)*S$-eneric-e'ease-

    1012-)*S$-eneric-e'ease-

    101F-)*S$-eneric-e'ease-

    1018-)*S$-eneric-e'ease-

    101G-)*S$-eneric-e'ease-

    111-)*S$-eneric-Su##iCe''Id+rans'ate-

    1110-)*S$-eneric-e'ease-

    121-)*S$-Voice!ai'-Voice!ai')ccessS"ort- K Voice!ai' Sing'e )ccess

    Voda#one5

    122-)*S$-

  • 8/19/2019 Detailed Design of Libraries IN

    21/22

    DESIGN DOCUMENTATION Page: '1

    Ta-le D*>outing>re#ies

    Col*mn=%> oa!ing>+ype- ay!ent>+ype- D*>Dia'p'an

    Val*e=%> Nonroa!ing-ostpay-F6331

    Nationa'>oa!ing-ostpay-F6333

    Internationa' oa!ing-ostpay-F633

    Nonroa!ing-repay-F6332

    Nationa' repay-1-F633

    Internationa'>oa!ing-repay-F6336

     

    Ee!yt"ing Ee!y#"e!e $e%t!i&ted

  • 8/19/2019 Detailed Design of Libraries IN

    22/22

    DESIGN DOCUMENTATION Page: ''

    4) A--!eiation%:

    SC ateay obile Sitc4ing Centre

    *$ *ntelligent $etor5

    + obile +riginating CallSC obile Sitc4ing Centre

    T obile Ter%inating Call

    PST$ Public Sitc4ed Telep4one $etor5

    SC Service Control unction

    SCP Service Control Point

    SSP Service Sitc4ing Point

    ,SC ,isited obile Sitc4ing Centre