code: def ccEstablishmentConfirmed(RepeatIndicator_presence=0,
                               BearerCapability_presence=0,
                               BearerCapability_presence1=0,
                               Cause_presence=0):
      
      a = TpPd(pd=0x3)
      b = MessageType(mesType=0x6)  # 00000110
      packet = a / b
      if RepeatIndicator_presence is 1:
          c = RepeatIndicatorHdr(ieiRI=0xD, eightBitRI=0x0)
          packet = packet / c
      if BearerCapability_presence is 1:
          d = BearerCapabilityHdr(ieiBC=0x04, eightBitBC=0x0)
          packet = packet / d
      if BearerCapability_presence1 is 1:
          e = BearerCapabilityHdr(ieiBC=0x04, eightBitBC=0x0)
          packet = packet / e
      if Cause_presence is 1:
          f = CauseHdr(ieiC=0x08, eightBitC=0x0)
          packet = packet / f
      return packet
docs: CC-ESTABLISHMENT CONFIRMED Section 9.3.17b