Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulating Digits in DN (Lync E164 to CS1000 r7).

Status
Not open for further replies.

trentsteenholdt1

Technical User
Jul 12, 2011
40
AU
Hi All.

We had a bit of sucess over the last couple days sorting out a Static SIP endpoint to our Lync server(s) and then also getting Lync/Avaya configured in a way to just get one directional calling going (Calls from Lync to Avaya CS1k r7; we don't need it to go the other way for now).

As it stands, its working perfectly, SIP is making the connection and the codecs are all doing their thing. However, we just have one very little cosmetic thing that I'm sure is easily fixed.

Scenario: Lync to Avaya calls are generating (from the Lync side) a full E164/International number that is then see on the Avaya handsets. Understandably, as this is all internal, when a user tries to call back that number (to reach their desk phone; remember only one way calling at this point) via their personal directory, well they can't as E164 (without +) is not a valid number. It's all 4 dgt extensions

The below dump is me calling myself (Lync to Desk phone). You can see we manipulate our number with an internal prefix of 2.

Code:
    DCH 10 IMSG SETUP    REF 00008189 CH 112 0 15 8 TOD  10:23:10
CALLING #:61894330269    NUM PLAN: E164/INTERNATIONAL (UNKNOWN)
CALLED  #:2269           NUM PLAN: NUM UNKNOWN/UNKNOWN (UNKNOWN)

    DCH 10 OMSG CALLPROC REF 00008189 CH 112 0 15 8 TOD  10:23:10

    DCH 10 OMSG ALERT    REF 00008189 CH 112 0 15 8 TOD  10:23:10
PROGRESS: DEST ADDR IS NOT ISDN

    DCH 10 OMSG NOTIFY   REF 00008189 CH 112 0 15 8 TOD  10:23:10

From what I've learnt, there is either three ways to go about this....

A) Get Lync to send a manipulated number (so instead it sends the 4 digit extension; which we dont prefer, as Microsoft recommend against it, or

B) Using some type RLB and DGT edit in LD86, manipulate the incoming on the SIP route so that it matches a 4 digit extension. The only concern with this option is that I don't want to break our Least Cost Routing and SIP Trunk with our sister CS1k r7 and remote CS1k Branch Office. These already have manipulation in place on that route.

C) Have it so that the Avaya CS1k can read the E164 standard on the SIP route and have it then call back other the SIP (Of course wouldnt want this to go out and then back in).


To help with options B and C, here are the dumps of LD15, LD16, LD86 DGT and LD86 RLB. If anybody needs anything like say LD14, please dont hesitate to ask.

LD15
Code:
REQ PRT
TYPE: 

TYPE CDB
CUST 


TYPE CDB
CUST 00 
AML_DATA
  OPT DNX 
  VSID 
  GP02 
  GP03 
  GP04 
  GP05 
  GP06 
  GP07 
  GP08 
  GP09 
  GP10 
  GP11 
  GP12 
  GP13 
  GP14 
  GP15 
ANI_DATA
  ANAT 111
  ANLD 1111
ATT_DATA
  OPT ABDD AHA BIND BIXA BLA BOHD DNCA 
      DNX DRE FACD IC1 XTG IDP XLF IBL 
      MCTD NCD CUI MWUD LOA PSD RECA 
      REA EHS SLD SIAD ATDA
  ATDN 1099
  NCOS 7 
  CWUP YES
  CWCL 0 0 
  CWTM 0 30 
  CWBZ YES YES
  EFLL 0 
  MATT NO
  RTIM 30 30 30 
  ATIM 0 
  AQTT 30 
  AODN 
  SPVC 00 
    SBLF NO
  RTSA RSAA
  SACP SNGL
  ABDN NO
  IRFR NO
  XRFR NO
  ADHT 0 
  AFNT 0 
  AFBT 0 
  IDBZ NO
  PBUZ 02  10 
  ICI 00 
  ICI 01 
  ICI 02 
  ICI 03 
  ICI 04 
  ICI 05 
  ICI 06 
  ICI 07 
  ICI 08 
  ICI 09 
  RICI 
AWU_DATA


PAGE 002 

  AWU NO
CCS_DATA
  CCRS TLD
  ECC1 TLD
  ECC2 TLD
  CNCS 0 
  PELK YES
CDR_DATA
  CDR YES
    IMPH NO
    OMPH NO
    AXID YES
    TRCR YES
    CDPR YES
    ECDR NO
    BDI  NO
    OTCR NO
    PORT 
    CNI  DGTS
    BCAP YES
  CHLN 10 
  FCAF NO
FCR_DATA
  NFCR YES
    MAXT 8 
    OCB1 255 
    OCB2 255 
    OCB3 255 
  IDCA YES
    DCMX 10 
FFC_DATA
  CCRS TLD
  SCPL 4 
  SBUP YES 
  FFCS NO
  ADLD 0 
  DFLT_SCPW NO  
  MFAC *
  MXSI NO 
FTR_DATA
**DAPC**PREFIX TABLE NO: 00 **
      UNKN**INTL**NATL**ESPN**LOCL**ELOC**ECDP**
UNKN*                                           
E164*       00    0                             
PRIV*                                           
E163*       00    0                             
TELX*                                           
X121*                                           
NATL*                                           

**DAPC**PREFIX TABLE NO: 01 **
      UNKN**INTL**NATL**ESPN**LOCL**ELOC**ECDP**
UNKN*                                           
E164*             00                            
PRIV*                                           
E163*                                           
TELX*                                           
X121*                                           
NATL*                                           

  OPT ABDD AHA BIND BIXA BLA BOHD CFO CFRA 
      COX CPA CTD DBD DNCA DNX DSX DRE 
      DSTD FACD HTU HVD IBL IC1 IDP XLF 
      IHD XTG FKA LOA LRA MCI MCTD CUI 
      MWUD NCD PCMD PSD PVCA RECA REA RND 
      RTR RTD ROI SDDE SIAD SLD EHS 
      THPD TTAD VOBD CWRA HLPD HRLD 
      CXOD BWTD GPAD MKRL 
  DGRP 10 
  IRNG YES
  PKND 2 
  DNDL NO
  SPRE 1888
  PREO 0 
  BPSS NO
  SRCD 1234
  EEST NO
  EESD NO
  TTBL 0 
  MUS YES
    MUSR 99 
  HCC NO

LD16
Code:
REQ: prt

TYPE: rdb

CUST 0

ROUT 

ACOD 


TYPE RDB  
CUST 00 
ROUT 0 
DES  A0894330555K1001
TKTP DID 
TW_ROUTE  NO
NPID_TBL_NUM   0
SAT  NO  
IDEF NET 
RCLS EXT 
VTRK NO  
DTRK YES 
BRIP NO  
DGTP PRI2
ISDN YES 
    MODE PRA 
    IFC  EURO
    CNTY EAUS
    SBN  NO
    PNI  00000 
    NCNA NO  
    NCRD NO  
    ISAR NO  
    CPFXS YES 
    SDID NO  
    DAPC YES 
     TBL 1 
    INTC NO  
MBXR NO  
MBXOT NPA 
MBXT 0 
DSEL VOD 
PTYP DCO 
CNDP UKWN 
AUTO NO  
DNIS NO  
DCDR NO  
ICOG IAO 
RANX NO  
SRCH RRB 
TRMB YES 
STEP 
ACOD 11100
TCPP NO  
PII NO  
AUXP NO  
TARG 01 
CLEN 1 
BILN NO
OABS 
INST 2
IDC  YES 
DCNO 1 
NDNO 1 *
DEXT NO  
DNAM NO  
MFC  NO
ICIS YES
OGIS YES
PTUT 0 
TIMR ICF  512 
     OGF  512 
     EOD  4096 


PAGE 002 

     NRD  10112 
     DDL  70 
     ODT  4096 
     RGV  128 
     FLH  510 
     GTO  896 
     GTI  896 
     SFB  3 
     NBS  2048 
     NBL  4096 

     IENB  5 
     VSS  0 
     VGD  6 
DTD  NO  
SCDT NO  
2 DT NO  
DDO  NO  
DRNG YES 
NDRI 00 
CDR  NO  
NATL YES 
SSL  
CFWR NO  
IDOP NO  
VRAT NO  
MUS  YES 
MRT  99 
MR   NO
PANS YES 
EQAR NO  
FRL  0 0 
FRL  1 1 
FRL  2 2 
FRL  3 3 
FRL  4 4 
FRL  5 5 
FRL  6 6 
FRL  7 7 
OHQ  NO  
OHQT 00 
TTBL 0 
ATAN NO  
PLEV 2 
OPR  NO  
PRDL NO  
EOS  NO  
DNSZ 0 
RCAL NO  
MCTS NO  
ALRM NO  
BTT  30 
ACKW NO  
ART  0 
PECL NO  
DCTI 0 
TIDY 77900 0
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO



PAGE 003 

TYPE RDB  
CUST 00 
ROUT 20 
DES  SIP_TIE
TKTP TIE 
NPID_TBL_NUM   0
ESN  NO  
RPA  NO  
CNVT NO  
SAT  NO  
IDEF NET 
RCLS INT 
VTRK YES 
ZONE 00020 
PCID SIP 
CRID NO  
NODE 10
DTRK NO  
ISDN YES 
    MODE ISLD
    DCH  10 
    IFC  SL1 
    PNI  00001 
    NCNA YES 
    NCRD YES 
    TRO  YES 
    FALT NO  
    CTYP UKWN
    INAC YES 
    ISAR NO  
    DAPC YES 
     TBL 1 
MBXR NO  
MBXOT NPA 
MBXT 0 
PTYP ATT 
CNDP UKWN 
AUTO NO  
DNIS NO  
DCDR NO  
ICOG IAO 
SRCH LIN 
TRMB YES 
STEP 
ACOD 10020
TCPP NO  
PII NO  
AUXP NO  
TARG 
CLEN 1 
BILN NO
OABS 
INST 
IDC  NO  
DCNO 0 *
NDNO 0 
DEXT NO  
ANTK 
SIGO STD 
STYP SDAT 
MFC  NO
ICIS YES
OGIS YES


PAGE 004 

PTUT 0 
TIMR ICF  256 
     OGF  512 
     EOD  4096 
     DSI  4096 
     NRD  5888 
     DDL  70 
     ODT  4096 
     RGV  128 
     GTO  256 
     GTI  256 
     SFB  3 
     NBS  2048 
     NBL  4096 

     IENB  5 
     TFD  0 
     VSS  0 
     VGD  6 
     EESD  1024 
SST  5 0 
DTD  NO  
SCDT NO  
2 DT NO  
NEDC ETH 
FEDC ETH 
CPDC NO  
DLTN NO  
HOLD 02 02 10 
SEIZ 02 02 
SVFL 02 02 
DRNG NO  
CDR  NO  
NATL YES 
SSL  
CFWR NO  
IDOP NO  
VRAT NO  
MUS  YES 
MRT  99 
PANS YES 
MANO NO  
FRL  0 7 
FRL  1 7 
FRL  2 7 
FRL  3 7 
FRL  4 7 
FRL  5 7 
FRL  6 7 
FRL  7 7 
OHQ  NO  
OHQT 00 
CBQ  NO  
AUTH NO  
TTBL 0 
ATAN NO  
OHTD NO  
PLEV 2 
OPR  NO  
ALRM NO  
ART  0 
PECL NO  


PAGE 005 

DCTI 0 
TIDY 10020 20
ATRR NO  
TRRL NO  
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

TYPE RDB  
CUST 00 
ROUT 40 
DES  DID
TKTP DID 
TW_ROUTE  NO
NPID_TBL_NUM   0
SAT  NO  
IDEF NET 
RCLS EXT 
VTRK NO  
DTRK NO  
ISDN NO  
PTYP ACO 
CNDP UKWN 
AUTO NO  
DNIS NO  
ICOG IAO 
RANX NO  
SRCH LIN 
TRMB YES 
STEP 
ACOD 11040
TARG 
CLEN 1 
BILN NO
OABS 
INST 
IDC  NO  
DCNO 0 *
NDNO 0 
DEXT NO  
MFC  NO
TIMR ICF  512 
     OGF  512 
     EOD  13952 
     DSI  34944 
     NRD  10112 
     DDL  70 
     ODT  4096 
     RGV  640 
     FLH  510 
     GTO  896 
     GTI  896 
     SFB  3 

     IENB  5 
     VSS  0 
     VGD  6 
SST  5 0 
DTD  NO  
SCDT NO  
2 DT NO  
NEDC ORG 


PAGE 006 

FEDC ORG 
CPDC NO  
DLTN NO  
HOLD 02 02 40 
SEIZ 02 02 
SVFL 02 02 
DDO  NO  
DRNG NO  
CDR  NO  
NATL YES 
SSL  
CFWR NO  
IDOP NO  
VRAT NO  
MUS  NO  
MR   NO
PANS YES 
MANO YES 
EQAR NO  
FRL  0 7 
FRL  1 0 
FRL  2 7 
FRL  3 7 
FRL  4 7 
FRL  5 7 
FRL  6 7 
FRL  7 7 
OHQ  NO  
OHQT 00 
TTBL 0 
ATAN NO  
OHTD NO  
PLEV 2 
OPR  NO  
PRDL NO  
EOS  NO  
DNSZ 0 
RCAL NO  
MCTS NO  
ALRM NO  
BTT  30 
ACKW NO  
ART  0 
PECL NO  
DCTI 0 
TIDY 11040 40
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

TYPE RDB  
CUST 00 
ROUT 41 
DES  MIRAN1
TKTP RAN 
NPID_TBL_NUM   0
VTRK NO  
CNDP UKWN 
RTYP MLSS 
GRD IDLE 
REP  1 
POST DIS 


PAGE 007 

RANH 
STRT IMM 
WAIT RGB 
BDCT YES 
ASUP YES 
ACOD 11041
TARG 
CDR  NO  
NATL YES 
CFWR NO  
IDOP NO  
MUS  NO  
PANS YES 
TTBL 0 
OHTD NO  
ALRM NO  
TIDY 11041 41
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

TYPE RDB  
CUST 00 
ROUT 42 
DES  MIRAN2
TKTP RAN 
NPID_TBL_NUM   0
VTRK NO  
CNDP UKWN 
RTYP MLSS 
GRD IDLE 
REP  1 
POST DIS 
RANH 
STRT IMM 
WAIT RGB 
BDCT YES 
ASUP YES 
ACOD 11042
TARG 
CDR  NO  
NATL YES 
CFWR NO  
IDOP NO  
MUS  NO  
PANS YES 
TTBL 0 
OHTD NO  
ALRM NO  
TIDY 11042 42
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

TYPE RDB  
CUST 00 
ROUT 43 
DES  MIRAN3
TKTP RAN 
NPID_TBL_NUM   0
VTRK NO  
CNDP UKWN 


PAGE 008 

RTYP MLSS 
GRD IDLE 
REP  1 
POST DIS 
RANH 
STRT IMM 
WAIT RGB 
BDCT YES 
ASUP YES 
ACOD 11043
TARG 
CDR  NO  
NATL YES 
CFWR NO  
IDOP NO  
MUS  NO  
PANS YES 
TTBL 0 
OHTD NO  
ALRM NO  
TIDY 11043 43
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

TYPE RDB  
CUST 00 
ROUT 44 
DES  MIRAN4
TKTP RAN 
NPID_TBL_NUM   0
VTRK NO  
CNDP UKWN 
RTYP MLSS 
GRD IDLE 
REP  1 
POST DIS 
RANH 
STRT IMM 
WAIT MUS 
MRT  99 
BDCT YES 
ASUP YES 
ACOD 11044
TARG 01 
CDR  NO  
NATL YES 
CFWR NO  
IDOP NO  
MUS  NO  
PANS YES 
TTBL 0 
OHTD NO  
ALRM NO  
TIDY 11044 44
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

TYPE RDB  
CUST 00 


PAGE 009 

ROUT 99 
DES  MUDISC
TKTP MUS 
NPID_TBL_NUM   0
VTRK NO  
CNDP UKWN 
ICOG OGT 
SRCH RRB 
STEP 
BDCT YES 
ACOD 11099
TARG 
CLEN 1 
OABS 
TIMR ICF  512 
     OGF  512 
     EOD  13952 
     DSI  34944 
     NRD  10112 
     DDL  70 
     ODT  4096 
     RGV  640 
     GTO  896 
     GTI  896 
     SFB  3 

     IENB  5 
SST  5 0 
DTD  NO  
SCDT NO  
2 DT NO  
NEDC ETH 
FEDC ORG 
HOLD 02 02 40 
SEIZ 02 02 
RGFL 02 02 
CDR  NO  
NATL YES 
CFWR NO  
IDOP NO  
MUS  NO  
PANS YES 
TTBL 0 
OHTD NO  
ALRM NO  
TIDY 11099 99
SGRP 0 
ARDN NO  
CTBL 0 
AACR NO

LD86 DGT
Code:
FEAT dgt
DMI


DMI  1
DEL  0
ISPN NO
CTYP UKWN

DMI  2
DEL  0
ISPN NO
INST 0
CTYP CDP

DMI  4
DEL  0
ISPN NO
INST 028204
CTYP NCHG

DMI  6
DEL  0
ISPN NO
CTYP INTL

DMI  9
DEL  0
ISPN NO
CTYP SPN

DMI  10
DEL  0
ISPN NO
INST 94330
CTYP NCHG

DMI  20
DEL  4
ISPN NO
CTYP NCHG

LD86 RLB
Code:
FEAT rlb

RLI  


RLI  1 
ENTR 0 
LTER NO
ROUT 0 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
CNV  NO
EXP  NO
FRL  0 
DMI  1 
CTBL 0 
FCI  0 
FSNI 0 
SBOC NRR 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 0 
NALT 5 
MFRL 0 
OVLL 0 

RLI  2 
ENTR 0 
LTER NO
ROUT 20 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
SCNV NO
CNV  NO
EXP  NO
FRL  0 
DMI  2 
CTBL 0 
ISDM 0 
FCI  0 
FSNI 0 
DORG NO
SBOC RRA 
PROU 1 
COPT 1 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ENTR 1 
LTER NO
ROUT 0 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
CNV  NO
EXP  NO
FRL  0 
DMI  1 
CTBL 0 
FCI  0 
FSNI 0 
SBOC NRR 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 0 
NALT 5 
MFRL 0 
OVLL 0 

RLI  4 
ENTR 0 
LTER NO
ROUT 20 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
SCNV NO
CNV  NO
EXP  NO
FRL  0 
DMI  0 
CTBL 0 
ISDM 0 
FCI  0 
FSNI 0 
DORG NO
SBOC RRA 
PROU 1 
COPT 1 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ENTR 1 
LTER NO
ROUT 0 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
CNV  NO
EXP  NO
FRL  0 
DMI  4 
CTBL 0 
FCI  0 
FSNI 0 
SBOC NRR 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 0 
NALT 5 
MFRL 0 
OVLL 0 

RLI  10 
ENTR 0 
LTER NO
ROUT 10 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
CNV  NO
EXP  NO
FRL  0 
DMI  0 
CTBL 0 
FCI  0 
FSNI 0 
SBOC NRR 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ENTR 1 
LTER NO
ROUT 0 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
CNV  NO
EXP  NO
FRL  0 
DMI  10 
CTBL 0 
FCI  0 
FSNI 0 
SBOC NRR 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 0 
NALT 5 
MFRL 0 
OVLL 0 

RLI  20 
ENTR 0 
LTER NO
ROUT 20 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
SCNV NO
CNV  NO
EXP  NO
FRL  0 
DMI  6 
CTBL 0 
ISDM 0 
FCI  0 
FSNI 0 
DORG NO
SBOC RRA 
PROU 1 
COPT 1 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ENTR 1 
LTER NO
ROUT 0 
TOD  0 ON  1 ON  2 ON  3 ON  
     4 ON  5 ON  6 ON  7 ON  
VNS  NO
CNV  NO
EXP  NO
FRL  0 
DMI  20 
CTBL 0 
FCI  0 
FSNI 0 
SBOC NRR 
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 0 
NALT 5 
MFRL 0 
OVLL 0

Wow, this is a long post. Sorry all - Hope someone can help though!


Cheers,

Trent Steenholdt

Trent Steenholdt

Systems Engineer
The University of Notre Dame Australia

-Great scott!
 
As the e164 number coming from Lync is CLI, i dont think that can be manipulated by CS1K.

You could possibly get round this using pretranslation in LD 18.

So long as you dont have any extns or other DN;s on site starting with 6.

The translation table would convert the first 6 in the dial string (61894330269) to a 2. This would then match your interanl DN's.

This should work but will probably need some trial error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top