cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
0
Helpful
2
Replies

CDR and destSpan

ddimick
Level 1
Level 1

The schema says that origSpan/destSpan will be an integer number that indicates the port on the gateway where the call originated/terminated.

How do I take this integer number (i.e. "3") and know which slot/subunit/port on the gateway it refers to?

2 Replies 2

ddimick
Level 1
Level 1

I got this answer from the CDR developers via TAC:

This is how to interpret the OrigSpan or DestSpan value (MGCP gateway only):

CCM supports two gateway port formats.

Consider this integer value as a 16-bit field.

If bit 15=0, use this format: 0sssssss pppppppp.

If bit 15=1, use this format: 1uuussss pppppppp.

sssssss or ssss denotes slot number.

uuu denotes subunit number.

pppppppp denotes port number.

There is no channel number information.

Please note that the format seems to be different than documented in my previous post. For example, on a 3745 gateway with a HDV in slot 3 and a PRI in subunit 1, the decimal in CDR is 23. That is 00000000 00010111 binary. The only thing that makes sense is:

00000000 00010111

pppppppp uuuusss1

\______/ \__/\_/

0 1 3