01-19-2005 02:52 PM - edited 03-13-2019 07:42 AM
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?
01-24-2005 09:33 AM
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.
01-24-2005 09:55 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide