You are on page 1of 5

Commonly used Media enum values

Transfer Mode
MediaManager(214616)::wait_AuConnectRequest, CI(33846747,33846748), capCount(6,4), mcNodeId(0,0), xferMode(16,4), reConnectType(0),
mrid (0, 0) IFCreated(0 0) proIns(0 0), AC(0,0)
xferMode(16,4), means one side of the call leg is a SIP device and other side of the device is a skinny device.
const NATURAL CIRCUIT_MODE = 0;
const NATURAL CALL_INDEPENDENT_SIGNALING_CONNECTION_MODE = 0;
const NATURAL PACKET_MODE = 2;
const NATURAL H323_MODE = 3;

// Not in Q931, Selsius proprietary

const NATURAL AGENA_MODE = 4;

// Not in Q931, Selsius proprietary

const NATURAL TITAN_MODE = 5;

// Not in Q931, Selsius proprietary

const NATURAL VEGA_MODE = 6;

// Not in Q931, Selsius proprietary

const NATURAL H323_NETWORK_MODE = 7;

// Not in Q931, Selsius proprietary

const NATURAL UNICAST_BRIDGE_MODE = 8;

// Not in Q931, Selsius proprietary

const NATURAL MULTICAST_POINT_MODE = 9;

// Not in Q931, Selsius proprietary

const NATURAL MEDIA_TERM_POINT_MODE = 10;

// Not in Q931, Selsius proprietary

const NATURAL PASS_THRU_MODE = 11; // Not in Q931, proprietary


const NATURAL MGCP_MODE = 12; // Not in Q931, proprietary
const NATURAL H323_CM_TRUNK_MODE = 13; // Not in Q931, proprietary
const NATURAL DUMMY_MODE = 14; // Dummy mode
const NATURAL VIDEO_BRIDGE_MODE = 15;
const NATURAL SIP_MODE = 16;

// Not in Q931, Cisco proprietary

// Use for SIP protocols

const NATURAL MEDIA_TERM_POINT_RSVPAGENT_MODE = 17; // use for RSVPAgent


const NATURAL PARKINGLOTD_AGENA_MODE= 18; // mobilie EFA

MTP Insertion Reason


13:29:31.376 |DET-MediaManager-(8754)::isMTPNeededForMismatchOrConfig, MTPNeededDueToConfig mtpinsertionReason=2dtmfMTPSid
e=2|1,100,230,1.49430^192.168.16.1^*
mtpinsertionReason has following enum values.
DTMFMTP_None=0,
DTMFMTP_CapMismatch,
DTMFMTPReason_Config,
DTMFMTPReason_SavedConnection,
DTMFMTPReason_ProvideOOBSet,
DTMFMTPReason_RSVPWithXcoder

Few other fields


13:29:31.379 |DET-MediaManager-(8754)::DTMFMTPSide*(2*), mtpNeededForDtmf(1)* firstconnDTMF(*3) secondconnDTMF(2)

DTMFMTPSide*(2*)
This represents which side of the call leg we are mentioning. So, these values are either 1 or 2.

mtpNeededForDtmf(1)

DTMFMTP_None=0,
DTMFMTP_CapMismatch,
DTMFMTPReason_Config,
DTMFMTPReason_SavedConnection,
DTMFMTPReason_ProvideOOBSet,
DTMFMTPReason_RSVPWithXcoder

firstconnDTMF(3) or secondconnDTMF(2)

NoDTMF=0,
OOB,
RFC2833,
OOB_RFC2833,
UnknownDTMF

mmCallType, aPT, vPT


13:29:31.379 |DET-MediaManager-(8754)::CreateConnections, mmCallType=1,aPT=2,vPT=2,capEnd2End=0,
e2eRegion(64,384),RSVPpending=0|1,100,230,1.49430^192.168.16.1^*
MMCALL_TYPE_UNKNOWN = 0,
AUDIO_ONLY,
AUDIO_VIDEO,
AUDIO_VIDEO_DATA

//has audio, video/data unknown

aPT means Audio Passthru. It has value either 0, 1 or 2


AudioPassThru_Unknown = 0,
AudioPassThru_Enable = 1,
AudioPassThru_Disable = 2

vPT means Video Passthru, it has value either 1 or 2


VideoDataPassThru_Enable = 1,
VideoDataPassThru_Disable = 2

DTMFConfig and DTMFMethods

13:29:31.375 |SIG-MediaManager-(8754)::wait_AuConnectRequest, CI(26377355,26377358), capCount(5,1), mcNodeId(0,0), xferMode(16,16),


reConnectType(0), mrid (0, 0) IFCreated(0 0) proIns(0 0), AC(0,0)
party1DTMF(4 3 101 0 0)
party2DTMF(4 2 101 1 1),reConnFlag=0, connType(3,3),
IFHand(0,0),MTP(0,2),MRGL(3c4e946c-83fd-4560-a829-19449fdcb63a,3c4e946c-83fd-4560-a829-19449fdcb63a) videoCap(0 0),
mmCallType(0),FS(0,0) IpAddrMode(0 0) aPid(1, 74, 11818), bPid(1, 74, 11820) EOType(0 3) MOHAnnConnType(0
0)|1,100,230,1.49430^192.168.16.1^*
party1DTMF(4 3 101 0 0) (dtmfConfig, supportedDTMFMethod, rfc2833RecvPayloadNum, wantDTMFReception, provideOOB)

DMTFConfig

BestEffort=1,
PreferOOB,
Prefer2833,
PreferBoth

DTMFMethod

NoDTMF=0,
OOB,
RFC2833,
OOB_RFC2833,
UnknownDTMF

Type Field in Allocation Response from MRM


Another thing to be aware of is the "type" field in the MRM allocation response signal. For example:
030129478 |2015/06/01 13:15:34.766 |100 |SdlSig |MrmAllocateMtpResourceRes |waiting |MediaResourceManager(2,100,128,1)
|MediaResourceCdpc(2,100,129,154) |2,100,21,342.2^217.124.107.231^Port 36531 | CI=49847835 ConvId=33558621 Caps=8
Name=TRNPATERNA Pid=2,100,127,85 Type=1 Region=RG_Paterna Device Capability=0xT297T Count=1
MRGLPkid=2aa8753e-c6ac-da4d-2b3c-9a04891afdf1
Where Type is the value of the Enum Resourcetype
enum MtpResourceType
MTP=0,
Transcoder,
RSVPAgent,
ResourceNone
So this will tell you what type of media device was allocated. In the trace line above we allocated a transcoder.

Reconnect Cause Codes


18:10:30.156 |DET-MediaExchange-(930)::wait_ReconnectWithXcoderInd, cause code = 2
004543235 |2012/11/15 18:10:30.156 |100 |SdlSig |MediaExchangeReconnectWithXcoderInd
|MediaExchange(1,100,135,930) |MTPAgenaInterface(1,100,225,323)
|1,100,230,1.205136^172.22.246.33^*
|[R:N-H:0,N:1,L:0,V:0,Z:0,D:0] causeCode=2
ReconnectCauseCode
Cause_Unknown = 0,
Cause_ZeroCapCount,
Cause_MismatchCap,
Cause_DTMFMismatch,
Cause_DeallocateMTPForEO, // CSCtd42049 Early Offer feature

|interfacesEstablished

Cause_ModifiedCap,
Cause_AgentChange

// CIA2180:CSCtb36936
// CSCtg52998

Why MTP got Inserted though both sides have matching caps?
00:30:21.267 |SIG-MediaManager-(1463678)::wait_AuConnectRequest, CI(44923859,44923860), capCount(6,11), mcNodeId(0,0),
xferMode(16,12), reConnectType(0), mrid (0, 0) IFCreated(0 0) proIns(0 0), AC(0,0) party1DTMF(3 2 101 1 0) party2DTMF(1 3 0 1
0),reConnFlag=0, connType(3,3), IFHand(0,0),*MTP(2,0),*MRGL(63e214ae-566f-0c89-e222-fa429caaf9da,) videoCap(0 0),
mmCallType(0),FS(0,0) IpAddrMode(0 0) aPid(2, 74, 1092820), bPid(2, 140, 684) EOType(0 0) MOHAnnConnType(0
0)|2,100,160,1.7496146^198.5.85.214^*
MTP(2,0)
side 1 specifies 2 as MTP requirements, which means RequiresRFC2833MediaTerminationPoint
So, MTP got inserted just because it was configured to insert though both side may not have needed MTP based on their caps support and
interregion bw value.
NoRequirements,
RequiresMediaTerminationPoint,
RequiresRFC2833MediaTerminationPoint,
RequiresMediaTerminationPointAndUseTRP, // Both "MTP required" and "Use TRP" are checked
RequiresRFC2833MediaTerminationPointAndUseTRP, // Both "MTP required" with RFC2833 cap and "Use TRP" are checked
RequiresRFC2833AndUseTRP, // "Use TRP" is checked, and RFC2833 cap needed
UseTRP, // "Use TRP" is checked
Disable_AudioPassThru // Media will disable audio pass thru if either endpoint sets this flag.

Payload type and Codecs


// Media_Payload_NonStandard = 1,
Media_Payload_G711Alaw64k = 2,
Media_Payload_G711Alaw56k = 3,
// "restricted"
Media_Payload_G711Ulaw64k = 4,
Media_Payload_G711Ulaw56k = 5,
// "restricted"
Media_Payload_G722_64k = 6,
Media_Payload_G722_56k = 7,
Media_Payload_G722_48k = 8,
Media_Payload_G7231 = 9,
Media_Payload_G728 = 10,
Media_Payload_G729 = 11,
Media_Payload_G729AnnexA = 12,
// Media_Payload_Is11172AudioCap = 13,
// Media_Payload_Is13818AudioCap = 14,
Media_Payload_G729AnnexB = 15,
Media_Payload_G729AnnexAwAnnexB = 16,
/lji GSM codec support/
Media_Payload_GSM_Full_Rate = 18,
Media_Payload_GSM_Half_Rate = 19,
Media_Payload_GSM_Enhanced_Full_Rate = 20,
/lji GSM codec support/
Media_Payload_Wide_Band_256k = 25,
Media_Payload_Data64 = 32,
Media_Payload_Data56 = 33,
Media_Payload_GSM = 80,
// Media_Payload_ActiveVoice = 81,
Media_Payload_G726_32K = 82,
Media_Payload_G726_24K = 83,
Media_Payload_G726_16K = 84,
// Media_Payload_G729_B = 85,
// Media_Payload_G729_B_LOW_COMPLEXITY = 86
Media_Payload_H261 = 100,
Media_Payload_H263 = 101,
Media_Payload_Vieo = 102,
Media_Payload_H264 = 103, // Skate Video - H264
Media_Payload_T120 = 105,
Media_Payload_H224 = 106,
Media_Payload_T38Fax = 107,
Media_Payload_XV150_MR_711U = 111,
Media_Payload_NSE_VBD_711U = 112,
Media_Payload_XV150_MR_729A = 113,
Media_Payload_NSE_VBD_729A = 114,

Media_Payload_Max,
// Please leave this so we won't get compile errors.'
Media_Payload_RFC2833_DynPayload = 257, // This is an extended payload type to indicate RFC2833 support
Media_Payload_PassThrough = 258,
Media_Payload_Dynamic_Payload_PassThru = 259,
//Can be used for any dynamic Payload type but is mainly being used for 2833 in SD
GA release
Media_Payload_DTMF_OOB = 260,
Media_Payload_Inband_DTMF_RFC2833 = 261,

You might also like