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

Call logging software/NEAX 2000 IPS Integration 1

Status
Not open for further replies.

simonellen2000

Programmer
Oct 11, 2006
112
GB
I programmed a call logger that is happily capturing the SMDR output on com port 1. I am now trying to set it up so that it can send commands to the NEC NEAX 2000IPS so that I can enable/disable accounts codes without having to connect through MATWORX. I have captured the data being sent from Matworx to the NEC put do not know enough to interpret the data. Does anyone know what data string has to be sent to the NEC in order for is to accpect commands such as 03 and 2A00? Thanks, Simon
 
Basic ASCII with a terminal emulator will do it.
There is a list of the key strokes on under cheat sheets and basic stuff.
Are you trying to make changes on the same port as the SMDR?
 
Thank you for this. I have programmed the call logger in C++ and what I am after is what the exact string is to connect via the serial port (I.e. emulating Matworx) so that it does the handshake etc and is ready to receive the command. Then disconnecting again etc. The SMDR is coming in on Serial Port 1. the call logger will send the data on Serial port 2 (0 and 1 respectively on the CPU card.
 
Ok just to get you started the first thing you will need to do is enter a password. note that the space is significant when programming using ascii characters. the string would be "/03 (Password level eg 0-7) (password)."

The / will give you the command prompt and the spaces are data entry. You can get all the ascii command characters by checking out the FAQ section where I posted a what does what thread some time ago. Then by following the manual you should be able to get the rest yourself.
 
Thanks for this Ozzi. I do understand the commands that need to be sent to the system for this i.e.

/03 7 password.
/2A00 pincode 0000 (orCCC).

to enable or disable the pin codes. I sent this to the NEC but I am not getting a handshake or acknowledgment back from the PBX and somehow it does not actually disable the pin code. When I monitor what Matworx sends and gets back it locks like there is more to this that needs to be sent.

Below is the actual data captured going over the comm port. Of note is that once the password has been accepted by the PBX, it then goes through and checks all the licences etc on the system.

The exact sequence of the below output is:

Connecting to PBX
Opening MOC
New command line
03 7 507508 (Login)
2A00 55655 ccc (Disabling of pin code
Backing up into PBX ROM
Disconnecting through Matworx

<US>
<FF>À<SOH><ACK>COMMAND=±
<DC1>E9<DC2>9 f
<VT>€<EOT><NUL>E9>9:0-Ó
<DC1>03<DC2>7<DC2>507508.<EOT>
<ACK>À<ACK><NUL>OKÄ
<DC1>F53<DC2>0166 b
<CAN>€<EOT><NUL>00100000:07 B0 00 80ú
<DC1>F85<DC2>FF03 k
<SI>€<EOT><NUL>F85>FF03:M1»
<DC1>F53<DC2>0495 k
<CAN>€<EOT><NUL>0010370D:00 FF FF FF÷
<DC1>F89<DC2>01 e
<FS>€<EOT><NUL>01:Series 2000 Generic:A°
<DC1>F89<DC2>02 f
<FS>€<EOT><NUL>02:Option Disk ver1.0 :A£
<DC1>F89<DC2>03 g
<FS>€<EOT><NUL>03:Option Disk ver1.0 :A¢
<DC1>F89<DC2>04 `
<FS>€<EOT><NUL>04:Option Disk ver1.0 :A¥
<DC1>F89<DC2>05 a
<FF>À<EOT><SOH>05:NONE-Ñ
<DC1>F89<DC2>06 b
<FF>À<EOT><SOH>06:NONE-Ò
<DC1>F89<DC2>07 c
<FF>À<EOT><SOH>07:NONE-Ó
<DC1>F89<DC2>08 l
<FF>À<EOT><SOH>08:NONE-Ü
<DC1>F89<DC2>09 m
<FF>À<EOT><SOH>09:NONE-Ý
<DC1>F89<DC2>10 e
<FF>À<EOT><SOH>10:NONE-Õ
<DC1>F89<DC2>11 d
<FF>À<EOT><SOH>11:NONE-Ô
<DC1>F89<DC2>12 g
<FF>À<EOT><SOH>12:NONE-×
<DC1>F89<DC2>13 f
<FF>À<EOT><SOH>13:NONE-Ö
<DC1>F89<DC2>14 a
<FF>À<EOT><SOH>14:NONE-Ñ
<DC1>F89<DC2>15 `
<FF>À<EOT><SOH>15:NONE-Ð
<DC1>F89<DC2>16 c
<FF>À<EOT><SOH>16:NONE-Ó
<DC1>F89<DC2>17 b
<FF>À<EOT><SOH>17:NONE-Ò
<DC1>F89<DC2>18 m
<FF>À<EOT><SOH>18:NONE-Ý
<DC1>F89<DC2>19 l
<FF>À<EOT><SOH>19:NONE-Ü
<DC1>F89<DC2>20 f
<FF>À<EOT><SOH>20:NONE-Ö
<DC1>F89<DC2>21 g
<FF>À<EOT><SOH>21:NONE-×
<DC1>F89<DC2>22 d
<FF>À<EOT><SOH>22:NONE-Ô
<DC1>F89<DC2>23 e
<FF>À<EOT><SOH>23:NONE-Õ
<DC1>F89<DC2>24 b
<FF>À<EOT><SOH>24:NONE-Ò
<DC1>F89<DC2>25 c
<FF>À<EOT><SOH>25:NONE-Ó
<DC1>F89<DC2>26 `
<FF>À<EOT><SOH>26:NONE-Ð
<DC1>F89<DC2>27 a
<FF>À<EOT><SOH>27:NONE-Ñ
<DC1>F89<DC2>28 n
<FF>À<EOT><SOH>28:NONE-Þ
<DC1>F89<DC2>29 o
<FF>À<EOT><SOH>29:NONE-ß
<DC1>F89<DC2>30 g
<FF>À<EOT><SOH>30:NONE-×
<DC1>F89<DC2>31 f
<FF>À<EOT><SOH>31:NONE-Ö
<DC1>F89<DC2>32 e
<FF>À<EOT><SOH>32:NONE-Õ
<DC1>F53<DC2>0495 k
<CAN>€<EOT><NUL>0010370D:00 FF FF FF÷
<DC1>F85<DC2>FF02 j
<DC1>€<EOT><NUL>F85>FF02:3551Ú
<DC1>F85<DC2>FF03 k
<SI>€<EOT><NUL>F85>FF03:M1»
<DC1>F85<DC2>FF04 l
<DC1>€<EOT><NUL>F85>FF04:0001ß
<DC1>F85<DC2>FF05 m
<SI>€<EOT><NUL>F85>FF05:04Å
<US>
<FF>À<SOH><ACK>COMMAND=±
03 #
<BEL>€<ETX><NUL>03>¹
7 <ETB>
<LF>€<EOT><NUL>03>7:-“
507508.!
<ACK>À<ACK><NUL>OKÄ
<US>
<FF>À<SOH><ACK>COMMAND=±
2A00 S
<HT>€<ETX><NUL>2A00>Ç
55655 <SYN>
<DC4>€<EOT><NUL>2A00>55655:0000-ü
CCC.m
<ACK>À<ACK><NUL>OKÄ
<DC1>F53<DC2>0166 b
<CAN>€<EOT><NUL>00100000:07 B0 00 80ú
<DC1>EC6<DC2>0<DC2>0.<SI>
<ACK>À<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NUL>EC6>0:1-?
<DC1>EC6<DC2>0 #
<FF>€<EOT><NUL>EC6>0:3-’
<DC1>EC6<DC2>1 "
<DC3>€<EOT><NUL>EC6>1:FFFFFFFF-¿
<DC1>03<DC2>9<DC2>CCCCCCCC.<ENQ>
<ACK>À<ACK><NUL>OKÄ
<US>
<FF>À<SOH><ACK>COMMAND=±
 
Why are you disconnecting through matworx? Matworx shouldn't be involved with this it is a direct ascii communication with the comms port and all you should be doing is sending the appropriate characters to the comport. Ignoring the garbage characters you recieve when you sedn the / you should recieve back COMMAND you then send 03 followed by a space and it will echo back the 03 and so on. You are simply complicating matters trying to involve matworx in this type of communication. Only today I wrote a Macro In VBA to scan trunks in use so that I could see what ISDN channels are in use and that was communicating directly out of Excel
 
Thank you Ozzie, have since managed to resolve this with your pointer. Turned out that there was a setting wrong on the serial port connection on my program that I use to send the data accross.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top