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

Updates to NativeName fields using OSSI

Status
Not open for further replies.

Devine85213

Programmer
Jul 8, 2022
4
US
Hello all,

I got some great information from a 2014 thread on how to do this but I am not having any luck. I am trying to update NativeName5 on a station and no matter what I try I cant get it to take. I have been writing code to modify many aspects of the PBX using OSSI however this one has stumped me. Does anyone have any suggestions? When I dump a a list of stations that have NativeName1 defined, the (*7005ff00 Native Name Scripts:) fields are all set to "00000001" but when I try to set it to "00000001" and also set the NativeName5 field I get the error highlighted below.

Thanks for reading this!


cch sta 7332181
f7004ff00
f7005ff00
d446f652c4a6f686e
d00000001
t
cch sta 7332181
[highlight #FCE94F]e2 7005ff00 bb90 Native name should be specified for Script Tag[/highlight]
t
 
Code:
*7000ff00 Native Name1:         36 (18 hex characters allowed)
        Enter Native Name (only hex characters allowed), or blank
*7005ff00 Native Name Scripts:  8 (4 hex characters allowed)
        Enter the script tag associated with the Native Name, or blank

/* NOTE blanks between field addresses and data fields must be "tabs" */

ccha station 1021
f7000ff00       7005ff00
d446f652c4a6f686e       6e6e3130
t

cdisplay station 1021
f7000ff00
t

cdisplay station 1021
f7000ff00
d446F652C4A6F686E
t

clist sta 1021
f7000ff00        7005ff00
d446F652C4A6F686E      6E6E3130
t
Code:
clist station
f8005ff00       7000ff00
t

/* output station field then native name */
d2261
n
d2262   4573746562616E
n

/* 45 73 74 65 62 61 6E */
/* E  s  t  e  b  a  n  */

A great teacher does not provide answers, but methods to teach others "How and where to find the answers"

bsh

49 years Bell, AT&T, Lucent, Avaya
Tier 3 for 39 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Thanks for taking the time to respond Esteban. I tried that on one of our CMs and here was the result. Is there a feature on the station that needs to be enabled for this to work? I'm not sure what I am doing wrong.


/* Trying to modify NativeName5 */

ccha station 1925300
f7004ff00 7005ff00
d446f652c4a6f686e 00000000
t
ccha station 1925300
t

cdisp sta 1925300
f7004ff00
t
cdisp sta 1925300
f7004ff00
d
t
 
/* NOTE blanks between field addresses and data fields must be "tabs" not spaces */

Code:
clist sta type 2500
f8005ff00	7000ff00
t
ccha station 1001
f7000ff00	7005ff00
d446f652c4a6f686e	6e6e3130
t

cdisplay station 1001
f7000ff00	7005ff00
t

cdisp sta 1001
f7004ff00	7005ff00
t

System: Large                        Software Version: R016x.02.0.823.0

Terminal Type (513, 715, 4410, 4425, VT220, NTT, W2KTT, SUNT): [513] ossi
                                                                         t
cdisp sta 1001
f7004ff00       7005ff00
d6E6E3130
t
clist sta type 2500
f8005ff00       7000ff00
d1001    446F652C4A6F686E
t

status station 1001                                             Page   3 of   4
                         UNICODE DISPLAY INFORMATION

          Native Name Scripts: 0x6e6e3130:Viet;Korn;ChiS;Jpan;Kana;Geor;Mymr ...
      Display Message Scripts: 0x00000001:Latn
    Display Message 2 Scripts: 0x00000001:Latn
    Display Message 3 Scripts: 0x00000001:Latn
    Display Message 4 Scripts: 0x00000001:Latn
    Station Supported Scripts: N/A

A great teacher does not provide answers, but methods to teach others "How and where to find the answers"

bsh

49 years Bell, AT&T, Lucent, Avaya
Tier 3 for 39 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top