def callConfirmed(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Cause_presence=0, CallControlCapabilities_presence=0):
 a = TpPd(pd=3)
 b = MessageType(mesType=8)
 packet = (a / b)
 if (RepeatIndicator_presence is 1):
  c = RepeatIndicatorHdr(ieiRI=13, eightBitRI=0)
  packet = (packet / c)
 if (BearerCapability_presence is 1):
  d = BearerCapabilityHdr(ieiBC=4, eightBitBC=0)
  packet = (packet / d)
 if (BearerCapability_presence1 is 1):
  e = BearerCapabilityHdr(ieiBC=4, eightBitBC=0)
  packet = (packet / e)
 if (Cause_presence is 1):
  f = CauseHdr(ieiC=8, eightBitC=0)
  packet = (packet / f)
 if (CallControlCapabilities_presence is 1):
  g = CallControlCapabilitiesHdr(ieiCCC=21, eightBitCCC=0)
  packet = (packet / g)
 return packet

def callConfirmed ( RepeatIndicator_presence = 0 , BearerCapability_presence = 0 , BearerCapability_presence1 = 0 , Cause_presence = 0 , CallControlCapabilities_presence = 0 ) : a = TpPd ( pd = 3 ) b = MessageType ( mesType = 8 ) packet = ( a / b ) if ( RepeatIndicator_presence is 1 ) : c = RepeatIndicatorHdr ( ieiRI = 13 , eightBitRI = 0 ) packet = ( packet / c ) if ( BearerCapability_presence is 1 ) : d = BearerCapabilityHdr ( ieiBC = 4 , eightBitBC = 0 ) packet = ( packet / d ) if ( BearerCapability_presence1 is 1 ) : e = BearerCapabilityHdr ( ieiBC = 4 , eightBitBC = 0 ) packet = ( packet / e ) if ( Cause_presence is 1 ) : f = CauseHdr ( ieiC = 8 , eightBitC = 0 ) packet = ( packet / f ) if ( CallControlCapabilities_presence is 1 ) : g = CallControlCapabilitiesHdr ( ieiCCC = 21 , eightBitCCC = 0 ) packet = ( packet / g ) return packet
call confirmed section 9 .