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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

KNMAT and OpenScape 4000

Status
Not open for further replies.

plokijuh

Systems Engineer
Aug 12, 2017
123
AZ
Hi guys.
I have an OpenScape 4000 v10 which is connected via SIP trunk to Yeastar.
Trunk works without problems.

OpenScape side - 4XXX
Yeastar side - 1XXX

I need to add the 210 prefix to 4XXX when calling any Yeastar subscriber.

The only records I have are:
[tt]ADD-KNDEF:1,OWN,,,,,EXT,,,,,EXT,,,,,,,;
CHANGE-KNDEF:1,,,,,,,,,,,,,,Y,,,0,,;[/tt]

I know that KNMAT and KNFOR are involved, but I have no clue how they work.

Thanks in advance.
 
hi could you not set up a new ODR and outpluse 210?
 
ODR will allow a change to the called number. He wants to change the calling not the called.

KNMAT works on node numbers, from this node number to that number, extend or reduce these digits.

Dialling to Yeastar will mean using RICHT/LDAT. Look in there and get the DNNO destination node number, it will be either single level or triple level.

You don't have a KNDEF node number so it will use the ZAND ALLDATA NNO as source, although for unknown numbering plan you can use OWN in the knmat line.

So say you are dialling to node 200 and you want to extend 210 in front of the calling party. I said 200 not 210 as the destination node so that it's clear which bit is which in the cha-knmat line. But yes, dialling to node 210 as the destination would make sense.
Enter cha-knmat:unknown,0,,own,200,,a,out,210;
It will tell you which node number (your own) it used in place of the 'own'.
The a means allow. The out means outgoing, you might want 'all' there.

If you are dialling with ISDN numbering you can't use own, so swap 0,,own, with 0,123,, if your own node number is 123.

If it doesn't work or does something you don't want, enter the cha-knmat line again but swap the 210 for *****. Five stars means delete that entry,
 
Thanks for the answer Moriendi.

So far only this single command did exactly what I need. But this command works for all outgoing calls.
CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNOL=ROW,CONN=A,MODCON=ALL,NUMEXT=91;

I tried these commands, but they didn't work as I expected:
CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=11,DNNO=21,CONN=A,MODCON=OUT&TRANSH&TRANSI,NUMEXT=91;

CHANGE-TDCSU:pEN=1-01-001-0,NNO=11;
CHANGE-RICHT:MODE=CD,CD=A50,SVC=ALL,TYPE=GEN,DNNO=21;

The COT I use:
ADD-COT:80,RCL&XFER&ANS&CHRT&KNOR&CEBC&FWDN&FNAN&BSHT&BLOC&DPRE&LWNC&ATRS&TR6T&TSCS&ICZL&DFNN&NTON,,;

About ZAND ALLDATA NNO, I could find it at all. There is no NNO in ALLDATA ZAND. I could be wrong (OpenScape v10 - OS4K_V10_R0.28.0).

Thanks in advance.

 
In ZAND ALLDATA it's called PNNO - physical NNO.

The TDCSU NNO doesn't matter, here you need the NNO from the RICHT/LDAT so if you are using closed numbered, make a dis-richt:cd; or dis-ldat:nwlcr; to see the dnno.

In your good example you have an ONNO of 1, but in the bad one it's 11. They can't both be right, but one of them is a typo?
But if you set ONNOL as OWN, own node, it will fill in the originating NNO itself anyway.

Your top example does it for all calls because you said ROW - rest of world - it will do it for everything. You need to tighten it up to a specific DNNO.

If you are unsure what your node numbers are, you can activate extra diags which appear in hista. Turn on the diags, make the call (wait 20 seconds maybe because this can be a bit laggy) then turn off the diags. Don't forget to turn it off or you will flood hista. I would make this test at quiet time. If you have remote access you can do it remote using TSKA.

cha-diags:,cp2,,,,,,?;

So ON to activate the diags, OFF to turn them off.

Don't forget that OFF part.


 
Thanks for the answer Moriendi.

Could you please confirm, if I got it correct.

So KNMAT takes a DNNO from RICHT/LDAT not vice versa.

Like I first do all of the trunk and destination stuff:
ADD-TDCSU...
ADD-RICHT:MODE=CD,LRTE=50,CD=A50,CPS=0,SVC=ALL,TGRP1=99,DESTNO=50,DNNO=50,PDNNO=50;
ADD-LDAT:LROUTE=50,LSVC=ALL,LVAL=1,TGRP=99,ODR=55,LAUTH=1,LATTR=WCHREG,COTIDX=80;

And only after that I create a KNMAT with DNNO which is taken from RICHT in this case.
So my KNMAT should look like this:
CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNO=50,CONN=A,MODCON=OUT&TRANSI&TRANSH,NUMEXT=91;

Thanks in advance.

 
That looks OK, as long as your originating node number is 1.

If it doesn't work, activate the diags switch and check what the node numbers really are. You will see it clear as day in hista.

Doesn't really matter when you configure KNMAT, it just has to have the correct NNOs in.
 
Thanks for the answer Moriendi.

But I don't know what I'm doing wrong, only this command works for me.
[pre]CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNOL=ROW,CONN=A,MODCON=OUT&TRANSH&TRANSI,NUMEXT=91;[/pre]

When I run this command
[pre]CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNO=50,CONN=A,MODCON=OUT&TRANSH&TRANSI,NUMEXT=91;[/pre]
Nothing works.

I run this command before:
[pre]CHANGE-KNDEF:NNO=1,DFLT=Y,VNRGRP=0;
H500: AMO KNDEF STARTED
H06: PARAMETERS DPLN AND ADPLN HAVE NO EFFECT
AS THE VIRTUAL DIALING PLAN FEATURE IS NOT ACTIVE.
H07: VNRGRP IS ONLY VALID FOR VNRCN = YES (SEE AMO ZANDE, TYPE=ALLDATA).
PARAMETER IS IGNORED.
H02: NNO 1 CHANGED[/pre]

[pre]DISPLAY-ZAND:TYPE=ALLDATA;
H500: AMO ZAND STARTED
GENERAL SYSTEM DATA:
====================
TRANSFER = EXTEND , ALERTN = YES ,
AUTHUP = TA ,
RNGBKTN = YES , TRANSINH = NO ,
NIGHT = TA ,
ITRFWD = NO , HOLDTN = MUSIC , ANATESIG = TONE ,
DSSLT = 70, CODTN = NO , CONFSUB = YES ,
DATEDIS = DDMM, CNTRYCD = 0 , RCLLT = NO ,
MELODY = 1, TRCD = , CPBLOWL = 80 ,
CPBUPPL = 100, CUTHRU1A = NO , PREDIA = NO ,
SIUANN = H, CO = NO , COEXN = 0 ,
CBKNO = 5 , SEVDIG = NO , PNNO = 100,
DISPMODE = MODE1, PNODECD = , ROUTOPTP = NO ,
ROUTOPTD = NO , CALLOFF = NO , PARARING = YES ,
DSSDEST = YES , ONEPARTY = YES , MSGDELAY = NO ,
EXCOCO = YES , TRDGTPR = NO , COANN = NO ,
HOTDIAL = NO , TRANSTOG = NO , NOCFW = NO ,
HOLDHUNT = NO , POSTDDLY = NO , EXBUSYOV = NO ,
OVRMST = YES , OVRHUNT = YES , CONITPRO = YES ,
RECHUNT = YES , CALLACMP = NO ;
AMO-ZAND -111 SYSTEM DATA
DISPLAY COMPLETED;[/pre]

[pre]DISPLAY-RICHT:MODE=CD;
H500: AMO RICHT STARTED
+------------------------------------------------------------------------------+
| ROUTES FOR ALL DPLN SVC = VCE |
| |
+-------+------------------+----+-+------------------------------+-----+----+--+
|CODE |NAME, CQMAX, |TGRP|P| DTMF | LRTE|CPAR| F|
| |DESTNO AND CPS |CCNO|L+---+---+----------------+-----+ | | W|
| | 1 111112| |B|CNV|DSP| TEXT |PULS | | | D|
| |12345 67890 123452| | | | | |PAUSE| | | B|
+-------+------------------+----+-+---+---+----------------------+-----+----+--+
|A50 |..... ..... ......| 99| | W | W | | | 50| | |
| |DNNO: 0 | | | | | | | | | |
| |PDNNO: 50 | | | | | | | | | |
| |DESTNO :50 | | | | | | | | | |
| |ROUTOPT :NO | | | | | | | | | |
| |REROUT :YES | | | | | | | | | |
+-------+------------------+----+-+---+---+----------------+-----+-----+----+--+
+------------------------------------------------------------------------------+
| ROUTES FOR ALL DPLN SVC = DTE |
| |
+-------+------------------+----+-+------------------------------+-----+----+--+
|CODE |NAME, CQMAX, |TGRP|P| DTMF | LRTE|CPAR| F|
| |DESTNO AND CPS |CCNO|L+---+---+----------------+-----+ | | W|
| | 1 111112| |B|CNV|DSP| TEXT |PULS | | | D|
| |12345 67890 123452| | | | | |PAUSE| | | B|
+-------+------------------+----+-+---+---+----------------------+-----+----+--+
|A50 |..... ..... ......| 99| | | | | | 50| | |
| |DNNO: 0 | | | | | | | | | |
| |PDNNO: 50 | | | | | | | | | |
| |DESTNO :50 | | | | | | | | | |
| |ROUTOPT :NO | | | | | | | | | |
| |REROUT :YES | | | | | | | | | |
+-------+------------------+----+-+---+---+----------------+-----+-----+----+--+
H23: SVC FAX IS NOT USED FOR RICHT BRANCH CD. VOICE IS USED
FOR G3 FAX AND DATA FOR G4 FAX.
AMO-RICHT-111 TRUNK ROUTING
DISPLAY COMPLETED;[/pre]

Thanks in advance.

 
Activate the diags
Make a test call
Make a sta-hista:search;
Turn off the diags

Although your richt dnno is 0 in that output and seems like you want it to be 50.
 
When
CHANGE-DIAGS:COMP=CP2,S05=ON;

I got this
[pre]F4066 M8 N0072 NO ACT BPA CP ADVISORY 24-03-01 11:33:56
ALARM CLASS:CENTRAL:023
CC:00566 EC:00506 UA:BAF0:C80F SP:4B84:1920 BP:193A LD:01-01-001-000
FORMAT:45 MESSAGE-ID: 00063
STACK-DATA-MESSAGE 01 OF 03
---0---2 ---4---6 ---8---A ---C---E ---0---2 ---4---6 ---8---A ---C---E
0A175308 4B84BD30 1938142C 00000000 00004001 40010000 64001944 E3D9BAF8
00070007 194E8817 C0480007 35D819B4 1B4ABB88 353BBFF8 00022BEC 005019B2
4B845454 BC800002 2BEC0100 0000BAA0 187C4B84 BB8819B2 BB88248E BD00BAD8
19914B84 000005AE 198E210B 58380102 E8033D07 050047B4 000022BC 00000C71
6578BAD8 000000AE 19CC05F8 000249CD 00002400 19CCBB88 CC0ABD80 3DF9FF00
00022BEC 1168BB88 1B4AA4D1 1B4A5A5A A4E30000 5A5A5A5A 5A5A5A5A 5A5A5A5A

F4066 M8 N0071 NO ACT BPA CP ADVISORY 24-03-01 11:33:44
ALARM CLASS:CENTRAL:023
FORMAT:49
TEST: OUT OUT DISC.CALLED_N.NUMBER
ORIGIN: - - 1 DESTIN: - - 0 BITS:0123456789012345678
4004 not def not def - - 1 --0------O---------
4004 unknown unknown -N-----------------

F4066 M8 N0070 NO ACT BPA CP ADVISORY 24-03-01 11:33:36
ALARM CLASS:CENTRAL:023
FORMAT:49
TEST: OUT OUT FACS BILL CHARGED
ORIGIN: - - 1 DESTIN: - - 0 BITS:0123456789012345678
4004 not def not def - - 1 --0------O---------
4004 unknown unknown -N-----------------

F4066 M8 N0069 NO ACT BPA CP ADVISORY 24-03-01 11:33:36
ALARM CLASS:CENTRAL:023
FORMAT:49
TEST: OUT OUT SETUP.CALLING_N.NUMBER
ORIGIN: - - 1 DESTIN: - - 0 BITS:0123456789012345678
4004 not def not def - - 1 --0------O---------
4004 unknown unknown -N-----------------

F4057 M8 N0068 NO ACT BPA CP DBAR 24-03-01 11:33:36
ALARM CLASS:CENTRAL:023
CC:00566 EC:00506 UA:BAF0:C80F SP:4B84:0A12 LD:00-00-000-000
DT:6C ST:6C SN: 0 CEVT:EF CSEV: 0 CST: 0
FORMAT:24 MESSAGE-ID: 00059

F4057 M8 N0067 NO ACT BPA CP DBAR 24-03-01 11:33:36
ALARM CLASS:CENTRAL:023
CC:00566 EC:00506 UA:BAF0:C80F SP:4B84:0A12 LD:00-00-000-000
DT:6C ST:6C SN: 0 CEVT:EF CSEV: 0 CST: 0
FORMAT:24 MESSAGE-ID: 00059

FF030101 38000400 00040F0F 04000002 00000000 10000000 00000000 00000000
00000000 00000000 00000005 00010000 010F0F04 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000100 00010F0F 04000004 00020200
00000000 00000000 00000000 00000000 00000000 00000000 00600000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0C000000 00000F0F 0F0F0F0F 000A0A0A 0A0A0A1D 5A1A115A 5A5A5A5A 5A5A5A5A
010120[/pre]

But I run this command. Is this what I need?
[pre]DISPLAY-WABE:TYPE=DNNO;
H500: AMO WABE STARTED
------------------------------------------
| STN FOR DNNO 0- 0-100 |
| OWN NODE |
------------------------------------------
| 4000 - 4099 |
------------------------------------------
------------------------------------------
| STN FOR DNNO 0- 0- 0 |
| PDNNO 0- 0- 50 |
------------------------------------------
| 1000 - 1099 |
------------------------------------------

AMO-WABE -111 DIALLING PLANS, FEATURE ACCESS CODES
DISPLAY COMPLETED;[/pre]

Thanks in advance.
 
Look at your destination node number

ORIGIN: - - 1 DESTIN: - - 0 BITS:0123456789012345678

There isn't one. The WABE command shows you the same thing but WABE doesn't set it. It's the richt. Forget the PDNNO you want the DNNO.
KNMAT can't work without the destination node number and like I said, ROW worked because that's rest of world, it means do everything. But you don't want that. You can also override the richt node number with a new one in the ldat element, but it's not usually necessary. I would not bother. Just set it in the richt.
 
Thanks for the answer Moriendi.

I don't really know what I was doing wrong before, but now everything seems to work as I expected.

These different names sometimes drive me crazy. The same option may be called differently in other commands. It is difficult to get used to it.

Anyway, what I did.

I run this command:
[pre]CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNOL=ROW,CONN=A,MODCON=ALL,NUMEXT=91;[/pre]
and it works no matter what.

Then I delete it:
[pre]CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNOL=ROW,CONN=A,MODCON=ALL,NUMEXT=*****;[/pre]

Set a DNNO in a RICHT
[pre]CHANGE-RICHT:MODE=CD,CD=A50,SVC=ALL,TYPE=GEN,DNNO=50;[/pre]
As I know LDAT-DNNO takes precedence over RICHT-DNNO.

and run this KNMAT
[pre]CHANGE-KNMAT:NPI=UNKNOWN,LEVEL=0,ONNO=1,DNNO=50,CONN=A,MODCON=OUT&TRANSH&TRANSI,NUMEXT=91;[/pre]

Now I get 91 in from of 4XXX.

I still didn't get an ISDN part, but I'll do some test to figure it out.

Thank you.
 
You won't need ISDN unless you are forcing into ISDN numbering, which you are not, because if you were, UNKNOWN would not work. So it's fine without.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top