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!

CIL Output MX ONE

Status
Not open for further replies.

miranpiscanc1

Technical User
Nov 30, 2013
50
IT
Hi, who gives me a hand to configure the string coming out of the MX-One Version 5.0 sp4 so I see both outgoing calls, which incoming calls, missed calls.
Thank you


Now I have added the following:

callinfo_output_set -output 2 -lim 1 -type tcp -subtype asb501 -server 172.16.102.2 -port 5001 -format "[duration> = 1] [accesscode1 == 0]" -eol NL-record call -localtime

Miran Piscanc

 
callinfo_condcode_set -seg 0 -pos 01 -string "0PA";
callinfo_condcode_set -seg 0 -pos 07 -string "0IC"
callinfo_condcode_set -seg 0 -pos 08 -string "0IT"
callinfo_condcode_set -seg 0 -pos 09 -string "0CF"
callinfo_condcode_set -seg 0 -pos 10 -string "0OG"
callinfo_condcode_set -seg 0 -pos 13 -string "0IN"
callinfo_condcode_set -seg 0 -pos 14 -string "0DA"
callinfo_condcode_set -seg 0 -pos 15 -string "0TR"
callinfo_condcode_set -seg 0 -pos 17 -string "0FM"
callinfo_condcode_set -seg 0 -pos 19 -string "0LC"
callinfo_condcode_set -seg 0 -pos 20 -string "0DI"
callinfo_condcode_set -seg 0 -pos 21 -string "0MC"
callinfo_condcode_set -seg 0 -pos 23 -string "0AI"
callinfo_condcode_set -seg 0 -pos 24 -string "0AD"
callinfo_condcode_set -seg 0 -pos 25 -string "0AJ"
callinfo_condcode_set -seg 0 -pos 27 -string "0SM"
callinfo_condcode_set -seg 0 -pos 28 -string "0AO"
callinfo_condcode_set -seg 0 -pos 29 -string "0BC"
callinfo_condcode_set -seg 0 -pos 31 -string "0VC"
callinfo_condcode_set -seg 1 -pos 01 -string "1PA"
callinfo_condcode_set -seg 1 -pos 07 -string "1IC"
callinfo_condcode_set -seg 1 -pos 08 -string "1IT"
callinfo_condcode_set -seg 1 -pos 09 -string "1CF"
callinfo_condcode_set -seg 1 -pos 10 -string "1OG"
callinfo_condcode_set -seg 1 -pos 13 -string "1IN"
callinfo_condcode_set -seg 1 -pos 14 -string "1DA"
callinfo_condcode_set -seg 1 -pos 15 -string "1TR"
callinfo_condcode_set -seg 1 -pos 17 -string "1FM"
callinfo_condcode_set -seg 1 -pos 19 -string "1LC"
callinfo_condcode_set -seg 1 -pos 20 -string "1DI"
callinfo_condcode_set -seg 1 -pos 21 -string "1MC"
callinfo_condcode_set -seg 1 -pos 23 -string "1AI"
callinfo_condcode_set -seg 1 -pos 24 -string "1AD"
callinfo_condcode_set -seg 1 -pos 25 -string "1AJ"
callinfo_condcode_set -seg 1 -pos 27 -string "1SM"
callinfo_condcode_set -seg 1 -pos 28 -string "1AO"
callinfo_condcode_set -seg 2 -pos 01 -string "2PA"
callinfo_condcode_set -seg 2 -pos 07 -string "2IC"
callinfo_condcode_set -seg 2 -pos 08 -string "2IT"
callinfo_condcode_set -seg 2 -pos 09 -string "2CF"
callinfo_condcode_set -seg 2 -pos 10 -string "2OG"
callinfo_condcode_set -seg 2 -pos 13 -string "2IN"
callinfo_condcode_set -seg 2 -pos 14 -string "2DA"
callinfo_condcode_set -seg 2 -pos 15 -string "2TR"
callinfo_condcode_set -seg 2 -pos 17 -string "2FM"
callinfo_condcode_set -seg 2 -pos 19 -string "2LC"
callinfo_condcode_set -seg 2 -pos 20 -string "2DI"
callinfo_condcode_set -seg 2 -pos 21 -string "2MC"
callinfo_condcode_set -seg 2 -pos 23 -string "2AI"
callinfo_condcode_set -seg 2 -pos 24 -string "2AD"
callinfo_condcode_set -seg 2 -pos 25 -string "2AJ"
callinfo_condcode_set -seg 2 -pos 27 -string "2SM"
callinfo_condcode_set -seg 2 -pos 28 -string "2AO"
callinfo_condcode_set -seg 3 -pos 01 -string "3PA"
callinfo_condcode_set -seg 3 -pos 07 -string "3IC"
callinfo_condcode_set -seg 3 -pos 08 -string "3IT"
callinfo_condcode_set -seg 3 -pos 09 -string "3CF"
callinfo_condcode_set -seg 3 -pos 10 -string "3OG"
callinfo_condcode_set -seg 3 -pos 13 -string "3IN"
callinfo_condcode_set -seg 3 -pos 14 -string "3DA"
callinfo_condcode_set -seg 3 -pos 15 -string "3TR"
callinfo_condcode_set -seg 3 -pos 17 -string "3FM"
callinfo_condcode_set -seg 3 -pos 19 -string "3LC"
callinfo_condcode_set -seg 3 -pos 20 -string "3DI"
callinfo_condcode_set -seg 3 -pos 21 -string "3MC"
callinfo_condcode_set -seg 3 -pos 23 -string "3AI"
callinfo_condcode_set -seg 3 -pos 24 -string "3AD"
callinfo_condcode_set -seg 3 -pos 25 -string "3AJ"
callinfo_condcode_set -seg 3 -pos 27 -string "3SM"
callinfo_condcode_set -seg 3 -pos 28 -string "3AO"
callinfo_condcode_set -seg 4 -pos 01 -string "4PA"
callinfo_condcode_set -seg 4 -pos 07 -string "4IC"
callinfo_condcode_set -seg 4 -pos 08 -string "4IT"
callinfo_condcode_set -seg 4 -pos 09 -string "4CF"
callinfo_condcode_set -seg 4 -pos 10 -string "4OG"
callinfo_condcode_set -seg 4 -pos 13 -string "4IN"
callinfo_condcode_set -seg 4 -pos 14 -string "4DA"
callinfo_condcode_set -seg 4 -pos 15 -string "4TR"
callinfo_condcode_set -seg 4 -pos 17 -string "4FM"
callinfo_condcode_set -seg 4 -pos 19 -string "4LC"
callinfo_condcode_set -seg 4 -pos 20 -string "4DI"
callinfo_condcode_set -seg 4 -pos 21 -string "4MC"
callinfo_condcode_set -seg 4 -pos 23 -string "4AI"
callinfo_condcode_set -seg 4 -pos 24 -string "4AD"
callinfo_condcode_set -seg 4 -pos 25 -string "4AJ"
callinfo_condcode_set -seg 4 -pos 27 -string "4SM"
callinfo_condcode_set -seg 4 -pos 28 -string "4AO"
callinfo_condcode_set -seg 5 -pos 01 -string "5PA"
callinfo_condcode_set -seg 5 -pos 07 -string "5IC"
callinfo_condcode_set -seg 5 -pos 08 -string "5IT"
callinfo_condcode_set -seg 5 -pos 09 -string "5CF"
callinfo_condcode_set -seg 5 -pos 10 -string "5OG"
callinfo_condcode_set -seg 5 -pos 13 -string "5IN"
callinfo_condcode_set -seg 5 -pos 14 -string "5DA"
callinfo_condcode_set -seg 5 -pos 15 -string "5TR"
callinfo_condcode_set -seg 5 -pos 17 -string "5FM"
callinfo_condcode_set -seg 5 -pos 19 -string "5LC"
callinfo_condcode_set -seg 5 -pos 20 -string "5DI"
callinfo_condcode_set -seg 5 -pos 21 -string "5MC"
callinfo_condcode_set -seg 5 -pos 23 -string "5AI"
callinfo_condcode_set -seg 5 -pos 24 -string "5AD"
callinfo_condcode_set -seg 5 -pos 25 -string "5AJ"
callinfo_condcode_set -seg 5 -pos 27 -string "5SM"
callinfo_condcode_set -seg 5 -pos 28 -string "5AO"
callinfo_condcode_set -seg 6 -pos 01 -string "6PA"
callinfo_condcode_set -seg 6 -pos 07 -string "6IC"
callinfo_condcode_set -seg 6 -pos 08 -string "6IT"
callinfo_condcode_set -seg 6 -pos 09 -string "6CF"
callinfo_condcode_set -seg 6 -pos 10 -string "6OG"
callinfo_condcode_set -seg 6 -pos 13 -string "6IN"
callinfo_condcode_set -seg 6 -pos 14 -string "6DA"
callinfo_condcode_set -seg 6 -pos 15 -string "6TR"
callinfo_condcode_set -seg 6 -pos 17 -string "6FM"
callinfo_condcode_set -seg 6 -pos 19 -string "6LC"
callinfo_condcode_set -seg 6 -pos 20 -string "6DI"
callinfo_condcode_set -seg 6 -pos 21 -string "6MC"
callinfo_condcode_set -seg 6 -pos 23 -string "6AI"
callinfo_condcode_set -seg 6 -pos 24 -string "6AD"
callinfo_condcode_set -seg 6 -pos 25 -string "6AJ"
callinfo_condcode_set -seg 6 -pos 27 -string "6SM"
callinfo_condcode_set -seg 6 -pos 28 -string "6AO"
callinfo_condcode_set -seg 7 -pos 01 -string "7PA"
callinfo_condcode_set -seg 7 -pos 07 -string "7IC"
callinfo_condcode_set -seg 7 -pos 08 -string "7IT"
callinfo_condcode_set -seg 7 -pos 09 -string "7CF"
callinfo_condcode_set -seg 7 -pos 10 -string "7OG"
callinfo_condcode_set -seg 7 -pos 13 -string "7IN"
callinfo_condcode_set -seg 7 -pos 14 -string "7DA"
callinfo_condcode_set -seg 7 -pos 15 -string "7TR"
callinfo_condcode_set -seg 7 -pos 17 -string "7FM"
callinfo_condcode_set -seg 7 -pos 19 -string "7LC"
callinfo_condcode_set -seg 7 -pos 20 -string "7DI"
callinfo_condcode_set -seg 7 -pos 21 -string "7MC"
callinfo_condcode_set -seg 7 -pos 23 -string "7AI"
callinfo_condcode_set -seg 7 -pos 24 -string "7AD"
callinfo_condcode_set -seg 7 -pos 25 -string "7AJ"
callinfo_condcode_set -seg 7 -pos 27 -string "7SM"
callinfo_condcode_set -seg 7 -pos 28 -string "7AO"


copy SetCondCode.sh file to /bin on the MXOne 3.1 or MXOne 4.1 and set it's permission to Executable attribute by chmod a+x /bin/SetCondcode.sh command. And execute that as sh setcondcode.sh

callinfo_status_set -lim all -output 0 -state off

callinfo_output_set -type file -lim all -output 0 -localtime -subtype general -dbname /var/opt/eri_sn/call_logging/CIL -format " {stopTime md110date R 4 4} {stopTime hour R 2 2}{stopTime minute R 2 2}{stopTime second R 2 2} {startTime hour R 2 2}{startTime minute R 2 2}{startTime second R 2 2} {duration md110duration L 5 5} {conditionCodeUserDefined L 3 3} {accessCode1 R 5 5} {dialedNumber R 20 20} {callingNumber L 20 20} {connectedNumber R 9 9} {ogtrnkid R 9 9} {inctrnkid R 9 9} {cilcode L 6 6} {StopTime Year R 4 4}{newline}"

callinfo_status_set -lim all -forward 1 -state on

callinfo_status_set -lim all -output 0 -state on

==========================================================
callinfo_status_set -lim all -output 1 -state off

callinfo_output_set -lim all -output 1 -type tcp -subtype general -server 192.168.2.242 -port 2500 -local -localtime -eol CRNL -format " {stopTime md110date R 4 4} {stopTime hour R 2 2}{stopTime minute R 2 2}{stopTime second R 2 2} {startTime hour R 2 2}{startTime minute R 2 2}{startTime second R 2 2} {duration md110duration L 5 5} {conditionCodeUserDefined L 3 3} {accessCode1 R 5 5} {dialedNumber R 20 20} {callingNumber L 20 20} {connectedNumber R 9 9} {ogtrnkid R 9 9} {inctrnkid R 9 9} {cilcode L 6 6} {StopTime Year R 4 4}{newline}"

callinfo_status_set -lim all -forward 1 -state on

callinfo_status_set -lim all -output 1 -state on

// For test enter command : callinfo_tcp_print -server 192.168.2.101 -port 2500
==========================================================
callinfo_status_set -lim all -output 1 -state off

callinfo_output_set -lim all -output 1 -type v24 -localtime -subtype general -dbname /dev/ttyS0 -bitrate 38400 -parity no -flowcontrol hw -databits 8 -local -eol CRNL -format " {stopTime md110date R 4 4} {stopTime hour R 2 2}{stopTime minute R 2 2}{stopTime second R 2 2} {startTime hour R 2 2}{startTime minute R 2 2}{startTime second R 2 2} {duration md110duration L 5 5} {conditionCodeUserDefined L 3 3} {accessCode1 R 5 5} {dialedNumber R 20 20} {callingNumber L 20 20} {connectedNumber R 9 9} {ogtrnkid R 9 9} {inctrnkid R 9 9} {cilcode L 6 6} {StopTime Year R 4 4}{newline}"

callinfo_status_set -lim all -forward 1 -state on

callinfo_status_set -lim all -output 1 -state on

data_backup
 
Forgive my ignorance, I do not know very well MX-one. I have always worked on BP250.
Currently on output 2 is already coming to the right string.
callinfo_output_set -output 2 -lim 1 -type tcp -subtype asb501 -server 172.16.102.2 -port 5001 -format "[duration> = 1] [accesscode1 == 0]" -eol NL-record call -localtime

Output4 instead I want to have some more information, the sending of a PC in a network with terminal that is listening on port 5001.
callinfo_output_set -output 4 -lim 1 -type tcp -subtype asb501 -server 192.168.1.103 -port 5001 -format "[duration> = 1] [accesscode1 == 0]" -eol NL-record call -localtime

Also I have MX-one Version 5.0 SP4.

I want to leave the output2 unchanged.

I have to give that command?
You've written so many, that I get lost ..
Thank you

Miran

Miran Piscanc

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top